Jump to content

Template:Infocard: Difference between revisions

From OpenGeofiction
Setting up
 
rebuild
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="border: solid 1px #999; background: #f3f3f3; border-radius: 0.2em; box-shadow: 0 3px 3px #ccc; margin-bottom: 1.5em; width: 99%; padding: .5em;">
<includeonly><div class="infocard">
{| style="border:0px; margin: .1em; width: 99%;"
{| style="border:0px; margin: .1em; width: 99%;"
|-
|-
| style="width: 12em; vertical-align:top;" | [[File:{{{flag}}}|150px|Flag of {{PAGENAME}}]]
| style="width: 12em; vertical-align:top;" | [[File:{{{flag}}}|150px|Flag of {{PAGENAME}}]]
| <span style="font-size: 150%; line-height: 1.5;">'''{{{name|{{PAGENAME}}}}}'''</span> {{#if:{{{symbol|}}}|[[File:{{{symbol}}}|frameless|right|text-top|75px|{{{symbol_caption}}}]]|}}<br />{{#if:{{{native_name|}}}|''{{{native_name|}}}'' ({{{native_language|}}})|}}<br /><div style="columns: 5em 2; padding: .5em;">{{#if:{{{capital|}}}|'''Capital:''' {{{capital}}}|}}<br />{{#if:{{{population|}}}|'''Population:''' {{{population}}} {{#if:{{{population_year|}}}|({{{population_year}}})|}}|}}<br />{{#if:{{{motto|}}}|'''Motto:''' {{{motto|}}}|}}<br />{{#if:{{{anthem|}}}|'''Anthem:''' {{{anthem|}}}|}}</div>
| <span style="font-size: 150%; line-height: 1.5;">'''{{{name|{{PAGENAME}}}}}'''</span> {{#if:{{{symbol|}}}|[[File:{{{symbol}}}|frameless|right|text-top|75px|{{{symbol_caption}}}]]|}}<br />{{#if:{{{native_name|}}}|''{{{native_name|}}}'' ({{{native_language|}}})|}}<br /><div style="columns: 5em 2; padding: .5em;">{{#if:{{{capital|}}}|'''Capital:''' {{{capital}}}<br />|}}{{#if:{{{population|}}}|'''Population:''' {{{population}}} {{#if:{{{population_year|}}}|({{{population_year}}})|}}<br />|}}{{#if:{{{motto|}}}|'''Motto:''' {{{motto|}}}<br />|}}{{#if:{{{anthem|}}}|'''Anthem:''' {{{anthem|}}}|}}</div>
|-
|-
|}
|}
Line 20: Line 20:
{{{intro}}}
{{{intro}}}
{{clear}}
{{clear}}
</div></includeonly>
</div>
<noinclude>
</includeonly><noinclude>
This template is designed to display an introductory "card" that provides a very basic overview of your territory. It is not intended to be a comprehensive infobox or to explain everything about a territory. Rather, it is designed to give a users a quick look at your territory and to introduce it to the community.
This template is designed to display an introductory "card" that provides a very basic overview of your territory. It is not intended to be a comprehensive infobox or to explain everything about a territory. Rather, it is designed to give a users a quick look at your territory and to introduce it to the community.
See: [[Help:Making good wiki articles/Territory templates]]
<pre>
<pre>
{{Infocard
{{Infocard
Line 42: Line 44:
| intro = (one or two introductory paragraphs normally found at the header of an article)
| intro = (one or two introductory paragraphs normally found at the header of an article)
}}</pre>
}}</pre>
[[Category:Infobox templates]]
[[Category:Infocard templates]]
</noinclude>
</noinclude>

Latest revision as of 20:48, 17 January 2026

This template is designed to display an introductory "card" that provides a very basic overview of your territory. It is not intended to be a comprehensive infobox or to explain everything about a territory. Rather, it is designed to give a users a quick look at your territory and to introduce it to the community.

See: Help:Making good wiki articles/Territory templates

{{Infocard
| name = (official or conventional English name)
| flag = (file name; without "File:" included)
| symbol = (a coat of arms, emblem, or other symbol; without "File:" included)
| symbol_caption =
| native_name = (use the full/long native name differs from the official or conventional name)
| native_language = (language of the native name; does not display without native_name parameter)
| capital =
| population =
| population_year =
| motto =
| anthem = 
| latitude = (for map center point)
| longitude = (for map center point)
| zoom = (defaults to 6 if unset)
| relation = (use the boundary relation)
| intro = (one or two introductory paragraphs normally found at the header of an article)
}}