Template:Infobox Class: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc
Changed parameter name
PWpedia>Sangodoc
Added description and finalized template
Line 15: Line 15:
| {{{Elements|}}}
| {{{Elements|}}}
|}<noinclude>
|}<noinclude>
Usage instructions.
<br><br><br><br><br><br><br><br>
----
{| style="background:#291a0e" border="0"
|-
|This template is intended for use on class pages to give a quick infobox showing the image and information for the class. To use this template add something like the following example to the very beginning of the classes page:{{Infobox_Class
| Class=Psychic
| Image=Psyc1.jpg
| Race=Tideborn
| Type=Magic
| Home=[[City of the Raging Tides]]
| Elements=Earth, Water}}
<pre style="display: inline-block;">
{{Infobox_Class
| Class=Psychic
| Image=Psyc1.jpg
| Race=Tideborn
| Type=Magic
| Home=[[City of the Raging Tides]]
| Elements=Earth, Water}}
</pre>
The above code produces the "Psychic" example seen to the right.
 
Types are normally only "Magic" or "Physical".
 
'''Note:''' Due to a glitch, you will need to add <nowiki>__TOC__</nowiki> to the bottom of the first section when using this template to prevent the Table of Contents from ending up inside of the infobox.
|}
</noinclude>
</noinclude>

Revision as of 18:44, 9 March 2010

[[image:|noframe|275px]]
Race
Type
Home Town
Elements










This template is intended for use on class pages to give a quick infobox showing the image and information for the class. To use this template add something like the following example to the very beginning of the classes page:

Psychic

noframe
Race Tideborn
Type Magic
Home Town City of the Raging Tides
Elements Earth, Water
{{Infobox_Class
| Class=Psychic
| Image=Psyc1.jpg
| Race=Tideborn
| Type=Magic
| Home=[[City of the Raging Tides]]
| Elements=Earth, Water}}

The above code produces the "Psychic" example seen to the right.

Types are normally only "Magic" or "Physical".

Note: Due to a glitch, you will need to add __TOC__ to the bottom of the first section when using this template to prevent the Table of Contents from ending up inside of the infobox.