Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(120 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox location">
{{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="mergedtoprow">
|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}}}|275px]]</td>
|data3 = {{{type5e|}}}
</tr>
|label4 = Tag(s)
}}
|data4 = {{{tags5e|}}}
{{#if:{{{image-tab|}}}|
|label5 = Typical Alignment
<tr class="mergedtoprow">
|data5 = {{{alignment5e|}}}
<td colspan="2">{{{image-tab}}}</td>
 
</tr>
|header6 = General Information
}}
|label7 = Patron Deity(s)
{{#if:{{{location|}}}|
|data7 = {{{deity|}}}
<tr class="mergedtoprow">
|label8 = Movement
<th>Location</th>
|data8 = {{{movement|}}}
<td>{{{location}}}</td>
|label9 = Vision
</tr>
|data9 = {{{vision|}}}
}}
|label10 = Activity Cycle
}}
|data10 = {{{sleep_cycle|}}}
{{#if:{{{continent|}}}|
|label11 = Diet
<tr class="mergedtoprow">
|data11 = {{{diet|}}}
<th>Continent</th>
|label12 = Average Lifespan
<td>{{{continent}}}</td>
|data12 = {{{lifespan|}}}
</tr>
|label13 = Homeland(s)
}}
|data13 = {{{homeland|}}}
}}
|label14 = Intelligence
{{#if:{{{country|}}}|
|data14 = {{{intelligence|}}}
<tr class="mergedtoprow">
|label15 = Language(s)
<th>Country</th>
|data15 = {{{language|}}}
<td>{{{country}}}</td>
|label16 = Subraces
</tr>
|data16 = {{{subraces|}}}
}}
|label17 = Favored Climate
}}
|data17 = {{{favored_climate|}}}
{{#if:{{{nearestcity|}}}|
|label18 = Favored Terrain
<tr class="mergedrow">
|data18 = {{{favored_terrain|}}}
<th>Nearest City</th>
 
<td>{{{nearestcity}}}</td>
|header19 = Appearance
</tr>
|label20 = Average Height
}}
|data20 = {{{height|}}}
}}
|label21 = Wingspan
{{#if:{{{largestcity|}}}|
|data21 = {{{wingspan|}}}
<tr class="mergedrow">
|label22 = Skin Color(s)
<th>Largest City</th>
|data22 = {{{skin_colors|}}}
<td>{{{largestcity}}}</td>
|label23 = Hair Color(s)
</tr>
|data23 = {{{hair_colors|}}}
}}
|label24 = Feather Color(s)
}}
|data24 = {{{feathers|}}}
{{#if:{{{population|}}}|
|label25 = Eye Color(s)
<tr class="mergedrow">
|data25 = {{{eye_color|}}}
<th>Population</th>
|label26 = Build
<td>{{{population}}}</td>
|data26 = {{{build|}}}
</tr>
|label27 = Distinctions
}}
|data27 = {{{distinctions|}}}
}}
 
{{#if:{{{area|}}}|
|aboveclass = mergedtoprow name
<tr class="mergedrow">
|subheaderrowclass1 = mergedbottomrow tag
<th>Area</th>
|imagerowclass1 = mergedtoprow mergedbottomrow
<td>{{{area}}}</td>
|rowclass1 = mergedtoprow
</tr>
|rowstyle1 = background:#DFDECF;
}}
|rowclass2 = mergedrow
}}
|rowclass3 = mergedrow
{{#if:{{{owner|}}}|
|rowclass4 = mergedrow
<tr class="mergedrow">
|rowclass5 = mergedbottomrow
<th>Owner</th>
|rowclass6 = mergedtoprow
<td>{{{owner}}}</td>
|rowstyle6 = background:#DFDECF;
</tr>
|rowclass7 = mergedrow
}}
|rowclass8 = mergedrow
}}
|rowclass9 = mergedrow
{{#if:{{{countries|}}}|
|rowclass10 = mergedrow
<tr class="mergedtoprow">
|rowclass11 = mergedrow
<th>Countries</th>
|rowclass12 = mergedrow
<td>{{{countries}}}</td>
|rowclass13 = mergedrow
</tr>
|rowclass14 = mergedrow
}}
|rowclass15 = mergedrow
}}
|rowclass16 = mergedrow
{{#if:{{{largestcities|}}}|
|rowclass17 = mergedrow
<tr class="mergedrow">
|rowclass18 = mergedbottomrow
<th>Largest Cities</th>
|rowclass19 = mergedtoprow
<td>{{{largestcities}}}</td>
|rowstyle19 = background:#DFDECF;
</tr>
|rowclass20 = mergedrow
}}
|rowclass21 = mergedrow
}}
|rowclass22 = mergedrow
{{#if:{{{government|}}}|
|rowclass23 = mergedrow
<tr class="mergedtoprow">
|rowclass24 = mergedrow
<th>Government</th>
|rowclass25 = mergedrow
<td>{{{government}}}</td>
|rowclass26 = mergedrow
</tr>
|rowclass27 = mergedbottomrow
}}
}}</includeonly><noinclude>
}}
{{Documentation}}
{{#if:{{{capital|}}}|
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
<tr class="mergedrow">
<th>Capital</th>
<td>{{{capital}}}</td>
</tr>
}}
}}
{{#if:{{{leader|}}}|
<tr class="mergedrow">
<th>Leader</th>
<td>{{{leader}}}</td>
</tr>
}}
}}
{{#if:{{{languages|}}}|
<tr class="mergedtoprow">
<th>Languages</th>
<td>{{{languages}}}</td>
</tr>
}}
}}
{{#if:{{{setting|}}}|
<tr class="mergedtoprow">
<th>Setting</th>
<td>{{{setting}}}</td>
</tr>
}}
</table>
</includeonly>
<noinclude>
{{infobox test
|tag = Forest
|image = The_High_Forest.png
|location = [[Stilford]], [[The Continent]]
|nearestcity = [[Darkwell]]
|area = 420 mi<sup>2</sup>
}}
{{infobox test
|tag = Building
|image = The_High_Forest.png
|location = [[Faecun]], [[Bycoast]], [[The Continent]]
|area = 420 ft<sup>2</sup>
|owner = [[Samantha Schwab]]
}}
</noinclude>
</noinclude>

Latest revision as of 15:26, 29 May 2022