Template:Infobox test: Difference between revisions

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

Latest revision as of 14:26, 29 May 2022