Template:InfoboxNation: Difference between revisions

Content deleted Content added
mNo edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 5:
|above = {{{Name|{{PAGENAME}}}}}
|subheader = {{{year|}}}
|image1 = [[File:{{#if:{{{image1|}}}|{{{image1|}}}|No_flag.png}}|230px]]
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes |maxvals=1 |{{{image|}}}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|250px}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|}}}|suppressplaceholder=yes}}
|captioncaption1 = {{{flag_text}}}
|data1image2 = {{{anthemimage|}}}
|caption2 = {{{map_text|}}}
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image2 |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes |maxvals=1 |{{{image|}}}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|250px}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|}}}|suppressplaceholder=yes}}
|caption2data1 = {{{map_textanthem|}}}
|bodystyle = background:#f8f9fa
|labelstyle = background:#f1f1f1;
Line 30:
}}
</includeonly>
<noinclude>
==When to use==
{{Template protected}}
 
==Usage==
<syntaxhighlight lang="wikitext" style="overflow:auto">
{{InfoboxNation
| year =
| image1 =
| flag_text =
| image2 =
| map_text =
| anthem =
| language =
| leader =
| founder =
| dimension =
| coords =
}}
</syntaxhighlight>
</noinclude>