Difference between revisions of "Template:Infobox concentration camp"

From blackwiki
Jump to navigation Jump to search
imported>Br'er Rabbit
(-that, too)
imported>Br'er Rabbit
(clean up)
Line 11: Line 11:
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
| data1      = {{#if:{{{location map|}}}|<center>{{Location map|{{{location map|}}}
+
| data1      = {{#if:{{{location map|}}}|<div style="text-align: center;">{{Location map|{{{location map|}}}
 
|alt = {{{map alt|}}}
 
|alt = {{{map alt|}}}
 
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latitude|}}} }}
 
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latitude|}}} }}
Line 27: Line 27:
 
|border = none
 
|border = none
 
|width = {{#if:{{{map size|}}}|{{{map size}}}|225}}
 
|width = {{#if:{{{map size|}}}|{{{map size}}}|225}}
}}</center>}}
+
}}</div>}}
  
| label2   = [[Geographic coordinate system|Coordinates]]
+
| label2     = [[Geographic coordinate system|Coordinates]]
| data2     = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}|
+
| data2     = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}|
 
{{Geobox coor|{{{latitude|{{{latd|}}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{#if:{{{coordinates type|}}}|{{{coordinates type}}}|type:landmark}}|{{#if:{{{coordinates display|}}}|title|μ}}={{{coordinates display|}}}}}|{{{coordinates|}}}}}
 
{{Geobox coor|{{{latitude|{{{latd|}}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{#if:{{{coordinates type|}}}|{{{coordinates type}}}|type:landmark}}|{{#if:{{{coordinates display|}}}|title|μ}}={{{coordinates display|}}}}}|{{{coordinates|}}}}}
  
Line 58: Line 58:
 
| data11    = {{{in operation|}}}
 
| data11    = {{{in operation|}}}
  
| label12     = Number of gas chambers
+
| label12   = Number of gas chambers
| data12     = {{{gas chambers|}}}
+
| data12     = {{{gas chambers|}}}
  
 
| label13    = Inmates
 
| label13    = Inmates
Line 79: Line 79:
 
| data18    = {{{notable books|}}}
 
| data18    = {{{notable books|}}}
  
| label19     = Website
+
| label19   = Website
| data19     = {{{website|}}}
+
| data19     = {{{website|}}}
  
}}<noinclude>{{Documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude>
+
}}<noinclude>
 +
 
 +
{{Documentation}}
 +
<!-- please add category and language links to the /doc sub-page, not here -->
 +
</noinclude>

Revision as of 19:32, 2 September 2012

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox concentration camp
| type               = <!-- Infobox subheader text, defaults to "Concentration camp" -->
| name               = 
| image              = 
| image size         = 
| caption            = 
| alt                = 
| location map       = 
| map alt            = 
| map relief         = 
| map label          = 
| map label position = 
| map caption        = 
| map size           = 
| other names        = 
| known for          = 
| location           = 
| coordinates        = <!-- {{coord}} -->
| built by           = 
| operated by        = 
| commandant         = 
| original use       =
| companies involved =
| construction       = 
| in operation       = 
| gas chambers       = 
| prisoner type      = 
| inmates            = 
| killed             = 
| liberated by       = 
| notable inmates    = 
| notable books      = 
| website            = 
}}

Examples

Auschwitz
Concentration camp
The entrance to Auschwitz I. The now notorious motto over the gate, "Arbeit macht frei", translates as "Work makes you free."
Lua error in Module:Location_map at line 403: attempt to index field 'wikibase' (a nil value).
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
LocationOświęcim, German-occupied Poland
Operational1940–1945
Killed1.1 million
WebsiteTemplate:URL
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox concentration camp
| name                = Auschwitz
| image               = Arbeit macht frei sign, main gate of the Auschwitz I concentration camp, Poland - 20051127.jpg
| image size          = 
| caption             = The entrance to Auschwitz I. The now notorious motto over the gate, "[[Arbeit macht frei]]", translates as "Work makes you free."
| alt                 = 
| location map        = Poland
| map label           = Auschwitz
| map relief          = 1
| map alt             = 
| map caption         = Location of Auschwitz in Poland
| coordinates         = {{coord|50|02|09|N|19|10|42|E|region:PL-MA_type:landmark|display=inline,title}}
| other names         = 
| known for           = 
| location            = [[Oświęcim]], German-occupied Poland
| built by            = 
| operated by         = 
| original use        = 
| companies involved = [[IG Farben]]
| construction        = 
| in operation        = 1940–1945
| gas chambers        = 
| prisoner type       = 
| inmates             = 
| killed              = 1.1 million
| liberated by        = 
| notable inmates     = 
| notable books       = 
| website             = {{URL|http://en.auschwitz.org.pl/m/}}
}}

Tracking category

See also