Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox player">
<table class="infobox location">
<tr>
<tr>
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
</tr>
</tr>
{{#if:{{{tag|}}}|
{{#if:{{{tag|}}}|
<tr class="mergedrow">
<tr class="mergedtoprow">
<td class="tag" colspan="2">{{{tag}}}</td>
<td class="tag" colspan="2">{{{tag}}}</td>
</tr>
</tr>
Line 14: Line 14:
</tr>
</tr>
}}
}}
{{#if:{{{gender|}}}|
{{#if:{{{image-tab|}}}|
<tr class="mergedtoprow">
<td colspan="2">{{{image-tab}}}</td>
</tr>
}}
{{#if:{{{location|}}}|
<tr class="mergedtoprow">
<th>Location</th>
<td>{{{location}}}</td>
</tr>
}}
}}
{{#if:{{{continent|}}}|
<tr class="mergedtoprow">
<th>Continent</th>
<td>{{{continent}}}</td>
</tr>
}}
}}
{{#if:{{{country|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Gender</th>
<th>Country</th>
<td>{{{gender}}}</td>
<td>{{{country}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{race|}}}|
}}
{{#if:{{{nearestcity|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Race</th>
<th>Nearest City</th>
<td>{{{race}}}</td>
<td>{{{nearestcity}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{alignment|}}}|
}}
{{#if:{{{largestcity|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Alignment</th>
<th>Largest City</th>
<td>{{{alignment}}}</td>
<td>{{{largestcity}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{class|}}}|
}}
{{#if:{{{population|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Class</th>
<th>Population</th>
<td>{{{class}}}</td>
<td>{{{population}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{height|}}}|
}}
<tr class="mergedtoprow">
{{#if:{{{area|}}}|
<th>Height</th>
<tr class="mergedrow">
<td>{{{height}}}</td>
<th>Area</th>
<td>{{{area}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{weight|}}}|
}}
{{#if:{{{owner|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Weight</th>
<th>Owner</th>
<td>{{{weight}}}</td>
<td>{{{owner}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{status|}}}|
}}
{{#if:{{{countries|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Status</th>
<th>Countries</th>
<td>{{{status}}}</td>
<td>{{{countries}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{born|}}}|
}}
{{#if:{{{largestcities|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Born</th>
<th>Largest Cities</th>
<td>{{{born}}}</td>
<td>{{{largestcities}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{age|}}}|
}}
<tr class="mergedrow">
{{#if:{{{government|}}}|
<th>Age</th>
<tr class="mergedtoprow">
<td>{{{age}}}</td>
<th>Government</th>
<td>{{{government}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{died|}}}|
}}
{{#if:{{{capital|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Died</th>
<th>Capital</th>
<td>{{{died}}}</td>
<td>{{{capital}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{campaigns|}}}|
<tr class="mergedtoprow">
<th>Campaigns</th>
<td>{{{campaigns}}}</td>
</tr>
}}
}}
{{#if:{{{firstsession|}}}|
{{#if:{{{leader|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>First Session</th>
<th>Leader</th>
<td>{{{firstsession}}}</td>
<td>{{{leader}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{lastsession|}}}|
}}
<tr class="mergedrow">
{{#if:{{{languages|}}}|
<th>Last Session</th>
<tr class="mergedtoprow">
<td>{{{lastsession}}}</td>
<th>Languages</th>
<td>{{{languages}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{charactersheet|}}}|
}}
{{#if:{{{setting|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td colspan="2" class="charactersheet">[{{{charactersheet}}} Character Sheet]</td>
<th>Setting</th>
<td>{{{setting}}}</td>
</tr>
</tr>
}}
}}
</table>
</table>
[[Category:All Player Characters]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
{{infobox test
Those in <b>bold</b> are required.
|tag = Forest
 
|image = The_High_Forest.png
|tag = Used if the character has a title in an organization or country<br />
|location = [[Stilford]], [[The Continent]]
|image = Name of the image file to use<br />
|nearestcity = [[Darkwell]]
|gender = Gander of the character<br />
|area = 420 mi<sup>2</sup>
|race = Race of the character<br />
}}
|alignment = Alignment of the character<br />
|class = Class of the character in the following format; Wizard 2, Fighter 7<br />
|height = Height of the character in feet and inches<br />
|weight = Weight of the character in pounds<br />
|status = Is the character alive, dead, or resurrected. If dead, include what killed them in parentheses.<br />
|born = Character's date of birth<br />
|age = Characters age<br />
|died = Characters date of death<br />
|campaigns = List of campaigns, in order, that the character has been in.<br />
|firstsession = Link to the first campaign session the character was in<br />
|lastsession = Link to the last/latest campaign session the character was in<br />
|charactersheet = URL to character sheet, if availible
== Blank Templates ==
=== Single Image ===
|tag = <br />
|image = <br />
|gender = <br />
|race = <br />
|alignment = <br />
|class = <br />
|height = <br />
|weight = <br />
|status = <br />
|born = <br />
|age = <br />
|died = <br />
|campaigns = <br />
|firstsession = <br />
|lastsession = <br />
|charactersheet =
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:43, 14 March 2021


}} }} }} }} }} }} }} }} }} }} }} }} }} }}
Infobox test
Forest
File:The High Forest.png
Location Stilford, The Continent
Nearest City Darkwell
Area 420 mi2