Difference between revisions of "Template:Infobox military installation/sandbox2"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(sync, live source code)
imported>Frietjes
 
(3 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
| data1 = ''{{{native_name|}}}{{{nativename|}}}''
 
| data1 = ''{{{native_name|}}}{{{nativename|}}}''
 
}}}}
 
}}}}
| labelstyle = text-align:inherit
 
 
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
 
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
 
| subheader1 = {{#if:{{{partof|}}}| Part of {{{partof}}}}}
 
| subheader1 = {{#if:{{{partof|}}}| Part of {{{partof}}}}}
Line 26: Line 25:
 
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name}}}}} }}
 
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name}}}}} }}
 
|alt = {{{pushpin_map_alt|}}}
 
|alt = {{{pushpin_map_alt|}}}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|{{{latitude|}}}}}} }}
+
|coordinates = {{{coordinates|}}}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|{{{longitude|}}}}}} }}
 
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
 
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
 
|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|}}}| }}
 
 
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
 
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
 
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
 
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
Line 48: Line 38:
 
| caption4 = {{{pushpin_map_caption|}}}
 
| caption4 = {{{pushpin_map_caption|}}}
  
| labelstyle = padding-right:1em
+
| labelstyle = text-align:inherit; padding-right:1em;
 
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
 
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
  
Line 256: Line 246:
 
| belowstyle = text-align: left; background-color: #eee
 
| belowstyle = text-align: left; background-color: #eee
 
| below = {{{footnotes|}}}
 
| below = {{{footnotes|}}}
}}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.*
+
}}<noinclude>
.*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with deprecated syntax]]}}{{#if:{{{lat|}}}{{{long|}}}
 
|[[Category:Pages using infobox military installation with deprecated syntax]]}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Please add categories to the /doc subpage, not here. -->
 
<!-- Please add categories to the /doc subpage, not here. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:13, 18 September 2018

Template documentation[create]