Difference between revisions of "Template:Infobox settlement/checkauto/doc"

From blackwiki
Jump to navigation Jump to search
(sl:Predloga:Infopolje Naselje/checkauto)
imported>Jimp
Line 32: Line 32:
  
 
=== See also ===
 
=== See also ===
*{{TL|Infobox settlement}}
+
*{{TL|Infobox settlement}}<!--
 +
*{{TL|Infobox settlement/checkauto}} -->
 
*{{TL|Infobox settlement/areadisp}}
 
*{{TL|Infobox settlement/areadisp}}
 
*{{TL|Infobox settlement/densdisp}}
 
*{{TL|Infobox settlement/densdisp}}
 
*{{TL|Infobox settlement/lengthdisp}}
 
*{{TL|Infobox settlement/lengthdisp}}
*{{TL|Infobox settlement/permi2km2}}
+
*{{TL|Infobox settlement/pref}}
 +
*{{TL|Infobox settlement/metric}}
 +
*{{TL|Infobox settlement/metric/mag}}
 +
*{{TL|Infobox settlement/impus}}
 +
*{{TL|Infobox settlement/impus/mag}}
 +
*{{TL|Infobox settlement/link}}
 +
*{{TL|Infobox settlement cleaner}}
 +
 
  
 
<includeonly>
 
<includeonly>

Revision as of 23:43, 12 February 2012

This subtemplate of {{Infobox settlement}} checks the inputs passed to {{Infobox settlement/densdisp}} when the auto option is used.

Usage

{{Infobox settlement/checkauto|DENSsqmi|POP|AREAsqmi}}

or

{{Infobox settlement/checkauto|DENSkm2|POP|AREAkm2}}

where DENSsqmi is the density per square mile, DENSkm2 is the density per square kilometer, POP is the population, AREAsqmi is the area in square miles, and AREAkm2 is the area in square kilometers. See {{Infobox settlement/densdisp}} for more details.

Code Result
{{Infobox settlement/checkauto|2|30|15}}
{{Infobox settlement/checkauto|auto|30|15}}
{{Infobox settlement/checkauto|auto| |15}}
{{Infobox settlement/checkauto|auto|30| }}
{{Infobox settlement/checkauto|auto| | }}

See also