Template:Infobox Class: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc
Added description and finalized template
PWpedia>Sangodoc
Attempting to fix alt-text error
Line 1: Line 1:
{| class="infobox" align="right" style="width: 22em; text-align: left; font-size: 10pt; border: 1px solid #C8B47D; background: #3D2B1F; margin-left: 5px;" cellspacing="2"
{| class="infobox" align="right" style="width: 22em; text-align: left; font-size: 10pt; border: 1px solid #C8B47D; background: #3D2B1F; margin-left: 5px;" cellspacing="2"
|-
|-
! align="center" colspan="2" | <h2>{{{Class|}}}</h2>[[image:{{{Image|}}}|noframe|275px]]
! align="center" colspan="2" | <h2>{{{Class|}}}</h2>[[image:{{{Image|}}}|{{{Class|}}}|275px]]
|-
|-
! Race
! Race

Revision as of 19:56, 30 January 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:

Psychic

Psychic
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.