Template:Infobox Locations: Difference between revisions

From World of Adaptation
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="text-align: left; width: 300px; border: 1px #aaa solid; overflow:hidden;" >
<table class="infobox" style="text-align: left; width: 300px; border: 1px #aaa solid; overflow:hidden; float:right;" >
<tr>
<tr>
<th class="infobox-title" col-span="2" style="text-align:center;background:#837f7e;color:#fff;"><b>{{PAGENAME}}</b></th>
<th class="infobox-title" colspan="2" style="text-align:center;background:#837f7e;color:#fff;"><b>{{PAGENAME}}</b></th>
</tr>
</tr>


<tr>
<tr>
<td class="infobox-subtitle" col-span="2" style="text-align:center;background:#aaa5a4;color:#fff;"><i>{{{locationtype}}}</i></td>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><i>{{{locationtype}}}</i></td>
</tr>
</tr>
{{#if: {{{map|}}}|
<tr>
<td class="infobox-image" colspan="2"> [[File:{{{map|}}}|300px|thumb|center]] </td>
</tr>
|}}
<tr>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Basics<b></td>
</tr>
{{#if: {{{continent|}}}|
<tr>
<td class="infoboxtd1strow">Continent:</td>
<td>{{{continent}}}</td>
</tr>
|}}
{{#if: {{{capital|}}}|
<tr>
<td class="infoboxtd1strow">Capital:</td>
<td>{{{capital}}}</td>
</tr>
|}}
{{#if: {{{majorcities|}}}|
<tr>
<td class="infoboxtd1strow">Major Cities:</td>
<td>{{{majorcities}}}</td>
</tr>
|}}
{{#if: {{{geography|}}}|
<tr>
<td class="infoboxtd1strow">Geography:</td>
<td>{{{geography}}}</td>
</tr>
|}}
{{#if: {{{basedon|}}}|
<tr>
<td class="infoboxtd1strow">Based On:</td>
<td>{{{basedon}}}</td>
</tr>
|}}
<tr>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Politics<b></td>
</tr>
{{#if: {{{governance|}}}|
<tr>
<td class="infoboxtd1strow">Governing Type:</td>
<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>
<tr>
<td class="infobox-image" col-span="2"> [[File:{{{map|}}}|300px|thumb|center]] </td>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Trade<b></td>
</tr>
</tr>
{{#if: {{{exports|}}}|
<tr>
<td class="infoboxtd1strow">Primary Exports:</td>
<td>{{{exports}}}</td>
</tr>
|}}


<tr>
<tr>
<td class="infobox-subtitle" col-span="2"> Basics </td>
<td class="infobox-subtitle" colspan="2" style="text-align:center;background:#aaa5a4;color:#fff;"><b>Demographics<b></td>
</tr>
</tr>


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

Latest revision as of 11:39, 7 July 2024

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