Template:Populous worlds: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
No edit summary
Tags: Manual revert 2017 source edit
(Undo revision 28543 by Qwert (talk))
Tag: Undo
 
(179 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{class|}}}
{{#switch:{{{class|}}}
|nav={{navbox top
|nav={{navbox top
  | titlestyle = {{{theme-colour}}}
   | name = {{{name|}}}
   | name = {{{name|}}}
   | navbar = {{#if:{{{nonav|}}}|off|{{#if:{{{name|}}}||off}}}}
   | navbar = {{#if:{{{nonav|}}}|off|{{#if:{{{name|}}}||off}}}}
Line 8: Line 9:
{{(!}} style="width:100%;" class="wraplinks"
{{(!}} style="width:100%;" class="wraplinks"
|#default=<div>
|#default=<div>
{{(!}} {{#if:{{{collapsed_state|}}}|class="collapsible {{{collapsed_state}}} largestWorlds-title-background"}} style="font-size:88%;margin-left: auto; margin-right: auto; width: 100%; border: 1px solid darkgray;"
{{(!}} {{#if:{{{collapsed_state|}}}|class="collapsible {{{collapsed_state}}} largestWorlds-title-background"}} class="largestWorlds-table-background" style="font-size:88%;margin-left: auto; margin-right: auto; width: 100%; border: 1px solid darkgray;"
{{!}}-<!-- TITLE & SOURCE -->
{{!}}-<!-- TITLE & SOURCE -->
!colspan="{{#if:{{{metro|}}}|12|10}}" style="padding:0.3em 0.75em;"{{!}} {{#if:{{{collapsed_state|}}}||<div style="float:right; width:6em; height:2.6em">&nbsp;</div>}}{{#if:{{{nonav|}}}||{{#if:{{{name|}}}|{{navbar|{{{name|}}}|mini=1|style=float: left;height:2.6em;}}|<div style="float:left; width:6em; height:2.6em;">&nbsp;</div>}}}} <div style="height:2.6em;line-height:1.3em;"><span style="font-size:110%;">{{#if:{{{most populous}}}|Most populous}} {{{kind|worlds}}} in {{{country}}}</span><br /><div style="display:inline;font-weight:normal;">{{#if:{{{stat_ref|}}} | {{{stat_ref|Source?}}} | Source? }}</div></div>
! colspan="{{#if:{{{metro|}}}|12|10}}" style="padding:0.3em 0.75em;"{{!}} {{#if:{{{collapsed_state|}}}||<div style="float:right; width:6em; height:2.6em">&nbsp;</div>}}{{#if:{{{nonav|}}}||{{#if:{{{name|}}}|{{navbar|{{{name|}}}|mini=1|style=float: left;height:2.6em;}}|<div style="float:left; width:6em; height:2.6em;">&nbsp;</div>}}}} <div style="height:2.6em;line-height:1.3em;"><span style="font-size:110%;">{{#if:{{{most populous}}}|Most populous}} {{{kind|worlds}}} in {{{country}}}</span><br /><div style="display:inline;font-weight:normal;">{{#if:{{{stat_ref|}}} | {{{stat_ref|Source?}}} | Source? }}</div></div>
}}<!-- END IF CLASS-->
}}<!-- END IF CLASS-->
|-  <!-- TABLE HEADINGS -->
|-  <!-- TABLE HEADINGS -->
! class="largestWorlds-title-background" | <!-- blank heading over images 1 & 2 -->{{#if:{{{img_1|}}}{{{img_2|}}} | !!
! class="largestWorlds-table-background" | <!-- blank heading over images 1 & 2 -->{{#if:{{{img_1|}}}{{{img_2|}}} !!
}} {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}|Rank]] | {{#ifexist: List of worlds in {{{country}}} by population | [[List of worlds in {{{country}}} by population|Rank]] | Rank }} }}
}}  
! class="largestWorlds-title-background" |{{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of worlds in {{{country}}} | [[List of worlds in {{{country}}}|Name]]}} }}
! class="largestWorlds-table-background" | Rank
{{#if:{{{div_1|}}}{{{div_2|}}}{{{div_4|}}}{{{div_5|}}}|! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | {{#ifexist:{{{div_name|Administrative division}}}s of {{{country}}}|[[{{{div_name|Administrative division}}}s of {{{country}}}|{{{div_name|Administrative division}}}]]|{{{div_name|Administrative division}}}}} }} }}
! class="largestWorlds-table-background" |  
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of worlds in {{{country}}} by population | [[List of worlds in {{{country}}} by population|Pop.]] | Pop. }} }} {{#if:{{{metro|}}}|!! {{#if:{{{list_by_metro|}}} | [[{{{list_by_Metro}}}| Metro.]] | {{#ifexist: List of worlds in {{{country}}} by metropolitan population | [[List of worlds in {{{country}}} by metropolitan population|Metro.]] | Metro. }} }} }}
! class="largestWorlds-table-background" | {{#if:{{{div_1|}}}{{{div_2|}}}{{{div_4|}}}{{{div_5|}}}|{{#if:{{{div_link|}}} | [[{{{div_link}}}]] | {{#ifexist:{{{div_name|Administrative division}}}s of {{{country}}}|[[{{{div_name|Administrative division}}}s of {{{country}}}|{{{div_name|Administrative division}}}]]|{{{div_name|Administrative division}}}}} }} }}
{{#if:{{{world_11|}}} | <!-- determines whether there should be two columns or just one -->
! class="largestWorlds-table-background" | Population
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}|Rank]] | {{#ifexist: List of worlds in {{{country}}} by population | [[List of worlds in {{{country}}} by population|Rank]] | Rank }} }}
 
! {{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of worlds in {{{country}}} | [[List of worlds in {{{country}}}|Name]]}} }}
! class="largestWorlds-table-background" | Rank
{{#if:{{{div_1|}}}{{{div_2|}}}{{{div_4|}}}{{{div_5|}}}| ! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | [[{{{div_name}}}s of {{{country}}}|{{{div_name}}}]] }} }}
! class="largestWorlds-table-background" |  
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of worlds in {{{country}}} by population | [[List of worlds in {{{country}}} by population|Pop.]] | Pop. }} }} {{#if:{{{metro|}}}|!! {{#if:{{{list_by_metro|}}} | [[{{{list_by_Metro}}}| Metro.]] | {{#ifexist: List of worlds in {{{country}}} by metropolitan population | [[List of worlds in {{{country}}} by metropolitan population|Metro.]] | Metro. }} }} }} {{#if:{{{img_3|}}}{{{img_4|}}} | !!  }}<!-- blank heading over images 3 & 4 -->
! class="largestWorlds-table-background" | {{#if:{{{div_1|}}}{{{div_2|}}}{{{div_4|}}}{{{div_5|}}}|{{#if:{{{div_link|}}} | [[{{{div_link}}}]] | {{#ifexist:{{{div_name|Administrative division}}}s of {{{country}}}|[[{{{div_name|Administrative division}}}s of {{{country}}}|{{{div_name|Administrative division}}}]]|{{{div_name|Administrative division}}}}} }} }}
| {{#if:{{{img_3|}}}{{{img_4|}}} | !  }}<!-- blank heading over images 3 & 4 -->
! class="largestWorlds-table-background" | Population
}} <!-- ends if world_11 -->
! class="largestWorlds-table-background" | {{#if:{{{img_3|}}}{{{img_4|}}}}}<!-- blank heading over images 3 & 4 -->
|-
|-
{{#if:{{{img_1|}}}{{{img_2|}}} | <!-- IMAGES 1 & 2 -->
{{#if:{{{img_1|}}}{{{img_2|}}} | <!-- IMAGES 1 & 2 -->

Latest revision as of 21:58, 2 March 2024

 
 
Most populous worlds in {{{country}}}
Source?
Rank Population Rank Population
1 [[{{{world_1}}}]] {{{pop_1}}}
2 [[{{{world_2}}}]] {{{pop_2}}}
3 [[{{{world_3}}}]] {{{pop_3}}}
4 [[{{{world_4}}}]] {{{pop_4}}}
5 [[{{{world_5}}}]] {{{pop_5}}}
6 [[{{{world_6}}}]] {{{pop_6}}}
7 [[{{{world_7}}}]] {{{pop_7}}}
8 [[{{{world_8}}}]] {{{pop_8}}}
9 [[{{{world_9}}}]] {{{pop_9}}}
10 [[{{{world_10}}}]] {{{pop_10}}}