Difference between revisions of "Template:Infobox concentration camp"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Better link?)
imported>UnitedStatesian
(add param check)
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
| bodyclass  = vcard
 
| bodyclass  = vcard
| bodystyle  = width: {{#if:{{{box width|}}}|{{{box width}}}|22em}}
 
| abovestyle = background-color: {{#if:{{{color|}}}|{{{color}}}|#f8eaba}}
 
  
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
| aboveclass = fn org
 
| aboveclass = fn org
  
| subheader  = <includeonly>[[List of concentration and internment camps|Concentration camp]]</includeonly>
+
| subheader  = <includeonly>{{#if:{{{type|}}}|{{{type}}}|[[Concentration camp]]}}</includeonly>
  
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{#if:{{{image size|}}}|{{{image size}}}|225}} }}|alt={{{alt|}}}]]}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|}}}|sizedefault=225px|alt={{{alt|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
| data1     = {{#if:{{{location map|}}}|<center>{{Location map|{{{location map|}}}
+
| image2     = {{#if:{{{location map|{{{pushpin_map|}}}}}}|{{Location map|{{{location map|{{{pushpin_map|}}}}}}
|alt = {{{map alt|}}}
+
|alt = {{{map alt|{{{pushpin_map_alt|}}}}}}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latitude|}}} }}
+
|coordinates = {{{coordinates|}}}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longitude|}}} }}
+
|relief = {{{map relief|{{{pushpin_map_relief|}}}}}}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
+
|label = {{{map label|{{{pushpin_label|}}}}}}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
+
|position = {{{map label position|{{{pushpin_label_position|}}}}}}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
 
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
 
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
 
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
 
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
 
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
 
 
|float = center
 
|float = center
|caption = {{#if:{{{map caption|}}}|{{{map caption}}}|Location of {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} within {{{location map}}} }}
+
|caption = {{if empty|{{{map caption|}}}|{{{pushpin_map_caption|}}}|Location of {{{name|{{PAGENAMEBASE}}}}} within {{#invoke:Location map|data|{{{location map|{{{pushpin_map|}}}}}}|name}} }}
|border = none
+
|border = infobox
|width = {{#if:{{{map size|}}}|{{{map size}}}|225}}
+
|width = {{if empty|{{{map size|}}}|{{{pushpin_map_width|}}}}}
}}</center>}}
+
}}}}
  
| label2   = [[Geographic coordinate system|Coordinates]]
+
| label2     = [[Geographic coordinate system|Coordinates]]
| data2     = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}|
+
| data2     = {{{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|}}}}}
 
  
 
| label3    = Other names
 
| label3    = Other names
Line 50: Line 41:
 
| data7      = {{{operated by|}}}
 
| data7      = {{{operated by|}}}
  
| label8    = Original use
+
| label8    = Commandant
| data8      = {{{original use|}}}
+
| data8      = {{{commandant|}}}
  
| label9    = First built
+
| label9    = Original use
| data9      = {{{construction|}}}
+
| data9      = {{{original use|}}}
  
| label11    = Operational
+
| label10    = Companies involved
| data11     = {{{in operation|}}}
+
| data10     = {{{companies involved|}}}
  
| label12    = Number of gas chambers
+
| label11    = First built
| data12      = {{{gas chambers|}}}
+
| data11    = {{{construction|}}}
  
| label13   = Inmates
+
| label12   = Operational
| data13    = {{{prisoner type|}}}
+
| data12    = {{{in operation|}}}
  
| label14   = Number of inmates
+
| label13   = Number of gas chambers
| data14     = {{{inmates|}}}
+
| data13     = {{{gas chambers|}}}
  
| label15    = Killed
+
| label14  = Inmates
| data15    = {{{killed|}}}
+
| data14    = {{{prisoner type|}}}
  
| label16   = Liberated by
+
| label15   = Number of inmates
| data16     = {{{liberated by|}}}
+
| data15     = {{{inmates|}}}
  
| label17   = Notable inmates
+
| label16   = Killed
| data17    = {{{notable inmates|}}}
+
| data16    = {{{killed|}}}
  
| label18   = Notable books
+
| label17   = Liberation
| data18    = {{{notable books|}}}
+
| data17    = {{{liberation date|}}}
  
| label19    = Website
+
| label18    = Liberated by
| data19      = {{{website|}}}
+
| data18    = {{{liberated by|}}}
  
}}<noinclude>{{Documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude>
+
| label19    = Notable inmates
 +
| data19    = {{{notable inmates|}}}
 +
 
 +
| label20    = Notable books
 +
| data20    = {{{notable books|}}}
 +
 
 +
| label21    = Website
 +
| data21    = {{{website|}}}
 +
 
 +
| header22  = {{{embedded|}}}
 +
 
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox concentration camp with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox concentration camp]] with unknown parameter "_VALUE_"| alt | built by | caption | commandant | companies involved | construction | coordinates | embedded | gas chambers | image | image size | in operation | inmates | killed | known for | liberated by | location | location map | map alt | map caption | map label | map label position | map relief | map size | name | notable books | notable inmates | operated by | original use | other names | prisoner type | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_relief | pushpin_map_width | type | website }}<noinclude>
 +
 
 +
{{Documentation}}
 +
<!-- please add category and language links to the /doc sub-page, not here -->
 +
</noinclude>

Latest revision as of 20:18, 22 January 2019

[[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
Arbeit macht frei sign, main gate of the Auschwitz I concentration camp, Poland - 20051127.jpg
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 399: Malformed coordinates value.
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
LocationOświęcim, German-occupied Poland
Companies involvedIG Farben
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