Template:Snapshot FS state: Difference between revisions

From OpenGeofiction
m (Save point... template not finished)
(Rewriting template)
Line 1: Line 1:
<includeonly><div id="{{{name}}}"></div><table><tr><th colspan="2"> [[File:{{{flag}}}|42px|link=]]&nbsp;<span style="font-size:150%;">{{{name}}}</span></th></tr>
<includeonly><div id="{{{name}}}" style="border:2px solid black;"><table style="border:2px solid white; width:100%;"><tr style="background-color:#eeeebb; padding:5px;"><th colspan="3"> [[File:{{{flag}}}|38px|text-bottom|link=]]&nbsp;<span style="font-size:175%;">[[{{{name}}}]]</span></th></tr>
<tr class="cont"><td>'''Region:''' {{{region}}}</td><td>'''Capital:''' {{{capital}}}</td><td>'''Population:''' {{{population}}}</td>
<tr><td style="text-align:center; width:33%;">'''Region:''' {{{region}}}</td><td style="text-align:center; width:34%;">'''Capital:''' {{{capital}}}</td><td style="text-align:center; width:33%;">'''Population:''' {{{population}}}</td>
<tr class="cont"><td colspan="2"><div style="column-count:3">
<tr style="background-color:#f9f9dd; font-size:80%;"><td style="padding:5px;">{{#if:{{{statehood|}}}| '''Statehood:''' {{{statehood}}}<br /> |}} '''Etymology:''' {{#if:{{{etymology|}}}| {{{etymology}}} | ''Unknown'' }}{{#if:{{{demonym|}}}| <br />'''Demonym:''' {{{demonym}}} |}}</td><td style="padding:5px;">'''Postal code:''' {{{postal}}}{{#if:{{{motto|}}}| <br />'''State motto:''' {{{motto}}} |}}{{#if:{{{song|}}}| <br />'''State song:''' {{{song}}} |}}</td><td style="padding:5px;"> '''Largest city:''' {{{largest-city}}}<br />'''Other population centers:''' {{{other-metros}}}</td></tr>
* '''Postal code:''' {{{postal}}}
<tr><td style="text-align:center;" colspan="2">'''''Neighboring states:''' {{{neighbors}}}''</td><td>[[File:OGFmapicon.png|frameless|28px|text-bottom|link=]] {{relation|{{{relation_id}}}|View on the OGF map}}</td></tr>
{{#if:{{{statehood|}}}| * '''Statehood:''' {{{statehood}}} |}}
<tr style="background-color:#f9f9dd; padding:5px;"><td style="text-align:center;" colspan="3">Gallery of state symbols and imagery</td></tr>
{{#if:{{{name-origin|}}}| * '''Origin of name:''' {{{name-origin}}} |}}
<tr><td colspan="3"><div class="toccolours mw-collapsible mw-collapsed" style="width:90%; overflow:auto;" data-expandtext="&#9660;" data-collapsetext="&#9651;">
</div><div style="column-count:3">
* '''Largest city:''' {{{largest-city}}}
{{#if:{{other-metros|}}}| * '''Other population centers:''' {{{other-metros}}} |}}
{{#if:{{{demonym|}}}| * '''Demonym:''' {{{demonym}}} |}}
</div><div style="column-count:2">
{{#if:{{{motto|}}| * '''State motto:''' {{{motto}}} |}}
{{#if:{{{song|}}| * '''State song:''' {{{song}}} |}}
</div></td><td>[[File:OGFmapicon.png|frameless|right|{{relation|{{{relation_id}}}|View on map}}|link=]]</td></tr>
{{#if:{{{neighbors|}}}| <tr><td colspan="3">'''Neighboring states:''' {{{neighbors}}}</td></tr> |}}
<tr><td colspan="3"><span style="font-size:125%; background-color:powderblue; text-align:center; width:80%; padding:4px;">Gallery of state symbols and imagery</span><br />
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%; overflow:auto;" data-expandtext="&#9660;" data-collapsetext="&#9651;">
<gallery>
<gallery>
{{#if:{{{img-seal}}}| File:{{{img-seal}}}{{!}}{{{cap-seal}}} |}}
{{#if:{{{img-seal}}}| File:{{{img-seal}}}{{!}}{{{cap-seal}}} |}}
{{#if:{{{img-bird}}}| File:{{{img-bird}}}{{!}}{{{cap-bird}}} |}}
{{#if:{{{img-bird}}}| File:{{{img-bird}}}{{!}}{{{cap-bird}}} |}}
{{#if:{{{img-tree}}}| File:{{{img-tree}}}{{!}}{{{cap-tree}}} |}}
{{#if:{{{img-tree}}}| File:{{{img-tree}}}{{!}}{{{cap-tree}}} |}}
{{#if:{{{img-license}}}| File:{{{img-license}}}{{!}}{{{cap-license}}} |}}
{{#if:{{{img-license}}}| File:{{{img-license}}}{{!}}{{{cap-license}}} |}}
{{#if:{{{img-shield}}}| File:{{{img-shield}}}{{!}}{{{cap-shield}}} |}}
{{#if:{{{img-shield}}}| File:{{{img-shield}}}{{!}}{{{cap-shield}}} |}}
{{#if:{{{img-custom1}}}| File:{{{img-custom1}}}{{!}}{{{cap-custom1}}} |}}
{{#if:{{{img-custom1}}}| File:{{{img-custom1}}}{{!}}{{{cap-custom1}}} |}}
{{#if:{{{img-custom2}}}| File:{{{img-custom2}}}{{!}}{{{cap-custom2}}} |}}
{{#if:{{{img-custom2}}}| File:{{{img-custom2}}}{{!}}{{{cap-custom2}}} |}}
{{#if:{{{img-custom3}}}| File:{{{img-custom3}}}{{!}}{{{cap-custom3}}} |}}
{{#if:{{{img-custom3}}}| File:{{{img-custom3}}}{{!}}{{{cap-custom3}}} |}}
{{#if:{{{img-custom4}}}| File:{{{img-custom4}}}{{!}}{{{cap-custom4}}} |}}
{{#if:{{{img-custom4}}}| File:{{{img-custom4}}}{{!}}{{{cap-custom4}}} |}}
{{#if:{{{img-custom5}}}| File:{{{img-custom5}}}{{!}}{{{cap-custom5}}} |}}
{{#if:{{{img-custom5}}}| File:{{{img-custom5}}}{{!}}{{{cap-custom5}}} |}}
{{#if:{{{img-custom6}}}| File:{{{img-custom6}}}{{!}}{{{cap-custom6}}} |}}
{{#if:{{{img-custom6}}}| File:{{{img-custom6}}}{{!}}{{{cap-custom6}}} |}}
{{#if:{{{img-custom7}}}| File:{{{img-custom7}}}{{!}}{{{cap-custom7}}} |}}
{{#if:{{{img-custom7}}}| File:{{{img-custom7}}}{{!}}{{{cap-custom7}}} |}}
{{#if:{{{img-custom8}}}| File:{{{img-custom8}}}{{!}}{{{cap-custom8}}} |}}
 
{{#if:{{{img-custom9}}}| File:{{{img-custom9}}}{{!}}{{{cap-custom9}}} |}}
</gallery>
</gallery>
</div>
</div>
<tr><td class="snap-footer"></td><td class="snap-footer"></td></tr>
</td></tr></table></div></includeonly><noinclude>
</table></includeonly><noinclude>
 
This template is designed to be used on [[Index:States of the Federal States]] to provide a territorial overview and symbology for quick reference. Many fields in this template are ''required''. Optional parameters are marked accordingly.


<pre>
<pre>
Line 40: Line 41:
| name =
| name =
| flag = (without File:)
| flag = (without File:)
| postal = (two-letter postal code)
| region =
| capital =
| population =
| statehood = (optional)
| statehood = (optional)
| name-origin = (optional)
| etymology = (optional)
| demonym = (optional)
| demonym = (optional)
| population =
| postal = (two-letter postal code)
| capital =
| motto = (optional)
| song = (optional)
| largest-city =
| largest-city =
| other-metros = (optional, separate by commas)
| other-metros = (optional, separate by commas)
| motto = (optional)
| neighbors =
| song = (optional)
| relation_id =
| relation_id =
| region =
| neighbors =
| img-seal = (image, optional)
| img-seal = (image, optional)
| cap-seal = (caption, required if corresponding image)
| cap-seal = (caption, required if corresponding image)

Revision as of 23:16, 17 December 2022


This template is designed to be used on Index:States of the Federal States to provide a territorial overview and symbology for quick reference. Many fields in this template are required. Optional parameters are marked accordingly.

{{Snapshot FS state
| name =
| flag = (without File:)
| region =
| capital =
| population =
| statehood = (optional)
| etymology = (optional)
| demonym = (optional)
| postal = (two-letter postal code)
| motto = (optional)
| song = (optional)
| largest-city =
| other-metros = (optional, separate by commas)
| neighbors =
| relation_id =
| img-seal = (image, optional)
| cap-seal = (caption, required if corresponding image)
| img-bird = (image, optional)
| cap-bird = (caption, required if corresponding image)
| img-tree = (image, optional)
| cap-tree = (caption, required if corresponding image)
| img-license = (image, optional)
| cap-license = (caption, required if corresponding image)
| img-shield = (image, optional)
| cap-shield = (caption, required if corresponding image)
| img-custom1 = (image, optional)
| cap-custom1 = (caption, required if corresponding image)
| img-custom2 = (image, optional)
| cap-custom2 = (caption, required if corresponding image)
[...]
| img-custom7 = (image, optional)
| cap-custom7 = (caption, required if corresponding image)
}}