Difference between revisions of "Template:Infobox disputed islands/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(←Created page with '<includeonly>{{Infobox | bodyclass = geography vcard | bodystyle = width:23em | headerstyle = text-align:left | above = <span class="fn org"> {{{name|{{PAGENAME...')
 
imported>Zackmann08
(WIP)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
−
| bodyclass = geography vcard
+
<!--| bodyclass = geography vcard-->
 +
| headerstyle = background-color: #efefef;
 
| bodystyle = width:23em
 
| bodystyle = width:23em
  
−
| headerstyle = text-align:left
+
| title = <span class="fn org"> {{{name|{{PAGENAMEBASE}}}}}</span>
−
| above = <span class="fn org"> {{{name|{{PAGENAMEBASE}}}}}</span>
+
| abovestyle = background-color: #cef2e0; font-size: 100%;
−
| subheader = Disputed Island{{#ifeq:{{{plural}}}|yes|s}}
+
| above =  Disputed island{{#ifeq:{{{plural}}}|yes|s}}{{#if:{{{native name|}}}|<br>{{#if:{{{native name link|}}}|[[{{{native name link}}}|Native name]]|Native name}}: {{{native name}}} }}{{#if:{{{other_names|}}}|<br>Other names: {{{other_names}}} }}
  
−
{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}{{#if:{{{other_name|}}}|<br /><span class="nickname" style="font-size:78%">{{{other_name}}}</span>}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image name |}}}|size={{{image size|220px}}}|alt={{{image alt|}}}}}
−
{{#if:{{{native name<includeonly>|</includeonly>}}}|<br />{{#if:{{{native name link|}}}|[[{{{native name link}}}|Native name]]|Native name}}: {{{native name}}} }}{{#if:{{{other_names|}}}|<br />Other names: {{{other_names}}} }}
+
| caption = {{{image caption|}}}
  
−
}}
+
| header1 = Geography
 +
| data2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{locator map|}}}|size={{{map size|220px}}}|alt={{{map alt|}}}}}
 +
 
 +
| label3 = Location
 +
| data3 = {{{location|}}}
 +
| label4 = Coordinates
 +
| data4 = {{{coordinates|}}}
 +
| label5 = Archipelago
 +
| data5 = {{{archipelago|}}}
 +
| label6 = Total islands
 +
| data6 = {{{total islands|}}}
 +
| label7 = Major islands
 +
| data7 = {{{major islands|}}}
 +
| label8 = Area
 +
| data8 = {{#if:{{{area_km2|}}}{{{area_sqmi|}}}|{{convinfobox|{{{area_km2|}}}|km2|{{{area_sqmi|}}}|mi2}}|{{{area|}}}}}
 +
| label9 = Rank
 +
| data9 = {{#if: {{{rank|}}}|[[List of islands by area|{{{rank|}}}]]}}
 +
| label10 = Length
 +
| data10 = {{#if:{{{length_km|}}}{{{length_mi|}}}|{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}|{{{length|}}}}}
 +
| label11 = Width
 +
| data11 = {{#if:{{{width_km|}}}{{{width_mi|}}}|{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}|{{{width|}}}}}
 +
| label12 = Coastline
 +
| data12 = {{#if:{{{coastline_km|}}}{{{coastline_mi|}}}|{{convinfobox|{{{coastline_km|}}}|km|{{{coastline_mi|}}}|mi}}|{{{coastline|}}}}}
 +
| label13 = Highest point
 +
| data13 = {{ubl|{{{highest mount|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{{elevation|}}}}}}}
 +
 
 +
 
 +
| header14 = Administered by
 +
 
 +
| data15 = {{Infobox
 +
| child = yes
 +
| data1 = {{autolink|{{{country|}}}}}
 +
| label2 = {{{country admin divisions title|}}}
 +
| data2 = {{{country admin divisions|}}}
 +
| label3 = {{{country admin divisions title 1|}}}
 +
| data3 = {{{country admin divisions 1|}}}
 +
| label4 = {{{country admin divisions title 2|}}}
 +
| data4 = {{{country admin divisions 2|}}}
 +
 
 +
| label5 = Capital city
 +
| data5 = {{{country capital|}}}
 +
| label6 = Largest city
 +
| data6 =  {{{country largest city}}} {{#if:{{{country largest city population|}}}|({{{country largest city population}}})}}
 +
| label7 = {{{country leader title|}}}
 +
| data7 = {{{country leader name|}}}
 +
}}  
  
−
</includeonly><noinclude>
+
}}</includeonly><noinclude>
−
{{Col-begin}}
+
{{Testcase table
−
{{Col-2}}
 
−
{{Infobox disputed islands/sandbox
 
−
| name = "name"
 
−
|  plural = yes
 
−
|  native name link = " native name link"
 
−
|  native name = " native name"
 
−
|  other_names = " other_names"
 
−
|  image name = " image name"
 
−
|  image size = " image size"
 
−
|  image caption = " image caption"
 
−
|  locator map = " locator map"
 
−
|  map_custom = " map_custom"
 
−
|  location = " location"
 
−
|  coordinates = " coordinates"
 
−
|  archipelago = " archipelago"
 
−
|  total islands = " total islands"
 
−
|  major islands = " major islands"
 
−
|  area = " area"
 
−
|  area_km2 = " area_km2"
 
−
|  area_sqmi = " area_sqmi"
 
−
|  rank = " rank"
 
−
|  length = " length"
 
−
|  length_km = " length_km"
 
−
|  length_mi = " length_mi"
 
−
|  width = " width"
 
−
|  width_km = " width_km"
 
−
|  width_mi = " width_mi"
 
−
|  widgth_mi = " widgth_mi"
 
−
|  coastline = " coastline"
 
−
|  coastline_km = " coastline_km"
 
−
|  coastline_mi = " coastline_mi"
 
−
|  highest mount = " highest mount"
 
−
|  elevation_m = " elevation_m"
 
−
|  elevation_ft = " elevation_ft"
 
−
|  elevation = " elevation"
 
−
|  country = " country"
 
−
|  country admin divisions title = " country admin divisions title"
 
−
|  country admin divisions = " country admin divisions"
 
−
|  country admin divisions title 1 = " country admin divisions title 1"
 
−
|  country admin divisions 1 = " country admin divisions 1"
 
−
|  country admin divisions title 2 = " country admin divisions title 2"
 
−
|  country admin divisions 2 = " country admin divisions 2"
 
−
|  country capital = " country capital"
 
−
|  country largest city = " country largest city"
 
−
|  country largest city population = " country largest city population"
 
−
|  country leader name = " country leader name"
 
−
|  country leader title = " country leader title"
 
−
|  country claim = " country claim"
 
−
|  country claim divisions title = " country claim divisions title"
 
−
|  country claim divisions = " country claim divisions"
 
−
|  country claim divisions title 1 = " country claim divisions title 1"
 
−
|  country claim divisions 1 = " country claim divisions 1"
 
−
|  country claim divisions title 2 = " country claim divisions title 2"
 
−
|  country claim divisions 2 = " country claim divisions 2"
 
−
|  country claim capital = " country claim capital"
 
−
|  country claim largest city = " country claim largest city"
 
−
|  country claim largest city population = " country claim largest city population"
 
−
|  country claim leader name = " country claim leader name"
 
−
|  country 1 claim = " country 1 claim"
 
−
|  country 1 claim divisions title = " country 1 claim divisions title"
 
−
|  country 1 claim divisions = " country 1 claim divisions"
 
−
|  country 1 claim capital = " country 1 claim capital"
 
−
|  country 1 claim largest city = " country 1 claim largest city"
 
−
|  country 1 claim largest city population = " country 1 claim largest city population"
 
−
|  country 1 claim leader name = " country 1 claim leader name"
 
−
|  country 1 leader title = " country 1 leader title"
 
−
|  country 2 claim = " country 2 claim"
 
−
|  country 2 claim divisions title = " country 2 claim divisions title"
 
−
|  country 2 claim divisions = " country 2 claim divisions"
 
−
|  country 2 claim capital = " country 2 claim capital"
 
−
|  country 2 claim largest city = " country 2 claim largest city"
 
−
|  country 2 claim largest city population = " country 2 claim largest city population"
 
−
|  country 2 claim leader name = " country 2 claim leader name"
 
−
|  country 2 claim leader title = " country 2 claim leader title"
 
−
|  country 3 claim = " country 3 claim"
 
−
|  country 3 claim divisions title = " country 3 claim divisions title"
 
−
|  country 3 claim divisions = " country 3 claim divisions"
 
−
|  country 3 claim capital = " country 3 claim capital"
 
−
|  country 3 claim largest city = " country 3 claim largest city"
 
−
|  country 3 claim largest city population = " country 3 claim largest city population"
 
−
|  country 3 claim leader name = " country 3 claim leader name"
 
−
|  country 3 claim leader title = " country 3 claim leader title"
 
−
|  country 4 claim = " country 4 claim"
 
−
|  country 4 claim divisions title = " country 4 claim divisions title"
 
−
|  country 4 claim divisions = " country 4 claim divisions"
 
−
|  country 4 claim capital = " country 4 claim capital"
 
−
|  country 4 claim largest city = " country 4 claim largest city"
 
−
|  country 4 claim largest city population = " country 4 claim largest city population"
 
−
|  country 4 claim leader name = " country 4 claim leader name"
 
−
|  country 4 claim leader title = " country 4 claim leader title"
 
−
|  country 5 claim = " country 5 claim"
 
−
|  country 5 claim divisions title = " country 5 claim divisions title"
 
−
|  country 5 claim divisions = " country 5 claim divisions"
 
−
|  country 5 claim capital = " country 5 claim capital"
 
−
|  country 5 claim largest city = " country 5 claim largest city"
 
−
|  country 5 claim largest city population = " country 5 claim largest city population"
 
−
|  country 5 claim leader name = " country 5 claim leader name"
 
−
|  country 5 claim leader title = " country 5 claim leader title"
 
−
|  country 6 claim = " country 6 claim"
 
−
|  country 6 claim divisions title = " country 6 claim divisions title"
 
−
|  country 6 claim divisions = " country 6 claim divisions"
 
−
|  country 6 claim capital = " country 6 claim capital"
 
−
|  country 6 claim largest city = " country 6 claim largest city"
 
−
|  country 6 claim largest city population = " country 6 claim largest city population"
 
−
|  country 6 claim leader name = " country 6 claim leader name"
 
−
|  country 6 claim leader title = " country 6 claim leader title"
 
−
|  country 7 claim = " country 7 claim"
 
−
|  country 7 claim divisions title = " country 7 claim divisions title"
 
−
|  country 7 claim divisions = " country 7 claim divisions"
 
−
|  country 7 claim capital = " country 7 claim capital"
 
−
|  country 7 claim largest city = " country 7 claim largest city"
 
−
|  country 7 claim largest city population = " country 7 claim largest city population"
 
−
|  country 7 claim leader name = " country 7 claim leader name"
 
−
|  country 7 claim leader title = " country 7 claim leader title"
 
−
|  population = " population"
 
−
|  demonym = " demonym"
 
−
|  population as of = " population as of"
 
−
|  density = " density"
 
−
|  ethnic groups = " ethnic groups"
 
−
|  website = " website"
 
−
|  additional info = " additional info"
 
−
}}
 
−
{{Col-2}}
 
−
{{Infobox disputed islands
 
 
| name = "name"  
 
| name = "name"  
 
|  plural = yes
 
|  plural = yes
Line 143: Line 65:
 
|  native name = " native name"  
 
|  native name = " native name"  
 
|  other_names = " other_names"  
 
|  other_names = " other_names"  
−
|  image name = " image name"
+
|  image name = Placeholder.png
−
|  image size = " image size"
+
|  image size = 20px
 
|  image caption = " image caption"  
 
|  image caption = " image caption"  
−
|  locator map = " locator map"
+
|  locator map = Chafarinas.jpg
 
|  map_custom = " map_custom"  
 
|  map_custom = " map_custom"  
 
|  location = " location"  
 
|  location = " location"  
Line 153: Line 75:
 
|  total islands = " total islands"  
 
|  total islands = " total islands"  
 
|  major islands = " major islands"  
 
|  major islands = " major islands"  
−
|  area = " area"
+
|  area =
−
|  area_km2 = " area_km2"
+
|  area_km2 =
−
|  area_sqmi = " area_sqmi"
+
|  area_sqmi =12,212
−
|  rank = " rank"
+
|  rank =  
 
|  length = " length"  
 
|  length = " length"  
−
|  length_km = " length_km"
+
|  length_km =
−
|  length_mi = " length_mi"
+
|  length_mi =
 
|  width = " width"  
 
|  width = " width"  
−
|  width_km = " width_km"
+
|  width_km =  
−
|  width_mi = " width_mi"
+
|  width_mi =
−
|  widgth_mi = " widgth_mi"
 
 
|  coastline = " coastline"  
 
|  coastline = " coastline"  
−
|  coastline_km = " coastline_km"
+
|  coastline_km =  
−
|  coastline_mi = " coastline_mi"
+
|  coastline_mi =
−
|  highest mount = " highest mount"
+
|  highest mount = highhh
−
|  elevation_m = " elevation_m"
+
|  elevation_m =  
−
|  elevation_ft = " elevation_ft"
+
|  elevation_ft =
 
|  elevation = " elevation"  
 
|  elevation = " elevation"  
−
|  country = " country"
+
|  country = Admin country
−
|  country admin divisions title = " country admin divisions title"
+
|  country admin divisions title = admin title  
−
|  country admin divisions = " country admin divisions"
+
|  country admin divisions = admin divisions
−
|  country admin divisions title 1 = " country admin divisions title 1"
+
|  country admin divisions title 1 = admin title 1  
−
|  country admin divisions 1 = " country admin divisions 1"
+
|  country admin divisions 1 = admin 1
−
|  country admin divisions title 2 = " country admin divisions title 2"
+
|  country admin divisions title 2 = admin title 2
−
|  country admin divisions 2 = " country admin divisions 2"
+
|  country admin divisions 2 = country admin 2
−
|  country capital = " country capital"
+
|  country capital = admin capital
−
|  country largest city = " country largest city"
+
|  country largest city = admin largest city
−
|  country largest city population = " country largest city population"
+
|  country largest city population = admin pop
−
|  country leader name = " country leader name"
+
|  country leader name = admin leader name
−
|  country leader title = " country leader title"
+
|  country leader title = admin leader title
 
|  country claim = " country claim"  
 
|  country claim = " country claim"  
 
|  country claim divisions title = " country claim divisions title"  
 
|  country claim divisions title = " country claim divisions title"  
Line 202: Line 123:
 
|  country 1 claim leader name = " country 1 claim leader name"  
 
|  country 1 claim leader name = " country 1 claim leader name"  
 
|  country 1 leader title = " country 1 leader title"  
 
|  country 1 leader title = " country 1 leader title"  
−
|  country 2 claim = " country 2 claim"  
+
<!--|  country 2 claim = " country 2 claim"  
 
|  country 2 claim divisions title = " country 2 claim divisions title"  
 
|  country 2 claim divisions title = " country 2 claim divisions title"  
 
|  country 2 claim divisions = " country 2 claim divisions"  
 
|  country 2 claim divisions = " country 2 claim divisions"  
Line 256: Line 177:
 
|  ethnic groups = " ethnic groups"  
 
|  ethnic groups = " ethnic groups"  
 
|  website = " website"  
 
|  website = " website"  
−
|  additional info = " additional info"  
+
|  additional info = " additional info" -->
 
}}
 
}}
−
{{Col-end}}
 
 
</noinclude>
 
</noinclude>

Revision as of 19:07, 9 January 2017