Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Template:Charbox

564 bytes added, 02:19, 2 November 2013
m
no edit summary
|location= Unknown
<!--|categories= -->
|catexclude= Yes
}}
<div style="clear:both;"></div>
</noinclude><includeonly><!--
--><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;"><!--
--> <tr><!--
--> <th colspan="2" style="text-align: center; line-height: 12px; font-size: 14px;"><!--
--> <td width="65%">{{{gender|Unspecified}}}</td><!--
--> </tr><!--
--> {{#if: {{{race|}}} |<!--
--> <tr><!--
--> <td >Race:</td><!--
--> <td >[[{{{race|Unspecified}}}]]</td><!----> </tr>}} <!--
--> <tr><!--
--> <td >Status:</td><!--
--> <td >{{{friends|None known}}}</td><!--
--> </tr> }}<!--
--> {{#if: {{{foes|}}} |<!--
--> <tr><!--
--> <td >Foes:</td><!--
--> <td >{{{foes|None known}}}}}</td><!--
--> </tr><!--
--> {{#if: {{{foeslocation|}}} |<!--
--> <tr><!--
--> <td >Location:</td><!--
--> </tr> }}<!--
--></table><!--
-->{{#if: {{{catexclude|}}} ||<!----> {{{categories|}}}[[Category:Characters]]<!----><!----> {{#if: {{#switch: {{{chartype|}}} |main = Main characters |Main = Main characters }} <!-- (END of check switch)--> | [[Category:{{#switch: {{{chartype|General Item}}}
|main = Main characters
|Main = Main characters }}]]<!-- (END of category switch chartype)--> }}<!-- (END of chartypemain #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>
[[Category:Templates]][[Category:Infoboxes]]
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.