Template:Infobox Location: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{infobox
|aboveclass = mergedtoprow name
|aboveclass = mergedtoprow name mergedbottomrow
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheaderrowclass1 = mergedrow title {{{type|}}}
|subheaderrowclass1 = mergedtoprow title {{{locationtype|}}}
|subheader1 = {{#if:{{{type|}}}|{{{type|}}}}}
|subheader1 = {{#if:{{{type|}}}|{{{type|}}}}}
|subheaderrowclass2 = mergedbottomrow {{{type|}}}
|subheaderrowclass2 = mergedbottomrow {{{locationtype|}}}
|subheader2 = of {{#if:{{{location|}}}|{{{location|}}}}}
|subheader2 = of {{#if:{{{location|}}}|{{{location|}}}}}
|imagerowclass1 = mergedtoprow
|imagerowclass1 = mergedtoprow mergedbottomrow
|image1 = {{#if:{{{image|}}}|[[File:{{{image|}}}:250px]]}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|caption1 = {{#if:{{{image-caption|}}}|{{{image-caption|}}}}}
|caption1 = {{#if:{{{image-caption|}}}|{{{image-caption|}}}}}
|imagerowclass2 = mergedtoprow mergedbottomrow
|imagerowclass2 = mergedtoprow mergedbottomrow
Line 26: Line 26:
|label5 = Owner
|label5 = Owner
|data5 = {{#if:{{{owner|}}}|{{{owner|}}}}}
|data5 = {{#if:{{{owner|}}}|{{{owner|}}}}}
|rowclass6 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{government|}}}|1|0}}or{{#if:{{{ruler|}}}|1|0}}|1||mergedbottomrow}}}}
|rowclass6 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{government|}}}|1|0}}or{{#if:{{{ruler|}}}|1|0}}|1||mergedbottomrow}}}}
|label6 = Capital
|label6 = Capital
Line 36: Line 35:
|label8 = {{#if:{{{rulertype|}}}|{{{rulertype|}}}}}
|label8 = {{#if:{{{rulertype|}}}|{{{rulertype|}}}}}
|data8 = {{#if:{{{ruler|}}}|{{{ruler|}}}}}
|data8 = {{#if:{{{ruler|}}}|{{{ruler|}}}}}
 
|rowclass9 = mergedtoprow mergedbottomrow
|label9 = Nearest City
|label9 = Nearest City
|data9 = {{#if:{{{nearestcity|}}}|{{{nearestcity|}}}}}
|data9 = {{#if:{{{nearestcity|}}}|{{{nearestcity|}}}}}
|rowclass10 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{languages|}}}|1|0}}or{{#if:{{{religions|}}}|1|0}}|1||mergedbottomrow}}}}
|label10 = Largest City
|label10 = Largest City
|data10 = {{#if:{{{largestcity|}}}|{{{largestcity|}}}}}
|data10 = {{#if:{{{largestcity|}}}|{{{largestcity|}}}}}
|rowclass11 = {{#if:{{{largestcity|}}}||mergedtoprow}} mergedrow {{#ifeq:{{#expr:{{#if:{{{temples|}}}|1|0}}or{{#if:{{{religions|}}}|1|0}}|1||mergedbottomrow}}}}
|label11 = Major Languages
|label11 = Major Languages
|data11 = {{#if:{{{languages|}}}|{{{languages|}}}}}
|data11 = {{#if:{{{languages|}}}|{{{languages|}}}}}
|rowclass12 = {{#if:{{{languages|}}}||mergedtoprow}} mergedbottomrow
|label12 = Notable Temples
|label12 = Notable Temples
|data12 = {{#if:{{{temples|}}}|{{{temples|}}}}}
|data12 = {{#if:{{{temples|}}}|{{{temples|}}}}}
|rowclass13 = {{#ifeq:{{#expr:{{#if:{{{largestcity|}}}|1|0}}or{{#if:{{{languages|}}}|1|0}}|1||mergedtoprow}}}} mergedbottomrow
|label13 = Major Religions
|label13 = Major Religions
|data13 = {{#if:{{{religions|}}}|{{{religions|}}}}}
|data13 = {{#if:{{{religions|}}}|{{{religions|}}}}}
 
|rowclass14 = mergedtoprow mergedbottomrow
|label14 = Setting
|label14 = Setting
|data14 = {{#if:{{{setting|}}}|{{{setting|}}}}}
|data14 = {{#if:{{{setting|}}}|{{{setting|}}}}}

Latest revision as of 17:44, 4 July 2021