Template:Infobox Class: Difference between revisions
From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc Changed parameter name |
PWpedia>Sangodoc Fixed colors for new style; minor layout fixes |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: 22em; text-align: left; font-size: 10pt; border: 1px solid # | {| class="infobox" align="right" style="width: 22em; text-align: left; font-size: 10pt; border: 1px solid #6A5D44; background: #171513; margin-left: 5px;" cellspacing="2" | ||
|- | |- | ||
! align="center" colspan="2" | <h2>{{{Class|}}}</h2>[[image:{{{Image|}}}| | ! align="center" colspan="2" | <h2>{{{Class|}}}</h2>[[image:{{{Image|}}}|{{{Class|}}}|275px]] | ||
|- | |- | ||
! Race | ! Race | ||
| Line 15: | Line 15: | ||
| {{{Elements|}}} | | {{{Elements|}}} | ||
|}<noinclude> | |}<noinclude> | ||
<br clear=both> | |||
---- | |||
{| style="background:transparent" border="0" | |||
|- | |||
| {{Infobox_Class | |||
| Class=Psychic | |||
| Image=Psyc1.jpg | |||
| Race=Tideborn | |||
| Type=Magic | |||
| Home=[[City of the Raging Tides]] | |||
| Elements=Earth, Water}} | |||
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:<br> | |||
<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> | ||
Latest revision as of 00:55, 7 October 2012
[[image: |
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: {{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. | ||||||||||