Template:Infobox location: Difference between revisions
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> | ||
|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%; | ||
| | | 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> | |||
| | | header5 = {{#if:{{{taglines|{{{founded|{{{founder|{{{ceo|{{{employees|{{{type|{{{building_type|}}}}}}}}}}}}}}}}}}}}}|General}} | ||
| | |||
| | | label6 = Tagline(s) | ||
| | | data6 = {{{taglines|}}} | ||
| | | label7 = Founded | ||
| | | data7 = {{{founded|}}} | ||
| | | label8 = Founder | ||
| | | data8 = {{{founder|}}} | ||
| | | label9 = CEO | ||
| | | data9 = {{{ceo|}}} | ||
| | | label10 = Known employees | ||
| | | data10 = {{{employees|}}} | ||
| | | label11 = Type | ||
| data11 = {{{type|{{{building_type|}}}}}} | |||
| | | header12 = {{#if:{{{coordinates|{{{location|{{{location_city|{{{location_town|{{{highest_region|}}}}}}}}}}}}}}}|Location}} | ||
| | |||
| | | label13 = Location(s) | ||
| | | data13 = {{{location|{{{location_city|{{{location_town|}}}}}}}}} | ||
| | | 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: | ||
{{!}}} }} | {{!}}} }} | ||
| | | header16 = {{#if:{{{vehicle|{{{reference|}}}}}}|Other information}} | ||
| | | label17 = Vehicles | ||
| | | data17 = {{{vehicle|}}} | ||
| | | label18 = Refers to | ||
| | | data18 = {{{reference|}}} | ||
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude> | }}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude> |
Revision as of 12:00, 10 September 2019
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)
Editors can experiment in this template's sandbox (create)