Difference between pages "Template:Infobox military installation" and "Template:Infobox military installation/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Frietjes (per talk page) |
imported>Frietjes m |
||
Line 1: | Line 1: | ||
− | {{infobox | + | {{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox_military_installation}}|{{#invoke:Type in location|main|{{{type|}}}|{{{location|}}}, {{{country|}}}|full-loc = true}}}}{{infobox |
| child = {{#ifeq:{{{embed|}}}|yes|yes}} | | child = {{#ifeq:{{{embed|}}}|yes|yes}} | ||
| bodyclass = vcard | | bodyclass = vcard | ||
Line 6: | Line 6: | ||
| subheaderstyle1 = {{WPMILHIST Infobox style|header_raw}}; font-weight:bold; | | subheaderstyle1 = {{WPMILHIST Infobox style|header_raw}}; font-weight:bold; | ||
| {{#ifeq:{{{embed|}}}|yes|subheader1|above}} = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes|<nowiki />|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}<!-- | | {{#ifeq:{{{embed|}}}|yes|subheader1|above}} = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes|<nowiki />|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}<!-- | ||
− | -->{{#if:{{{ensign|}}}|<div style="padding-bottom:2px">{{#invoke:InfoboxImage|InfoboxImage|image={{{ensign|}}}|size={{{ensign_size|}}}|sizedefault=90px|alt={{{ensign_alt | + | -->{{#if:{{{ensign|}}}|<div style="padding-bottom:2px">{{#invoke:InfoboxImage|InfoboxImage|image={{{ensign|}}}|size={{{ensign_size|}}}|sizedefault=90px|alt={{{ensign_alt|}}}}}</div>}} |
| subheaderstyle2 = {{WPMILHIST Infobox style|header_raw}} | | subheaderstyle2 = {{WPMILHIST Infobox style|header_raw}} | ||
Line 278: | Line 278: | ||
| below = {{{footnotes|}}} | | below = {{{footnotes|}}} | ||
}}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military installation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox military installation]] with unknown parameter "_VALUE_" | }}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military installation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox military installation]] with unknown parameter "_VALUE_" | ||
− | | embed | name| designations| ensign| ensign_size| ensign_alt | + | | embed | name| designations| ensign| ensign_size| ensign_alt| native_name| nativename| nativename-a| nativename-r|partof| location| nearest_town| country| image| image_size| image_alt| alt| caption| image2| image2_size| image2_alt| alt2| caption2| map| image_map |map_size| image_mapsize| map_alt| image_map_alt| map_caption| image_map_caption| pushpin_map| map_type| pushpin_label_position| pushpin_label| pushpin_map_alt| pushpin_mark| pushpin_marksize| pushpin_mapsize| pushpin_relief| map_relief| pushpin_image| pushpin_map_caption| coordinates| coordinates_footnotes| gridref| type| code| site_area| height| length| ownership| owner| operator| controlledby| controlled by| controlled_by| open_to_public| condition| status| site_other| website| site_other_label| built| built_for| builder| architect| used| dates |materials| fate| demolished| battles| events| current_commander| past_commanders| garrison| occupants| subcritical_tests| nuclear_tests| thermonuclear_tests| other_tests| remediation| other_tests_label| image3| image3_size| image3_alt| alt3| caption3| r1-number| r1-length| r1-surface| h1-number| h1-length| h1-surface| airfield_other| elevation| IATA| ICAO| FAA| TC| LID| GPS| WMO| r2-number| r2-length| r2-surface| r3-number| r3-length| r3-surface| r4-number| r4-length| r4-surface| r5-number| r5-length| r5-surface| r6-number| r6-length| r6-surface| r7-number| r7-length| r7-surface| r8-number| r8-length| r8-surface| r9-number| r9-length| r9-surface| h2-number| h2-length| h2-surface| h3-number| h3-length| h3-surface| h4-number| h4-length| h4-surface| h5-number| h5-length| h5-surface| h6-number| h6-length| h6-surface| airfield_other_label| |nrhp |embedded |module| footnotes |
}}{{#if:{{#if:{{both|{{{ownership|}}}|{{{owner|}}}}}|1}}{{#if:{{both|{{{condition|}}}|{{{status|}}}}}|1}}{{#if:{{both|{{{used|}}}|{{{dates|}}}}}|1}}|[[Category:Pages using infobox military installation with unknown parameters|Δ]] | }}{{#if:{{#if:{{both|{{{ownership|}}}|{{{owner|}}}}}|1}}{{#if:{{both|{{{condition|}}}|{{{status|}}}}}|1}}{{#if:{{both|{{{used|}}}|{{{dates|}}}}}|1}}|[[Category:Pages using infobox military installation with unknown parameters|Δ]] | ||
}}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.* | }}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.* | ||
.*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]] | .*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]] | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{Documentation}} |
<!-- Please add categories to the /doc subpage, not here. --> | <!-- Please add categories to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |