Template:Infobox location: Difference between revisions

From PZwiki
mNo edit summary
(added more sections)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| above     = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>
| above       = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>


|bodystyle   = -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
|bodystyle   = -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
| imagestyle = padding:10px;
| imagestyle = padding:10px;
| headerstyle = background-color: #{{Infobox nc|{{{name_colour|}}}}}; color: #{{Infobox nc|{{{name_text_colour|}}}|text}};
| headerstyle = background-color: #{{Infobox nc|{{{name_colour|}}}}}; color: #{{Infobox nc|{{{name_text_colour|}}}|text}};
| labelstyle = background-color:#eee; width:50%;
| labelstyle = background-color:#eee; width:50%;
| datastyle = width:50%;
| datastyle   = width:50%;


| data1     = {{#if: {{{logo|}}}|[[File:{{{logo}}}{{#if:{{{logo_size|}}}|{{!}}{{{logo_size|294px}}}|{{!}}294px}}]]}}
| data1       = {{#if: {{{logo|}}}|[[File:{{{logo}}}{{#if:{{{logo_size|}}}|{{!}}{{{logo_size|294px}}}|{{!}}294px}}]]}}
| data2   = {{#if: {{{logo_caption|}}}|<span style="font-size:90%">''{{{logo_caption|}}}''</span>}}
| data2       = {{#if: {{{logo_caption|}}}|<span style="font-size:90%">''{{{logo_caption|}}}''</span>}}
| data3     = {{#if: {{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|294px}}}|{{!}}294px}}]]}}
| data3       = {{#if: {{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|294px}}}|{{!}}294px}}]]}}
| data4   = {{#if: {{{image_caption|}}}|<span style="font-size:90%">''{{{image_caption|}}}''</span>}}
| data4       = {{#if: {{{image_caption|}}}|<span style="font-size:90%">''{{{image_caption|}}}''</span>}}


| header5   = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|{{{building_type|}}}}}}}}}}}}}}}}}}}}}|General}}
| header5     = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|{{{building_type|{{{parent|{{{subsidiary|{{{subsidiaries|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|General}}


| label6     = Tagline(s)
| label6     = Type
| data6     = {{{taglines|}}}
| data6       = {{{type|{{{building_type|}}}}}}


| label7     = Founded
| label7     = Alternate name(s)
| data7     = {{{founded|}}}
| data7       = {{{altnames|{{{alternate_names|}}}}}}


| label8     = Founder
| label8     = Tagline(s)
| data8     = {{{founder|}}}
| data8       = {{{taglines|}}}


| label9    = CEO
| label9    = Parent
| data9      = {{{ceo|}}}
| data9      = {{{parent|}}}


| label10    = Known employees
| label10    = Subsidiaries
| data10      = {{{employees|}}}
| data10      = {{{subsidiary|{{{subsidiaries|}}}}}}


| label11     = Type
| label11     = Founded
| data11     = {{{type|{{{building_type|}}}}}}
| data11       = {{{founded|}}}


| header12    = {{#if:{{{coordinates|{{{location|{{{location_city|{{{location_town|{{{highest_region|}}}}}}}}}}}}}}}|Location}}
| label12      = Founder
| data12      = {{{founder|}}}


| label13    = Location(s)
| label13    = CEO
| data13      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}
| data13      = {{{ceo|}}}


| label14   = Coordinates
| label14     = Known employees
| data14     = {{#if:{{{coordinates|}}}|[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates}}} {{{coordinates}}}]</span>}}{{#if:{{{coordinates2|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates2}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates2}}} {{{coordinates2}}}]</span>}}{{#if:{{{coordinates3|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates3}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates3}}} {{{coordinates3}}}]</span>}}{{#if:{{{coordinates4|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates4}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates4}}} {{{coordinates4}}}]</span>}}{{#if:{{{coordinates5|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates5}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates5}}} {{{coordinates5}}}]</span>}}
| data14     = {{{employees|}}}


| data15     = {{#if:{{{map|}}}|
| header15    = {{#if:{{{coordinates|{{{location|{{{location_city|{{{location_town|{{{highest_region|}}}}}}}}}}}}}}}|Location}}
 
| label16     = Location(s)
| data16      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}
 
| label17    = Coordinates
| data17      = {{#if:{{{coordinates|}}}|[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates}}} {{{coordinates}}}]</span>}}{{#if:{{{coordinates2|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates2}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates2}}} {{{coordinates2}}}]</span>}}{{#if:{{{coordinates3|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates3}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates3}}} {{{coordinates3}}}]</span>}}{{#if:{{{coordinates4|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates4}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates4}}} {{{coordinates4}}}]</span>}}{{#if:{{{coordinates5|}}}|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates5}}}{{!}}Show location on an interactive map]]<span class="plainlinks">[https://map.projectzomboid.com/?#{{{coordinates5}}} {{{coordinates5}}}]</span>}}
 
| data18      = {{#if:{{{map|}}}|
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing=0px data-expandtext=▼ data-collapsetext=▲
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing=0px data-expandtext=▼ data-collapsetext=▲
{{!}}- style="vertical-align:center;"
{{!}}- style="vertical-align:center;"
Line 49: Line 58:
{{!}}} }}
{{!}}} }}


| header16   = {{#if:{{{vehicle|{{{reference|}}}}}}|Other information}}
| header19   = {{#if:{{{vehicle|{{{reference|{{{floors|}}}}}}}}}|Other information}}
 
| label20    = Floors
| data20    = {{{floors|}}}


| label17   = Vehicles
| label21   = Vehicles
| data17     = {{{vehicle|}}}
| data21     = {{{vehicle|}}}


| label18   = Refers to
| label22   = Refers to
| data18     = {{{reference|}}}
| data22     = {{{reference|}}}


}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>

Revision as of 13:36, 10 September 2019

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Infobox location/doc.
Editors can experiment in this template's sandbox (create)