Difference between revisions of "Template:Charbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
* [http://www.diablowiki.net/Template:Monsterbox_boss&action=edit Edit Template:Monsterbox_boss]
+
{{Charbox
{{Monsterbox
 
|game= Diablo III
 
 
|portrait= Diablo_III_Logo.jpg
 
|portrait= Diablo_III_Logo.jpg
 
|portrait-width= 205px
 
|portrait-width= 205px
 
|name= Example
 
|name= Example
 
|chartype= main
 
|chartype= main
|classif= Animals
+
|title= The Buggerer
|family= Goatman
+
|gender= Male
|role= Cannonfodder
+
|race= Human
<!-- Monster Stats -->
+
|status= Alive
|life= 100/200/300
+
|occupation= Boss
|mana= 0/0/0
+
|affiliation= Holy Knights of Westmarch
|armor= 100/200/300
+
|friends= None Known
|resist= 2/4/6
+
|foes= None Known
<!-- Offence -->
+
|location= Unknown
|armament= Axe
+
<!--|categories= -->
|dps= 3/6/9
+
|catexclude= Yes
|dmg_low= 1/2/3
 
|dmg_high= 5/10/15
 
|range= Melee
 
|speed= 1.5 sec
 
|movement= Fast
 
<!-- Monster Modifiers-->
 
|modifier= None
 
<!-- Spells -->
 
|spells= Charge (Night/Hell)
 
<!-- Found In -->
 
|found= [[Tristram Cathedral]]
 
 
}}
 
}}
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
</noinclude><includeonly>
+
</noinclude><includeonly><!--
{|cellpadding="2" width="250px" align="right" style="border-collapse: collapse; border: none; background: #2D0606; clear:left; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 10px; line-height: 10px; font-size: 10px;"
+
--><table cellpadding="2" width="250px" align="right" style="border-collapse: collapse; float: right; border: none; background: #2D0606; clear:left; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 10px; line-height: 10px; font-size: 10px;"><!--
!colspan="2" style="text-align: center; line-height: 12px; font-size: 14px;"|'''[[Character|Diablo Character]]''' <span style="font-size:80%; font-weight:normal;"><nowiki>[</nowiki><span class="plainlinks">[http://www.diablowiki.net/Template:Charbox&action=edit e]</span><nowiki>]</nowiki></span>
+
-->  <tr><!--
|-
+
-->    <th colspan="2" style="text-align: center; line-height: 12px; font-size: 14px;"><!--
|colspan="2" style="text-align: center;"|[[image:{{{portrait|[[Image:Diablo_III_Logo.jpg]]}}}|{{{portrait-width|200px}}}]]
+
-->    '''[[Character|Diablo Character]]''' {{editlink|Template:Charbox|e|www|A|A}}<!--
|-
+
-->   </th><!--
!colspan="2" style="text-align: center; line-height: 14px; font-size: 16px;"| '''''{{{name|{{PAGENAME}}}}}'''''
+
--> </tr><!--
{{Charbox_{{{chartype|normal}}}|{{{title|Mr/Mrs}}}}}<br><!-- ########### ########### Make "main" or "normal" ########### ########### -->
+
--> <tr><!--
<span="font-size:90%;">{{{title|}}}</span>
+
-->    <td colspan="2" style="text-align: center;">[[File:{{{portrait|Diablo_III_Logo.jpg}}}|{{{portrait-width|200px}}}]]<!--
|-
+
-->    </td><!--
|width="45%"|Classification:
+
-->  </tr><!--
|width="55%"|[[{{{classif|Unclassed}}}]]
+
-->  <tr><!--
|-
+
-->    <th colspan="2" style="text-align: center; line-height: 14px; font-size: 16px;"><!--
|Monster Family:
+
-->      '''''{{{name|{{PAGENAME}}}}}'''''<!--
|[[{{{family|Monster}}}]]
+
-->      {{#if: {{{title|}}} | <span style="line-height:6px;"><br></span><span style="font-size:12px;font-weight:normal;font-style:italic;">{{{title|}}}</span> }}<!--
|-
+
-->      {{#if: {{{chartype|}}} | {{#switch: {{{chartype|}}}
|Role:
+
  |main = <br>[[Image:Bosshead.png]]<span style="font-size:18px;">&nbsp;[[Main character|Main Character]]&nbsp;</span>[[Image:Bosshead.png]]
|{{{role|Non-specific}}}
+
  |Main = <br>[[Image:Bosshead.png]]<span style="font-size:18px;">&nbsp;[[Main character|Main Character]]&nbsp;</span>[[Image:Bosshead.png]]
|-
+
}}<!-- (END switch)
!colspan="2"|<div style="float:left; text-align: left; padding: 0 0 0 0; color:white;">Monster Stats</div><div style="float:right; text-align: right; padding: 0 0 0 0; color:white;">Normal/Night/Hell</div>
+
-->}}<!-- (END chartype)
|-
+
-->    </th><!--
|Life:
+
-->  </tr><!--
|{{{life|N/A}}}
+
-->  <tr><!--
|-
+
-->    <td width="35%">Gender:</td><!--
|Mana:
+
-->    <td width="65%">{{{gender|Unspecified}}}</td><!--
|{{{mana|N/A}}}
+
-->  </tr><!--
|-
+
--> {{#if: {{{race|}}} |<!--
|Armor:
+
-->  <tr><!--
|{{{armor|N/A}}}
+
-->    <td >Race:</td><!--
|-
+
-->    <td >[[{{{race|}}}]]</td><!--
|Resistance:
+
--> </tr> }} <!--
|{{{resist|None}}}
+
--> <tr><!--
|-
+
-->    <td >Status:</td><!--
!colspan="2"|<div style="float:left; text-align: left; padding: 0 0 0 0; color:white;">Offence</div><div style="float:right; text-align: right; padding: 0 0 0 0; color:white;">Normal/Night/Hell</div>
+
-->    <td >{{{status|Unknown}}}</td><!--
|-
+
-->  </tr><!--
|Armament:
+
--> {{#if: {{{occupation|}}} |<!--
|{{{armament|N/A}}}
+
-->  <tr><!--
|-
+
-->    <td >Occupation:</td><!--
|DPS:
+
-->    <td >{{{occupation|Unknown}}}</td><!--
|{{{dps|N/A}}}
+
-->  </tr> }}<!--
|-
+
--> {{#if: {{{affiliation|}}} |<!--
|Low Damage:
+
-->  <tr><!--
|{{{dmg_low|N/A}}}
+
-->    <td >Affilliation:</td><!--
|-
+
-->   <td >{{{affiliation|Unknown}}}</td><!--
|High Damage:
+
--> </tr> }}<!--
|{{{dmg_high|N/A}}}
+
--> {{#if: {{{friends|}}} |<!--
|-
+
-->  <tr><!--
|Range:
+
-->    <td >Friends:</td><!--
|{{{range|N/A}}}
+
-->    <td >{{{friends|None known}}}</td><!--
|-
+
-->  </tr> }}<!--
|Speed:
+
--> {{#if: {{{foes|}}} |<!--
|{{{speed|N/A}}}
+
-->  <tr><!--
|-
+
-->    <td >Foes:</td><!--
|Movement:
+
-->    <td >{{{foes|None known}}} }}</td><!--
|{{{movement|N/A}}}
+
-->  </tr><!--
|-
+
--> {{#if: {{{location|}}} |<!--
!colspan="2"|<center>Monster Modifiers</center>
+
-->  <tr><!--
|-
+
-->    <td >Location:</td><!--
|colspan="2"|<center>{{{modifier|None}}}</center>
+
-->    <td >{{{location|Unknown}}}</td><!--
|-
+
-->  </tr> }}<!--
!colspan="2"|<center>Spells/Abilities</center>
+
--> {{#if: {{{role|}}} |<!--
|-
+
-->  <tr><!--
|colspan="2"|<center>{{{spells|None}}}</center>
+
-->    <td >Role:</td><!--
|-
+
-->    <td >{{{role|Non-specific}}}</td><!--
!colspan="2"|<center>Found In</center>
+
-->  </tr> }}<!--
|-
+
--></table><!--
|colspan="2"|<center>{{{found|Unknown}}}</center>
+
-->{{#if: {{{catexclude|}}} | |<!--
|}[[Category:{{{classif|Monsters}}}]][[Category:Monsters]]</includeonly>
+
--> {{{categories|}}}<!--
<noinclude>[[Category:Templates]][[Category:Infoboxes]]
+
--><!--
 +
--> {{#if: {{#switch: {{{chartype|}}}
 +
  |main = Main characters
 +
  |Main = Main characters }} <!-- (END of check switch)
 +
-->   | [[Category:{{#switch: {{{chartype|}}}
 +
  |main = Main characters
 +
  |Main = Main characters }}]]<!-- (END of category switch)
 +
-->  }}<!-- (END of main #if)
 +
--><!--
 +
-->  {{#if: {{{race|}}} | [[Category:{{{race|}}} characters]] }}<!--
 +
--><!--
 +
-->  {{#if: {{{race|}}} | [[Category:{{#switch: {{{race|}}}
 +
  |Angel = Angels
 +
  |angel = Angels
 +
  |Demon = Demons
 +
  |demon = Demons
 +
  |Human = Humans
 +
  |human = Humans
 +
}}]]<!-- (END of race category switch)<!--
 +
--> }}<!-- (END of race #if)
 +
--><!--
 +
--> [[Category:Characters]]<!--
 +
-->}}<!-- (END of catexclude)</includeonly><noinclude>
  
  
  <nowiki>{{</nowiki>Monsterbox
+
[[Category:Templates]][[Category:Infoboxes]]
|game=            Diablo I, Diablo II or Diablo III.
+
 
  |portrait=        Filename.
+
Use this template on [[character]] pages. If a character page also is a [[monster]] or [[NPC]] page, consider separating them. The following two templates are '''NO LONGER''' used with the charbox for [[main character]]s and other (normal) characters:
 +
* <s>[http://www.diablowiki.net/Template:Charbox_main&action=edit Edit Template:Charbox_main]</s>
 +
* <s>[http://www.diablowiki.net/Template:Charbox_main&action=edit Edit Template:Charbox_normal]</s>
 +
<s>They are linked in through the "chartype" attribute of the template. It currently also holds the Title, which must be used.</s>
 +
 
 +
This template will also add the article to [[:Category:Characters]] and/or [[:Category:Main characters]], depending on if it's a normal or main character.
 +
 
 +
  <nowiki>{{</nowiki>Charbox
 +
  |portrait=        Filename. Automatically set to D3 logo.
 
  |portrait-width=  If different than 200px, set width here.
 
  |portrait-width=  If different than 200px, set width here.
 
  |name=            If different than article title, set here.
 
  |name=            If different than article title, set here.
  |chartype=        normal or main.
+
  |chartype=        normal or main. Use no capital letters.
  |classif=         Animals, Demons, Undead or Objects. REMEMBER PLURAL!
+
  |title=           Must be used. If lacking proper title, add Mr, Mrs or Ms. Multiple titles go here.
  |family=          Type of monster, such as "Goatman".
+
  |gender=          Male, Female, Androgynous or Unknown.
  |role=            Offensive caster, Healer, Cannonfodder etc. Link if possible.
+
  |race=            Human, Human (Undead), Khazra etc.
  |life=           X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |status=         Alive, Dead, Undead, Imprisoned, Unknown
|mana=            X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |occupation=     (Profession) set to "Unknown" if occupation is not known. Can be same as title.
  |armor=           X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |affiliation=     What faction(s) character is aligned to.
  |resist=         List resistances for different difficulty settings.
+
  |friends=         Known friends listed with <nowiki><br></nowiki>. Or: "None Known".
  |armament=       Weapon type. Link if possible.
+
  |foes=           Known foes listed with <nowiki><br></nowiki>. Or: "None Known".
  |dps=             Damage Per Second. X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |location=        Where the character is now. Or: "Unknown".
|dmg_low=        Low value damage. X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |role=           Can't remember why this was added!
  |dmg_high=        High value damage. X/Y/Z - X = Normal, Y = Nightmare, Z = Hell.
+
  |categories=     Optional entry for any categories you might want to put character in.
|range=          Melee, Ranged, specific yards? Link if possible.
+
  |catexclude=     If added, no categories are added.
|speed=          "Swing speed"/cooldown on main attack.
 
  |movement=       Movement speed.
 
  |modifier=       Monster Modifiers of the monster. Specific ones, or number of randoms. Differentiate difficulties.
 
  |spells=         Spells or Abilities of monster. Differentiate difficulties.
 
|found=          In what area(s) can this monster be found?
 
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
  
  
  <nowiki>{{</nowiki>Monsterbox
+
  <nowiki>{{</nowiki>Charbox
|game=
+
  |portrait=      
  |portrait=
+
  |portrait-width=
  |portrait-width=
+
  |name=          
  |name=
+
  |chartype=      
  |classif=
+
  |title=          
|family=
+
  |gender=        
|role=
+
  |race=          
|life=
+
  |status=        
|mana=
+
  |occupation=    
|armor=
+
  |affiliation=    
|resist=
+
  |friends=        
  |armament=
+
  |foes=          
  |dps=
+
  |location=      
  |dmg_low=
+
  |categories=    
  |dmg_high=
 
  |range=
 
  |speed=
 
  |movement=
 
  |modifier=
 
  |spells=
 
  |found=
 
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
 
</noinclude>
 
</noinclude>

Latest revision as of 02:19, 2 November 2013

Diablo Character [e]
Diablo III Logo.jpg
Example
The Buggerer
Bosshead.png Main Character Bosshead.png
Gender: Male
Race: Human
Status: Alive
Occupation: Boss
Affilliation: Holy Knights of Westmarch
Friends: None Known
Foes: None Known
Location: Unknown

Use this template on character pages. If a character page also is a monster or NPC page, consider separating them. The following two templates are NO LONGER used with the charbox for main characters and other (normal) characters:

They are linked in through the "chartype" attribute of the template. It currently also holds the Title, which must be used.

This template will also add the article to Category:Characters and/or Category:Main characters, depending on if it's a normal or main character.

{{Charbox
|portrait=        Filename. Automatically set to D3 logo.
|portrait-width=  If different than 200px, set width here.
|name=            If different than article title, set here.
|chartype=        normal or main. Use no capital letters.
|title=           Must be used. If lacking proper title, add Mr, Mrs or Ms. Multiple titles go here.
|gender=          Male, Female, Androgynous or Unknown.
|race=            Human, Human (Undead), Khazra etc.
|status=          Alive, Dead, Undead, Imprisoned, Unknown
|occupation=      (Profession) set to "Unknown" if occupation is not known. Can be same as title.
|affiliation=     What faction(s) character is aligned to.
|friends=         Known friends listed with <br>. Or: "None Known".
|foes=            Known foes listed with <br>. Or: "None Known".
|location=        Where the character is now. Or: "Unknown".
|role=            Can't remember why this was added!
|categories=      Optional entry for any categories you might want to put character in.
|catexclude=      If added, no categories are added.
}}


{{Charbox
|portrait=        
|portrait-width=  
|name=            
|chartype=        
|title=           
|gender=          
|race=            
|status=          
|occupation=      
|affiliation=     
|friends=         
|foes=            
|location=        
|categories=      
}}