Jump to content

Template:Wing Infobox: Difference between revisions

From CAPipedia
DBurch97 (talk | contribs)
No edit summary
DBurch97 (talk | contribs)
No edit summary
Line 1: Line 1:
</noinclude>
<includeonly>{| class="infobox" style="width:22em; border:1px solid #a2a9b1; background:#f8f9fa; float:right; margin:0 0 1em 1em; padding:5px; font-size:90%; border-collapse:collapse;"
|+ style="font-size:125%; font-weight:bold; background:#003366; color:white; padding:5px;" | {{{unit_name|{{PAGENAME}}}}}
{{#if:{{{Image|}}}|
|-
| colspan="2" style="text-align:center; padding:5px;" | [[File:{{{Image}}}|{{{imagesize|200px}}}|alt={{{alt|}}}]]
}}
{{#if:{{{Established|}}}|
|-
! style="text-align:left; padding:3px;" | Established
| style="padding:3px;" | {{{Established}}}
}}
{{#if:{{{Country|}}}|
|-
! style="text-align:left; padding:3px;" | Country
| style="padding:3px;" | {{{Country}}}
}}
{{#if:{{{State|}}}|
|-
! style="text-align:left; padding:3px;" | State
| style="padding:3px;" | {{{State}}}
}}
{{#if:{{{Commander|}}}|
|-
! style="text-align:left; padding:3px;" | Commander
| style="padding:3px;" | {{{Commander}}}
}}
{{#if:{{{Deputy Commander|}}}|
|-
! style="text-align:left; padding:3px;" | Deputy Commander
| style="padding:3px;" | {{{Deputy Commander}}}
}}
{{#if:{{{Chief of Staff|}}}|
|-
! style="text-align:left; padding:3px;" | Chief of Staff
| style="padding:3px;" | {{{Chief of Staff}}}
}}
{{#if:{{{Squadrons|}}}|
|-
! style="text-align:left; padding:3px;" | Squadrons
| style="padding:3px;" | {{{Squadrons}}}
}}
{{#if:{{{Cadets|}}}|
|-
! style="text-align:left; padding:3px;" | Cadets
| style="padding:3px;" | {{{Cadets}}}
}}
{{#if:{{{Seniors|}}}|
|-
! style="text-align:left; padding:3px;" | Seniors
| style="padding:3px;" | {{{Seniors}}}
}}
{{#if:{{{Website|}}}|
|-
! style="text-align:left; padding:3px;" | Website
| style="padding:3px;" | {{{Website}}}
}}
|}</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 33: Line 89:
"Senior Enlisted Leader": {}
"Senior Enlisted Leader": {}
},
},
"format": "block",
"format": "block"
"paramOrder": [
"Image",
"imagesize",
"alt",
"Established",
"Country",
"State",
"Commander",
"Deputy Commander",
"Chief of Staff",
"Deputy Chief of Staff",
"Senior Enlisted Leader",
"Squadrons",
"Cadets",
"Seniors",
"Total",
"Awards",
"Website",
"Date"
]
}
}
</templatedata>
</templatedata>
</noinclude>

Revision as of 09:14, 4 September 2026

<templatedata> { "params": { "State": {}, "Image": { "type": "wiki-file-name" }, "imagesize": { "label": "Image size" }, "alt": { "label": "Alt text", "type": "string" }, "Commander": {}, "Chief of Staff": {}, "Deputy Chief of Staff": {}, "Squadrons": {}, "Cadets": {}, "Seniors": {}, "Total": {}, "Awards": {}, "Website": { "type": "url" }, "Date": { "type": "date" }, "Established": {}, "Country": {}, "Deputy Commander": {}, "Senior Enlisted Leader": {} }, "format": "block" } </templatedata>