Template:Infobox Location: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{infobox
|aboveclass = mergedtoprow name mergedbottomrow
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheaderrowclass1 = mergedtoprow title {{{locationtype|}}}
|subheader1 = {{#if:{{{type|}}}|{{{type|}}}}}
|subheader1 = {{#if:{{{type|}}}|{{{type|}}}}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image|}}}:250px]]}}
|subheaderrowclass2 = mergedbottomrow {{{locationtype|}}}
|subheader2 = of {{#if:{{{location|}}}|{{{location|}}}}}
|imagerowclass1 = mergedtoprow mergedbottomrow
|image1 = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|caption1 = {{#if:{{{image-caption|}}}|{{{image-caption|}}}}}
|caption1 = {{#if:{{{image-caption|}}}|{{{image-caption|}}}}}
|imagerowclass2 = mergedtoprow mergedbottomrow
|image2 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}}}
|image2 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}}}
|label1 = Location
|rowclass1 = mergedtoprow {{#if:{{{population|}}}||mergedbottomrow}}
|data1 = {{#if:{{{location|}}}|{{{location|}}}}}
|label1 = Area
|label2 = Nearest City
|data1 = {{#if:{{{area|}}}|{{{area|}}}}}
|data2 = {{#if:{{{nearestcity|}}}|{{{nearestcity|}}}}}
|rowclass2 = {{#if:{{{area|}}}||mergedtoprow}} mergedbottomrow
|label3 = Largest City
|label2 = Population
|data3 = {{#if:{{{largestcity|}}}|{{{largestcity|}}}}}
|data2 = {{#if:{{{population|}}}|{{{population|}}}}}
|label4 = Area
|rowclass3 = mergedtoprow {{#if:{{{largestcities|}}}||mergedbottomrow}}
|data4 = {{#if:{{{area|}}}|{{{area|}}}}}
|label3 = Countries
|label5 = Population
|data3 = {{#if:{{{countries|}}}|{{{countries|}}}}}
|data5 = {{#if:{{{population|}}}|{{{population|}}}}}
|rowclass4 = {{#if:{{{countries|}}}||mergedtoprow}} mergedbottomrow
|label6 = Countries
|label4 = Largest Cities
|data6 = {{#if:{{{countries|}}}|{{{countries|}}}}}
|data4 = {{#if:{{{largestcities|}}}|{{{largestcities|}}}}}
|label7 = Largest Cities
|rowclass5 = mergedtoprow mergedbottomrow
|data7 = {{#if:{{{largestcities|}}}|{{{largestcities|}}}}}
|label5 = Owner
|label8 = Owner
|data5 = {{#if:{{{owner|}}}|{{{owner|}}}}}
|data8 = {{#if:{{{owner|}}}|{{{owner|}}}}}
|rowclass6 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{government|}}}|1|0}}or{{#if:{{{ruler|}}}|1|0}}|1||mergedbottomrow}}}}
|label9 = Capital
|label6 = Capital
|data9 = {{#if:{{{capital|}}}|{{{capital|}}}}}
|data6 = {{#if:{{{capital|}}}|{{{capital|}}}}}
|label10 = Government
|rowclass7 = {{#if:{{{capital|}}}||mergedtoprow}} mergedrow {{#if:{{{ruler|}}}||mergedbottomrow}}
|data10 = {{#if:{{{government|}}}|{{{government|}}}}}
|label7 = Government
|label11 = {{#if:{{{rulertype|}}}|{{{rulertype|}}}}}
|data7 = {{#if:{{{government|}}}|{{{government|}}}}}
|data11 = {{#if:{{{ruler|}}}|{{{ruler|}}}}}
|rowclass8 = {{#ifeq:{{#expr:{{#if:{{{capital|}}}|1|0}}or{{#if:{{{government|}}}|1|0}}|1||mergedtoprow}}}} mergedbottomrow
|label12 = Major Languages
|label8 = {{#if:{{{rulertype|}}}|{{{rulertype|}}}}}
|data12 = {{#if:{{{languages|}}}|{{{languages|}}}}}
|data8 = {{#if:{{{ruler|}}}|{{{ruler|}}}}}
|label13 = Notable Temples
|rowclass9 = mergedtoprow mergedbottomrow
|data13 = {{#if:{{{temples|}}}|{{{temples|}}}}}
|label9 = Nearest City
|label14 = Major Religions
|data9 = {{#if:{{{nearestcity|}}}|{{{nearestcity|}}}}}
|data14 = {{#if:{{{religions|}}}|{{{religions|}}}}}
|rowclass10 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{languages|}}}|1|0}}or{{#if:{{{religions|}}}|1|0}}|1||mergedbottomrow}}}}
|label15 = Setting
|label10 = Largest City
|data15 = {{#if:{{{setting|}}}|{{{setting|}}}}}
|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
|data11 = {{#if:{{{languages|}}}|{{{languages|}}}}}
|rowclass12 = {{#if:{{{languages|}}}||mergedtoprow}} mergedbottomrow
|label12 = Notable Temples
|data12 = {{#if:{{{temples|}}}|{{{temples|}}}}}
|rowclass13 = {{#ifeq:{{#expr:{{#if:{{{largestcity|}}}|1|0}}or{{#if:{{{languages|}}}|1|0}}|1||mergedtoprow}}}} mergedbottomrow
|label13 = Major Religions
|data13 = {{#if:{{{religions|}}}|{{{religions|}}}}}
|rowclass14 = mergedtoprow mergedbottomrow
|label14 = Setting
|data14 = {{#if:{{{setting|}}}|{{{setting|}}}}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 17:44, 4 July 2021