Template:Infobox location: Difference between revisions

From PZwiki
mNo edit summary
m (changed images and captions to data, to reduce white spacing between elements)
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>
| image      = {{#if: {{{logo|}}}|[[File:{{{logo}}}{{#if:{{{logo_size|}}}|{{!}}{{{logo_size|294px}}}|{{!}}294px}}]]}}
| caption    = {{#if: {{{logo_caption|}}}|<span style="font-size:90%">''{{{logo_caption|}}}''}}</span>
| image2    = {{#if: {{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|294px}}}|{{!}}294px}}]]}}
| caption2  = {{#if: {{{image_caption|}}}|<span style="font-size:90%">''{{{image_caption|}}}''}}</span>


|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|}}}}};
Line 12: Line 8:
| datastyle  = width:50%;
| datastyle  = width:50%;


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


| label2    = Tagline(s)
| header5    = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|{{{building_type|}}}}}}}}}}}}}}}}}}}}}|General}}
| data2      = {{{taglines|}}}


| label3     = Founded
| label6     = Tagline(s)
| data3     = {{{founded|}}}
| data6     = {{{taglines|}}}


| label4     = Founder
| label7     = Founded
| data4     = {{{founder|}}}
| data7     = {{{founded|}}}


| label5     = CEO
| label8     = Founder
| data5     = {{{ceo|}}}
| data8     = {{{founder|}}}


| label6     = Known employees
| label9     = CEO
| data6     = {{{employees|}}}
| data9     = {{{ceo|}}}


| label7     = Type
| label10     = Known employees
| data7     = {{{type|}}}
| data10     = {{{employees|}}}


| header8    = {{#if:{{{coordinates|{{{location|{{{location_city|{{{location_town|{{{highest_region|}}}}}}}}}}}}}}}|Location}}
| label11    = Type
| data11      = {{{type|{{{building_type|}}}}}}


| label9    = Location(s)
| header12    = {{#if:{{{coordinates|{{{location|{{{location_city|{{{location_town|{{{highest_region|}}}}}}}}}}}}}}}|Location}}
| data9      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}


| label10    = Coordinates
| label13    = Location(s)
| data10    = {{#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>}}
| data13      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}


| data11     = {{#if:{{{map|}}}|
| label14    = Coordinates
| 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>}}
 
| data15     = {{#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 48: Line 49:
{{!}}} }}
{{!}}} }}


| header12   = {{#if:{{{vehicle|{{{reference|}}}}}}|Other information}}
| header16   = {{#if:{{{vehicle|{{{reference|}}}}}}|Other information}}


| label13   = Vehicles
| label17   = Vehicles
| data13     = {{{vehicle|}}}
| data17     = {{{vehicle|}}}


| label14   = Refers to
| label18   = Refers to
| data14     = {{{reference|}}}
| data18     = {{{reference|}}}


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

Revision as of 12:00, 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)