Template:Infobox location: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
| image      = {{#if: {{{logo|}}}|[[File:{{{logo}}}{{#if:{{{logo_size|}}}|{{!}}{{{logo_size|294px}}}|{{!}}294px}}]]}}
| image      = {{#if: {{{logo|}}}|[[File:{{{logo}}}{{#if:{{{logo_size|}}}|{{!}}{{{logo_size|294px}}}|{{!}}294px}}]]}}
| caption    = {{#if: {{{logo_caption|}}}|''{{{logo_caption|}}}''}}
| caption    = {{#if: {{{logo_caption|}}}|''{{{logo_caption|}}}''}}
| image2     = {{#if: {{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|294px}}}|{{!}}294px}}]]}}
| image2     = {{#if: {{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|294px}}}|{{!}}294px}}]]}}
| caption2   = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| caption2   = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}


|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 10: Line 10:
| 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%;


| header1    = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|}}}}}}}}}}}}}}}}}}|General}}
| header1    = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|}}}}}}}}}}}}}}}}}}|General}}
Line 37: Line 37:
| data9      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}
| data9      = {{{location|{{{location_city|{{{location_town|}}}}}}}}}


| label10     = Coordinates
| label10   = Coordinates
| 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>}}
| 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>}}


| data11    = {{#if:{{{map|}}}|[[File:{{{map}}}|{{{map_size|294px}}}|link={{filepath:{{{map}}}}}]]}}
| data11    = {{#if:{{{map|}}}|
| data12    = {{#if: {{{map_caption|}}}|''{{{map_caption|}}}''}}
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing=0px data-expandtext=▼ data-collapsetext=▲
{{!}}- style="vertical-align:center;"
{{!}} style="background-color: #{{Infobox nc|{{{name_colour|}}}}}; font-weight: bold; color: rgba(0, 0, 0, 0);" {{!}} <div style="height:24px; margin: -1px -2px; background-color:{{Infobox nc|{{{name_colour|}}}}}; font-size:14px; color: #{{Infobox nc|{{{name_text_colour|}}}|text}};">  Map</div>
{{!}}-
{{!}} [[File:{{{map}}}|{{{map_size|294px}}}|link={{filepath:{{{map}}}}}]]{{#if: {{{map_caption|}}}|<br>''{{{map_caption|}}}''}}
{{!}}} }}


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


| label14   = Vehicles
| label13   = Vehicles
| data14     = {{{vehicle|}}}
| data13     = {{{vehicle|}}}


| label15   = Refers to
| label14   = Refers to
| data15     = {{{reference|}}}
| data14     = {{{reference|}}}


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

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