Template:Snapshot FS state: Difference between revisions

From OpenGeofiction
(Rewriting template)
mNo edit summary
Line 2: Line 2:
<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><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 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>
<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>
<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>
<tr style="padding:5px;"><td style="text-align:center;" colspan="2">'''''Neighboring states:''' {{{neighbors}}}''</td><td style="text-align:center;">[[File:OGFmapicon.png|frameless|28px|text-bottom|link=]] {{relation|{{{relation_id}}}|View on the OGF map}}</td></tr>
<tr style="background-color:#f9f9dd; padding:5px;"><td style="text-align:center;" colspan="3">Gallery of state symbols and imagery</td></tr>
<tr style="background-color:#f9f9dd; padding:5px;"><td style="text-align:center;" colspan="3">'''Gallery of state symbols and imagery'''</td></tr></table>
<tr><td colspan="3"><div class="toccolours mw-collapsible mw-collapsed" style="width:90%; overflow:auto;" data-expandtext="&#9660;" data-collapsetext="&#9651;">
<gallery>
<gallery>


Line 10: Line 9:


{{#if:{{{img-bird}}}| File:{{{img-bird}}}{{!}}{{{cap-bird}}} |}}
{{#if:{{{img-bird}}}| File:{{{img-bird}}}{{!}}{{{cap-bird}}} |}}
{{#if:{{{img-flower}}}| File:{{{img-flower}}}{{!}}{{{cap-tree}}} |}}


{{#if:{{{img-tree}}}| File:{{{img-tree}}}{{!}}{{{cap-tree}}} |}}
{{#if:{{{img-tree}}}| File:{{{img-tree}}}{{!}}{{{cap-tree}}} |}}
Line 32: Line 33:


</gallery>
</gallery>
</div>
</div></includeonly><noinclude>
</td></tr></table></div></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.
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.
Line 58: Line 58:
| img-bird = (image, optional)
| img-bird = (image, optional)
| cap-bird = (caption, required if corresponding image)
| cap-bird = (caption, required if corresponding image)
| img-flower = (image, optional)
| cap-flower = (caption, required if corresponding image)
| img-tree = (image, optional)
| img-tree = (image, optional)
| cap-tree = (caption, required if corresponding image)
| cap-tree = (caption, required if corresponding image)

Revision as of 23:21, 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-flower = (image, optional)
| cap-flower = (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)
}}