Template:Infobox Locations: Difference between revisions

From World of Adaptation
No edit summary
No edit summary
 
(6 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>


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

Latest revision as of 11:39, 7 July 2024

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