Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(131 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox player">
<includeonly>
<tr>
{{infobox
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
|autoheaders = y
</tr>
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
{{#if:{{{tag|}}}|
|subheader = {{{tag|}}}
<tr class="mergedrow">
|image = {{{image|}}}
<td class="tag" colspan="2">{{{tag}}}</td>
|caption = {{{caption|}}}
</tr>
 
}}
|header1 = 5th Edition Statistics
{{#if:{{{image|}}}|
|label2 = Size
<tr class="mergedtoprow">
|data2 = {{{size5e|}}}
<td colspan="2">[[File:{{{image}}}|300px]]</td>
|label3 = Type
</tr>
|data3 = {{{type5e|}}}
}}
|label4 = Tag(s)
{{#if:{{{gender|}}}|
|data4 = {{{tags5e|}}}
<tr class="mergedtoprow">
|label5 = Typical Alignment
<th>Gender</th>
|data5 = {{{alignment5e|}}}
<td>{{{gender}}}</td>
 
</tr>
|header6 = General Information
}}
|label7 = Patron Deity(s)
{{#if:{{{race|}}}|
|data7 = {{{deity|}}}
<tr class="mergedrow">
|label8 = Movement
<th>Race</th>
|data8 = {{{movement|}}}
<td>{{{race}}}</td>
|label9 = Vision
</tr>
|data9 = {{{vision|}}}
}}
|label10 = Activity Cycle
{{#if:{{{alignment|}}}|
|data10 = {{{sleep_cycle|}}}
<tr class="mergedrow">
|label11 = Diet
<th>Alignment</th>
|data11 = {{{diet|}}}
<td>{{{alignment}}}</td>
|label12 = Average Lifespan
</tr>
|data12 = {{{lifespan|}}}
}}
|label13 = Homeland(s)
{{#if:{{{class|}}}|
|data13 = {{{homeland|}}}
<tr class="mergedrow">
|label14 = Intelligence
<th>Class</th>
|data14 = {{{intelligence|}}}
<td>{{{class}}}</td>
|label15 = Language(s)
</tr>
|data15 = {{{language|}}}
}}
|label16 = Subraces
{{#if:{{{height|}}}|
|data16 = {{{subraces|}}}
<tr class="mergedtoprow">
|label17 = Favored Climate
<th>Height</th>
|data17 = {{{favored_climate|}}}
<td>{{{height}}}</td>
|label18 = Favored Terrain
</tr>
|data18 = {{{favored_terrain|}}}
}}
 
{{#if:{{{weight|}}}|
|header19 = Appearance
<tr class="mergedrow">
|label20 = Average Height
<th>Weight</th>
|data20 = {{{height|}}}
<td>{{{weight}}}</td>
|label21 = Wingspan
</tr>
|data21 = {{{wingspan|}}}
}}
|label22 = Skin Color(s)
{{#if:{{{status|}}}|
|data22 = {{{skin_colors|}}}
<tr class="mergedtoprow">
|label23 = Hair Color(s)
<th>Status</th>
|data23 = {{{hair_colors|}}}
<td>{{{status}}}</td>
|label24 = Feather Color(s)
</tr>
|data24 = {{{feathers|}}}
}}
|label25 = Eye Color(s)
{{#if:{{{born|}}}|
|data25 = {{{eye_color|}}}
<tr class="mergedrow">
|label26 = Build
<th>Born</th>
|data26 = {{{build|}}}
<td>{{{born}}}</td>
|label27 = Distinctions
</tr>
|data27 = {{{distinctions|}}}
}}
 
{{#if:{{{age|}}}|
|aboveclass = mergedtoprow name
<tr class="mergedrow">
|subheaderrowclass1 = mergedbottomrow tag
<th>Age</th>
|imagerowclass1 = mergedtoprow mergedbottomrow
<td>{{{age}}}</td>
|rowclass1 = mergedtoprow
</tr>
|rowstyle1 = background:#DFDECF;
}}
|rowclass2 = mergedrow
{{#if:{{{died|}}}|
|rowclass3 = mergedrow
<tr class="mergedrow">
|rowclass4 = mergedrow
<th>Died</th>
|rowclass5 = mergedbottomrow
<td>{{{died}}}</td>
|rowclass6 = mergedtoprow
</tr>
|rowstyle6 = background:#DFDECF;
}}
|rowclass7 = mergedrow
{{#if:{{{campaigns|}}}|
|rowclass8 = mergedrow
<tr class="mergedtoprow">
|rowclass9 = mergedrow
<th>Campaigns</th>
|rowclass10 = mergedrow
<td>{{{campaigns}}}</td>
|rowclass11 = mergedrow
</tr>
|rowclass12 = mergedrow
}}
|rowclass13 = mergedrow
{{#if:{{{firstsession|}}}|
|rowclass14 = mergedrow
<tr class="mergedrow">
|rowclass15 = mergedrow
<th>First Session</th>
|rowclass16 = mergedrow
<td>{{{firstsession}}}</td>
|rowclass17 = mergedrow
</tr>
|rowclass18 = mergedbottomrow
}}
|rowclass19 = mergedtoprow
{{#if:{{{lastsession|}}}|
|rowstyle19 = background:#DFDECF;
<tr class="mergedrow">
|rowclass20 = mergedrow
<th>Last Session</th>
|rowclass21 = mergedrow
<td>{{{lastsession}}}</td>
|rowclass22 = mergedrow
</tr>
|rowclass23 = mergedrow
}}
|rowclass24 = mergedrow
{{#if:{{{charactersheet|}}}|
|rowclass25 = mergedrow
<tr class="mergedtoprow">
|rowclass26 = mergedrow
<td colspan="2" class="charactersheet">[{{{charactersheet}}} Character Sheet]</td>
|rowclass27 = mergedbottomrow
</tr>
}}</includeonly><noinclude>
}}
{{Documentation}}
</table>
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>

Latest revision as of 14:26, 29 May 2022