Template:Infobox political division: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
| {{#ifeq:{{yesno|{{{embed|}}}}}|yes|title|above}} = {{#ifeq:{{yesno|{{{embed|}}}}}|yes| | | {{#ifeq:{{yesno|{{{embed|}}}}}|yes|title|above}} = {{#ifeq:{{yesno|{{{embed|}}}}}|yes| | ||
|<div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{ | |<div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAME}}}}</div> | ||
}}{{#if:{{{native_name|}}}|<div class="ib-pol-div-native nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{other_name|}}}|<div class="ib-pol-div-other nickname">{{{other_name}}}</div>}} | }}{{#if:{{{native_name|}}}|<div class="ib-pol-div-native nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{other_name|}}}|<div class="ib-pol-div-other nickname">{{{other_name}}}</div>}} | ||
<!--** names, type, and transliterations ** --> | <!--** names, type, and transliterations ** --> | ||
| subheader = {{#if:{{both|{{if empty|{{{name|}}}|{{{official_name|}}}|{{ | | subheader = {{#if:{{both|{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAME}}}}{{#ifeq:{{yesno|{{{embed|}}}}}|yes|1}}|{{{settlement_type|{{{type|}}}}}}}}|<div class="category">{{{settlement_type|{{{type}}}}}}</div>}} | ||
| rowclass1 = mergedtoprow ib-pol-div-official-below | | rowclass1 = mergedtoprow ib-pol-div-official-below | ||
Revision as of 07:33, 21 August 2022
[create]
Template documentation
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |