Template:ClassDescription

From Vanguard Wiki
Jump to navigation Jump to search

Template Information

This template is used to properly format the description of a Class.
  • THE " description " FIELD IS REQUIRED!
NOTE: Insert a "<br>" HTML tag (line break) after an line entry to clean up formatting.
NOTE: The {{LIST}} template is optional, but recommended if entering more than one line.

Template Syntax

Variable Descriptions

Blank Snippet

Partially Filled

{{ClassDescription
 |classname   = <full name of the class>
 |imagename   = <filename and extension>
 |description = <descriptive paragraph>
}}
{{ClassDescription}}
{{ClassDescription
 |classname   = 
 |description = 
}}

Template Examples

Example Input

Expected Output

{{ClassDescription
 |classname   = Bard
 |description = Bards are naturally gifted in the harmonizing of song and swordplay in a deadly dance that is at once awesome and terrible to behold. Bards can use their unique combat forms to gain increasing power as a fight progresses. They also have the ability to compose songs using bits of lore and tunes heard throughout their journeys. As a bard advances, the songs he can create grow in complexity and power. Bards have the opportunity to seek out those rare stories and melodies that will add even more power to their compositions.
}}
Icon class bard.png
Bards are naturally gifted in the harmonizing of song and swordplay in a deadly dance that is at once awesome and terrible to behold. Bards can use their unique combat forms to gain increasing power as a fight progresses. They also have the ability to compose songs using bits of lore and tunes heard throughout their journeys. As a bard advances, the songs he can create grow in complexity and power. Bards have the opportunity to seek out those rare stories and melodies that will add even more power to their compositions.

Example Input

Expected Output

{{ClassDescription}}
Icon class bard.png
<<Class descriptive paragraph goes here.>>

MediaWiki Template Code

<includeonly>{| border="0"
| style="vertical-align: top;" | {{#if:{{{imagename|}}}|[[File:{{{imagename}}}|left|frameless|]]|[[File:icon_class_{{lc:{{#if:{{{classname|}}}|{{{classname}}}|{{PAGENAME}}}}}}.png|left|frameless]]}}
| style="text-align: left;" | {{#if:{{{description|}}}|{{{description}}}|<<Class descriptive paragraph goes here.>>}}
|}</includeonly>