Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(116 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
{{#if:{{{continent|}}}|
|data10 = {{{sleep_cycle|}}}
<tr class="mergedtoprow">
|label11 = Diet
<th>Continent</th>
|data11 = {{{diet|}}}
<td>{{{continent}}}</td>
|label12 = Average Lifespan
</tr>
|data12 = {{{lifespan|}}}
}}
|label13 = Homeland(s)
{{#if:{{{country|}}}|
|data13 = {{{homeland|}}}
<tr class="mergedtoprow">
|label14 = Intelligence
<th>Country</th>
|data14 = {{{intelligence|}}}
<td>{{{country}}}</td>
|label15 = Language(s)
</tr>
|data15 = {{{language|}}}
}}
|label16 = Subraces
{{#if:{{{nearestcity|}}}|
|data16 = {{{subraces|}}}
<tr class="mergedrow">
|label17 = Favored Climate
<th>Nearest City</th>
|data17 = {{{favored_climate|}}}
<td>{{{nearestcity}}}</td>
|label18 = Favored Terrain
</tr>
|data18 = {{{favored_terrain|}}}
}}
 
{{#if:{{{largestcity|}}}|
|header19 = Appearance
<tr class="mergedrow">
|label20 = Average Height
<th>Largest City</th>
|data20 = {{{height|}}}
<td>{{{largestcity}}}</td>
|label21 = Wingspan
</tr>
|data21 = {{{wingspan|}}}
}}
|label22 = Skin Color(s)
{{#if:{{{population|}}}|
|data22 = {{{skin_colors|}}}
<tr class="mergedrow">
|label23 = Hair Color(s)
<th>Population</th>
|data23 = {{{hair_colors|}}}
<td>{{{population}}}</td>
|label24 = Feather Color(s)
</tr>
|data24 = {{{feathers|}}}
}}
|label25 = Eye Color(s)
{{#if:{{{area|}}}|
|data25 = {{{eye_color|}}}
<tr class="mergedrow">
|label26 = Build
<th>Area</th>
|data26 = {{{build|}}}
<td>{{{area}}}</td>
|label27 = Distinctions
</tr>
|data27 = {{{distinctions|}}}
}}
 
{{#if:{{{owner|}}}|
|aboveclass = mergedtoprow name
<tr class="mergedrow">
|subheaderrowclass1 = mergedbottomrow tag
<th>Owner</th>
|imagerowclass1 = mergedtoprow mergedbottomrow
<td>{{{owner}}}</td>
|rowclass1 = mergedtoprow
</tr>
|rowstyle1 = background:#DFDECF;
}}
|rowclass2 = mergedrow
{{#if:{{{countries|}}}|
|rowclass3 = mergedrow
<tr class="mergedtoprow">
|rowclass4 = mergedrow
<th>Countries</th>
|rowclass5 = mergedbottomrow
<td>{{{countries}}}</td>
|rowclass6 = mergedtoprow
</tr>
|rowstyle6 = background:#DFDECF;
}}
|rowclass7 = mergedrow
{{#if:{{{largestcities|}}}|
|rowclass8 = mergedrow
<tr class="mergedrow">
|rowclass9 = mergedrow
<th>Largest Cities</th>
|rowclass10 = mergedrow
<td>{{{largestcities}}}</td>
|rowclass11 = mergedrow
</tr>
|rowclass12 = mergedrow
}}
|rowclass13 = mergedrow
{{#if:{{{government|}}}|
|rowclass14 = mergedrow
<tr class="mergedtoprow">
|rowclass15 = mergedrow
<th>Government</th>
|rowclass16 = mergedrow
<td>{{{government}}}</td>
|rowclass17 = mergedrow
</tr>
|rowclass18 = mergedbottomrow
}}
|rowclass19 = mergedtoprow
{{#if:{{{capital|}}}|
|rowstyle19 = background:#DFDECF;
<tr class="mergedrow">
|rowclass20 = mergedrow
<th>Capital</th>
|rowclass21 = mergedrow
<td>{{{capital}}}</td>
|rowclass22 = mergedrow
</tr>
|rowclass23 = mergedrow
}}
|rowclass24 = mergedrow
{{#if:{{{leader|}}}|
|rowclass25 = mergedrow
<tr class="mergedrow">
|rowclass26 = mergedrow
<th>Leader</th>
|rowclass27 = mergedbottomrow
<td>{{{leader}}}</td>
}}</includeonly><noinclude>
</tr>
{{Documentation}}
}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
{{#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>
|setting = [[Solandria]]
}}
{{infobox test
|tag = Building
|image = The_High_Forest.png
|location = [[Faecun]], [[Bycoast]], [[The Continent]]
|area = 420 ft<sup>2</sup>
|owner = [[Samantha Schwab]]
|setting = [[Solandria]]
}}
{{infobox test
|tag = Continent
|image = The_High_Forest.png
|location = [[Solandria]]
|population = 999,999,999<br />
87% Human<br />
10% Aarakocra<br />
3% Other
|area = 420 mi<sup>2</sup>
|countries = [[Stilford]] [[Bycoast]] [[Stenlet]] [[Mudahn]] [[Drachland]]
|largestcities = [[Stilford City]] [[Shipyard]] [[Faecun]]
|languages = Common, Aarakocra, Auran
|setting = [[Solandria]]
}}
</noinclude>
</noinclude>

Latest revision as of 15:26, 29 May 2022