Template:Infobox: Difference between revisions

From Agropelter Archives
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:300px; border:1px solid #aaa; background:#f9f9f9; font-size:90%; line-height:1.4em;"
{| class="infobox" style="width:300px;border:1px solid #aaa;background:#f9f9f9;font-size:90%;line-height:1.4em;"
|-
|-
! colspan="2" style="text-align:center; background:#ddd; font-size:110%;" | {{{title|<span style="color:#888;">Infobox title</span>}}}
! colspan="2" style="text-align:center;background:#ddd;font-size:110%;" | {{{title|<span style="color:#888;">Infobox</span>}}}
{{#if:{{{image|}}}
{{#if:{{{image|}}}|
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|300px]]
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|300px]]
}}
}}
{{{rows|}}}
{{#if:{{{type|}}}|
|-
! Type
| {{{type}}}
}}
{{#if:{{{crew|}}}|
|-
! Crew
| {{{crew}}}
}}
{{#if:{{{length|}}}|
|-
! Length
| {{{length}}}
}}
{{#if:{{{wingspan|}}}|
|-
! Wingspan
| {{{wingspan}}}
}}
{{#if:{{{speed|}}}|
|-
! Speed
| {{{speed}}}
}}
{{#if:{{{range|}}}|
|-
! Range
| {{{range}}}
}}
{{#if:{{{armament|}}}|
|-
! Armament
| {{{armament}}}
}}
{{#if:{{{manufacturer|}}}|
|-
! Manufacturer
| {{{manufacturer}}}
}}
{{#if:{{{introduced|}}}|
|-
! Introduced
| {{{introduced}}}
}}
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Base infobox template.
Base infobox template.
* `title=` — header text 
Parameters:
* `image=` — optional image filename (no "File:")
* title = heading
* `rows=` — raw table rows
* image = filename (e.g. "Myplane.jpg") — file must be uploaded to the wiki
* type, crew, length, wingspan, speed, range, armament, manufacturer, introduced
</noinclude>
</noinclude>

Revision as of 21:26, 27 September 2025


Base infobox template. Parameters:

  • title = heading
  • image = filename (e.g. "Myplane.jpg") — file must be uploaded to the wiki
  • type, crew, length, wingspan, speed, range, armament, manufacturer, introduced