Difference between revisions of "Template:Infobox location"

From Dwaia Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
{{ Infobox conditional caption | {{{mapcaption|}}}  }}
 
{{ Infobox conditional caption | {{{mapcaption|}}}  }}
  
{{ Infobox conditional data    | Type         | {{{type|}}}        }}
+
{{ Infobox conditional data    | Government      | {{{government|}}}  }}
{{ Infobox conditional data    | Level        | {{{level|}}}       }}
+
{{ Infobox conditional data    | Owner          | {{{owner|}}}        }}
{{ Infobox conditional data    | Location    | {{{location|}}}     }}
+
 
{{ Infobox conditional data    | Constituents | {{{constituents|}}} }}
+
{{ Infobox conditional data    | Type           | {{{type|}}}        }}
{{ Infobox conditional data    | Owner        | {{{owner|}}}       }}
+
{{ Infobox conditional data    | Element        | {{{element|}}}     }}
 +
{{ Infobox conditional data    | Level          | {{{level|}}}       }}
 +
{{ Infobox conditional data    | Location        | {{{location|}}}     }}
 +
{{ Infobox conditional data    | Constituents    | {{{constituents|}}} }}
  
 
{{ Infobox conditional image  | {{{flag|}}}        }}
 
{{ Infobox conditional image  | {{{flag|}}}        }}
 
{{ Infobox conditional caption | {{{flagcaption|}}} }}
 
{{ Infobox conditional caption | {{{flagcaption|}}} }}
  
{{ Infobox conditional data    | Anthem       | {{{anthem|}}}      }}
+
{{ Infobox conditional data    | National Anthem | {{{anthem|}}}      }}
{{ Infobox conditional data    | Inhabitants | {{{inhabitants|}}}  }}
+
{{ Infobox conditional data    | Inhabitants     | {{{inhabitants|}}}  }}
{{ Infobox conditional data    | Anthem      | {{{anthem|}}}       }}
+
{{ Infobox conditional data    | Population      | {{{population|}}}   }}
 
</table>
 
</table>
  
 
<noinclude>
 
<noinclude>
Example usage:<pre>
+
Example usage:
{{Infobox species
+
<pre>
|title1=Example
+
{{Infobox location
|image1=Example
+
|title        = Example
|caption1=Example
+
|image        = Placeholder.png
|element=Example
+
|caption      = Example
|level=Example
+
|mapimage    = Placeholder.png
|skills=Example
+
|mapcaption  = Example
|str=Example
+
|government  = Example
|con=Example
+
|owner        = Example
|dex=Example
+
|type        = Example
|int=Example
+
|level        = Example
|cha=Example
+
|location    = Example
|wis=Example
+
|constituents = Example
|general_body_type=Example
+
|flag        = Placeholder.png
|prominent_features=Example
+
|flagcaption  = Example
|height=Example
+
|anthem      = Example
|weight=Example
+
|inhabitants  = Example
|territory=Example
+
|population  = Example
|preferred_habitat=Example
 
 
}}
 
}}
 
</pre>
 
</pre>
 +
...produces...
 +
{{Infobox location
 +
|title        = Example
 +
|image        = Placeholder.png
 +
|caption      = Example
 +
|mapimage    = Placeholder.png
 +
|mapcaption  = Example
 +
|government  = Example
 +
|owner        = Example
 +
|type        = Example
 +
|level        = Example
 +
|location    = Example
 +
|constituents = Example
 +
|flag        = Placeholder.png
 +
|flagcaption  = Example
 +
|anthem      = Example
 +
|inhabitants  = Example
 +
|population  = Example
 +
}}
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:10, 6 February 2019


Example usage:

{{Infobox location
|title        = Example
|image        = Placeholder.png
|caption      = Example
|mapimage     = Placeholder.png
|mapcaption   = Example
|government   = Example
|owner        = Example
|type         = Example
|level        = Example
|location     = Example
|constituents = Example
|flag         = Placeholder.png
|flagcaption  = Example
|anthem       = Example
|inhabitants  = Example
|population   = Example
}}

...produces...

Example
Placeholder.png
Example
Example
Government Example
Owner Example
Type Example
Level Example
Location Example
Constituents Example
Placeholder.png
Example
National Anthem Example
Inhabitants Example
Population Example