Template:Infobox Locations: Difference between revisions

From World of Adaptation
No edit summary
No edit summary
Line 8: Line 8:
</tr>
</tr>


<tr>
{{#if: {{{map|}}}|
<td class="infobox-image" colspan="2"> [[File:{{{map|}}}|300px|thumb|center]] </td>
<tr>
</tr>
<td class="infobox-image" colspan="2"> [[File:{{{map|}}}|300px|thumb|center]] </td>
</tr>
|}}


<tr>
<tr>
Line 23: Line 25:
|}}
|}}


{| class="infobox" style="width:300px;"
 
|+colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''{{PAGENAME}}'''
{{#if: {{{capital|}}}|
|-
<tr>
|colspan=2 style="text-align:center;background:#aaa5a4;color:#fff;"|''{{{locationtype}}}''
<td class="infoboxtd1strow">Capital:</td>
|-
<td>{{{capital}}}</td>
|colspan=2 style="text-align:center"|{{#if:{{{map|}}} | [[File:{{{map|}}}|300px|thumb|center]] | }}
</tr>
|-
|}}
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Basics'''
 
|-
 
| {{#if: {{{continent|}}} | '''Continent:'''||{{{continent}}}|}}
{{#if: {{{majorcities|}}}|
|-
<tr>
| {{#if: {{{capital|}}} | '''Capital:'''||{{{capital}}}|}}
<td class="infoboxtd1strow">Major Cities:</td>
|-
<td>{{{majorcities}}}</td>
| {{#if: {{{majorcities|}}} | '''Major Cities:'''||{{{majorcities}}}|}}
</tr>
|-
|}}
| {{#if: {{{geography|}}} | '''Primary Geography:'''||{{{geography}}}|}}
 
|-
{{#if: {{{geography|}}}|
| {{#if: {{{basedon|}}} | '''Based On:'''||{{{basedon}}}|}}
<tr>
|-
<td class="infoboxtd1strow">Continent:</td>
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Politics'''
<td>{{{geography}}}</td>
|-
</tr>
| {{#if: {{{governance|}}} | '''Governing Type:'''||{{{governance}}}| }}
|}}
|-
 
| {{#if: {{{leader|}}} | '''Leader(s):'''||{{{leader}}} | }}
{{#if: {{{basedon|}}}|
|-
<tr>
| {{#if: {{{leader|}}} |'''Allies:'''||{{{allies}}}| }}
<td class="infoboxtd1strow">Based On:</td>
|-
<td>{{{basedon}}}</td>
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Trade'''
</tr>
|-
|}}
| {{#if: {{{exports|}}} | '''Primary Exports:'''||{{{exports}}}| }}
 
|-
<tr>
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Demographics'''
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Politics<b></td>
|-
</tr>
| {{#if: {{{language|}}} | '''Primary Language(s):'''||{{{language}}}|}}
 
|-
{{#if: {{{governance|}}}|
| {{#if: {{{religion|}}} | '''Religion:'''||{{{religion}}}|}}
<tr>
|-
<td class="infoboxtd1strow">Governing Type:</td>
| {{#if: {{{demonym|}}} | '''Demonym(s):'''||{{{demonym}}}|}}
<td>{{{governance}}}</td>
|-
</tr>
|}
|}}
 
{{#if: {{{leaders|}}}|
<tr>
<td class="infoboxtd1strow">Leader(s):</td>
<td>{{{leaders}}}</td>
</tr>
|}}
 
{{#if: {{{allies|}}}|
<tr>
<td class="infoboxtd1strow">Allies:</td>
<td>{{{allies}}}</td>
</tr>
|}}
 
<tr>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Trade<b></td>
</tr>
 
{{#if: {{{exports|}}}|
<tr>
<td class="infoboxtd1strow">Primary Exports:</td>
<td>{{{exports}}}</td>
</tr>
|}}
 
<tr>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Demographics<b></td>
</tr>
 
{{#if: {{{language|}}}|
<tr>
<td class="infoboxtd1strow">Primary Language(s):</td>
<td>{{{language}}}</td>
</tr>
|}}
 
{{#if: {{{religion|}}}|
<tr>
<td class="infoboxtd1strow">Religion(s):</td>
<td>{{{religion}}}</td>
</tr>
|}}
 
{{#if: {{{demonym|}}}|
<tr>
<td class="infoboxtd1strow">Demonym(s):</td>
<td>{{{demonym}}}</td>
</tr>
|}}

Revision as of 22:24, 6 July 2024

Infobox Locations
{{{locationtype}}}
Basics
Politics
Trade
Demographics