Jump to content

Template:Snapshot FS state: Difference between revisions

From OpenGeofiction
work in progress — more soon
 
rebuil
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div id="{{{name}}}"></div><table class="wikitable"><tr><th colspan="2"> [[File:{{{flag}}}|42px|link=]]&nbsp;<span style="font-size:150%;">{{{name}}}</span></th></tr>
<includeonly><div id="{{{name}}}" class="icard2"><table class="icard2"><tr class="icard2-header"><th colspan="3"> [[File:{{{flag|Flag with question mark.svg}}}|38px|text-bottom|link=]]&nbsp;<span style="font-size:175%;">[[{{{name}}}]]</span></th></tr>
<tr class="cont"><td {{#if:{{{statehood|}}} | | colspan"2"}}>'''Two-letter postal abbreviation:''' {{{postal}}}</td>{{#if:{{{statehood|}}} | <td>'''Statehood:''' {{{statehood}}}</td> |}}</tr>
<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 {{#if:{{{motto|}}}{{{statehood|}}}| class="cont" |}}><td>'''Capital:''' {{{capital}}}</td><td>'''Largest city:''' {{{largest-city}}}</td></tr>
<tr class="icard2-info"><td>{{#if:{{{statehood|}}}| '''Statehood:''' {{{statehood}}}<br /> |}} '''Etymology:''' {{#if:{{{etymology|}}}| {{{etymology}}} | ''Unknown'' }}{{#if:{{{demonym|}}}| <br />'''Demonym:''' {{{demonym}}} |}}</td><td>'''Postal code:''' {{{postal}}}{{#if:{{{motto|}}}| <br />'''State motto:''' {{{motto}}} |}}{{#if:{{{song|}}}| <br />'''State song:''' {{{song}}} |}}</td><td> '''Largest city:''' {{{largest-city}}}{{#if:{{{other-metros|}}}| <br />'''Other population centers:''' {{{other-metros}}} |}}</td></tr>
{{#if:{{{motto|}}}|<tr {{#if:{{{song|}}}| class="cont" |}}><td colspan="2">'''State motto:''' "{{{song}}}"</td></tr>|}}
<tr style="padding:5px;"><td style="text-align:center;">[[File:OGFmapicon.png|frameless|28px|text-bottom|link=]] {{relation|{{{relation_id}}}|View on the OGF map}}</td><td style="text-align:center;" colspan="2">'''''Neighboring states:''' {{{neighbors}}}''</td></tr>
{{#if:{{{song|}}}|<tr><td colspan="2" style="text-align:center; background:#ffffff;">'''State song:''' "{{{song}}}"</td></tr>|}}
<tr class="icard2-info"><td style="text-align:center;" colspan="3">'''Gallery of state symbols'''</td></tr></table>
<tr><td colspan="2">{{#if:{{{relation|}}} | [[File:OGFmapicon.png|frame|right|{{relation{{!}}{{{relation}}}{{!}}View on map}}|link=]] |}}{{{{{name}}}}} is a state in the {{{region}}} region of the [[Federal States]]. It is bordered by {{{neighbors}}}. {{#if:{{{other-metros|}}} | The largest city of {{{name}}} is {{{largest-city}}}, but other notable population centers include {{{other-metros}}}. |}}</td></tr>
<div style="text-align:center;">{{#tag:gallery|
<tr><td colspan="2"><span style="font-size:125%; background-color:powderblue; text-align:center; width:80%; padding:4px;">Gallery of state symbols and imagery</span><br />
{{#if:{{{flag}}}|File:{{{flag}}}{{!}}Flag of {{{name}}}|}}
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;" data-expandtext="&#9660;" data-collapsetext="&#9651;">
{{#if:{{{img-seal}}}|File:{{{img-seal}}}{{!}}{{{cap-seal}}}|}}
<gallery>
{{#if:{{{img-bird}}}|File:{{{img-bird}}}{{!}}{{{cap-bird}}}|}}
{{#if:{{{img-seal}}}| File:{{{img-seal}}}{{!}}{{{cap-seal}}} |}}
{{#if:{{{img-flower}}}|File:{{{img-flower}}}{{!}}{{{cap-flower}}}|}}
{{#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}}} |}}
|mode=traditional}}</div>
{{#if:{{{img-custom8}}}| File:{{{img-custom8}}}{{!}}{{{cap-custom8}}} |}}
</div><br /><br /></includeonly><noinclude>
{{#if:{{{img-custom9}}}| File:{{{img-custom9}}}{{!}}{{{cap-custom9}}} |}}
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.
</gallery>
</div>
<tr><td class="snap-footer"></td><td class="snap-footer"></td></tr>
</table></includeonly><noinclude>


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

Latest revision as of 20:17, 17 January 2026

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)
}}