Jump to content

Template:Snapshot FS state: Difference between revisions

From OpenGeofiction
m Save point... template not finished
rebuil
 
(7 intermediate revisions by the same user not shown)
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}}}" 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>'''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 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>
* '''Postal code:''' {{{postal}}}
<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:{{{statehood|}}}| * '''Statehood:''' {{{statehood}}} |}}
<tr class="icard2-info"><td style="text-align:center;" colspan="3">'''Gallery of state symbols'''</td></tr></table>
{{#if:{{{name-origin|}}}| * '''Origin of name:''' {{{name-origin}}} |}}
<div style="text-align:center;">{{#tag:gallery|
</div><div style="column-count:3">
{{#if:{{{flag}}}|File:{{{flag}}}{{!}}Flag of {{{name}}}|}}
* '''Largest city:''' {{{largest-city}}}
{{#if:{{{img-seal}}}|File:{{{img-seal}}}{{!}}{{{cap-seal}}}|}}
{{#if:{{other-metros|}}}| * '''Other population centers:''' {{{other-metros}}} |}}
{{#if:{{{img-bird}}}|File:{{{img-bird}}}{{!}}{{{cap-bird}}}|}}
{{#if:{{{demonym|}}}| * '''Demonym:''' {{{demonym}}} |}}
{{#if:{{{img-flower}}}|File:{{{img-flower}}}{{!}}{{{cap-flower}}}|}}
</div><div style="column-count:2">
{{#if:{{{img-tree}}}|File:{{{img-tree}}}{{!}}{{{cap-tree}}}|}}
{{#if:{{{motto|}}| * '''State motto:''' {{{motto}}} |}}
{{#if:{{{img-license}}}|File:{{{img-license}}}{{!}}{{{cap-license}}}|}}
{{#if:{{{song|}}| * '''State song:''' {{{song}}} |}}
{{#if:{{{img-shield}}}|File:{{{img-shield}}}{{!}}{{{cap-shield}}}|}}
</div></td><td>[[File:OGFmapicon.png|frameless|right|{{relation|{{{relation_id}}}|View on map}}|link=]]</td></tr>
{{#if:{{{img-custom1}}}|File:{{{img-custom1}}}{{!}}{{{cap-custom1}}}|}}
{{#if:{{{neighbors|}}}| <tr><td colspan="3">'''Neighboring states:''' {{{neighbors}}}</td></tr> |}}
{{#if:{{{img-custom2}}}|File:{{{img-custom2}}}{{!}}{{{cap-custom2}}}|}}
<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 />
{{#if:{{{img-custom3}}}|File:{{{img-custom3}}}{{!}}{{{cap-custom3}}}|}}
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%; overflow:auto;" data-expandtext="&#9660;" data-collapsetext="&#9651;">
{{#if:{{{img-custom4}}}|File:{{{img-custom4}}}{{!}}{{{cap-custom4}}}|}}
<gallery>
{{#if:{{{img-custom5}}}|File:{{{img-custom5}}}{{!}}{{{cap-custom5}}}|}}
{{#if:{{{img-seal}}}| File:{{{img-seal}}}{{!}}{{{cap-seal}}} |}}
{{#if:{{{img-custom6}}}|File:{{{img-custom6}}}{{!}}{{{cap-custom6}}}|}}
{{#if:{{{img-bird}}}| File:{{{img-bird}}}{{!}}{{{cap-bird}}} |}}
{{#if:{{{img-custom7}}}|File:{{{img-custom7}}}{{!}}{{{cap-custom7}}}|}}
{{#if:{{{img-tree}}}| File:{{{img-tree}}}{{!}}{{{cap-tree}}} |}}
|mode=traditional}}</div>
{{#if:{{{img-license}}}| File:{{{img-license}}}{{!}}{{{cap-license}}} |}}
</div><br /><br /></includeonly><noinclude>
{{#if:{{{img-shield}}}| File:{{{img-shield}}}{{!}}{{{cap-shield}}} |}}
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.
{{#if:{{{img-custom1}}}| File:{{{img-custom1}}}{{!}}{{{cap-custom1}}} |}}
{{#if:{{{img-custom2}}}| File:{{{img-custom2}}}{{!}}{{{cap-custom2}}} |}}
{{#if:{{{img-custom3}}}| File:{{{img-custom3}}}{{!}}{{{cap-custom3}}} |}}
{{#if:{{{img-custom4}}}| File:{{{img-custom4}}}{{!}}{{{cap-custom4}}} |}}
{{#if:{{{img-custom5}}}| File:{{{img-custom5}}}{{!}}{{{cap-custom5}}} |}}
{{#if:{{{img-custom6}}}| File:{{{img-custom6}}}{{!}}{{{cap-custom6}}} |}}
{{#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>
</div>
<tr><td class="snap-footer"></td><td class="snap-footer"></td></tr>
</table></includeonly><noinclude>


<pre>
<pre>
Line 40: Line 27:
| 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)
| 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)
}}