Difference between revisions of "Template:Ombox/core"

From Chevy Wiki
Jump to navigation Jump to search
(Interwiki:de)
 
m (1 revision)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="navbox collapsible autocollapse nowraplinks"
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
!colspan="31"|{{tnavbar-collapsible| [[:Template:Classic Opel timeline|« <small>previous</small>]] — [[Opel]], a subsidiary of [[General Motors]], road car timeline, 1980s–present |Opel timeline}}
{{#switch:{{{type|}}}
|- bgcolor=#F0F0F0
| speedy    = ombox-speedy
|rowspan= 2 width=10%| '''Type'''
| delete    = ombox-delete
|colspan=10 width=30%| 1980s
| content    = ombox-content
|colspan=10 width=30%| 1990s
| style      = ombox-style
|colspan=10 width=30%| 2000s
| move      = ombox-move
|- bgcolor=#F0F0F0
| protection = ombox-protection
|width=3%|0||width=3%|1||width=3%|2||width=3%|3||width=3%|4||width=3%|5||width=3%|6||width=3%|7||width=3%|8||width=3%|9
| notice          <!-- notice = default -->
|width=3%|0||width=3%|1||width=3%|2||width=3%|3||width=3%|4||width=3%|5||width=3%|6||width=3%|7||width=3%|8||width=3%|9
| #default  = ombox-notice
|width=3%|0||width=3%|1||width=3%|2||width=3%|3||width=3%|4||width=3%|5||width=3%|6||width=3%|7||width=3%|8||width=3%|9
}}" style="{{{style|}}}">
|- bgcolor=#E0E0E0
<tr>
|bgcolor=#F0F0F0| [[Supermini car|Supermini]]
{{#ifeq:{{{image|}}}|none
|colspan=3|
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
|colspan=10 bgcolor=#C0C0C0| [[Opel Corsa|Corsa A]]
| <td class="mbox-image">
|colspan=8 bgcolor=#C0C0C0| [[Opel Corsa|Corsa B]]
  {{#if:{{{image|}}}
|colspan=6 bgcolor=#C0C0C0| [[Opel Corsa|Corsa C]]
  | {{{image}}}
|colspan=3 bgcolor=#C0C0C0| [[Opel Corsa|Corsa D]]
  | [[Image:{{#switch:{{{type|}}}
|- bgcolor=#E0E0E0
    | speedy    = Imbox speedy deletion.png
|bgcolor=#F0F0F0| [[Small family car]]
    | delete    = Imbox deletion.png
|colspan=1 bgcolor=#C0C0C0| [[Opel Kadett|Kadett C]]
    | content    = Imbox content.png
|colspan=5 bgcolor=#C0C0C0| [[Opel Kadett|Kadett D]]
    | style      = Imbox style.png
|colspan=6 bgcolor=#C0C0C0| [[Opel Kadett|Kadett E]]
    | move      = Imbox move.png
|colspan=7 bgcolor=#C0C0C0| [[Opel Astra|Astra F]]
    | protection = Imbox protection.png
|colspan=6 bgcolor=#C0C0C0| [[Opel Astra|Astra G]]
    | notice          <!-- notice = default -->
|colspan=4 bgcolor=#C0C0C0| [[Opel Astra|Astra H]]
    | #default  = Imbox notice.png
|colspan=1 bgcolor=#C0C0C0| [[Opel Astra|Astra I]]
    }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
|- bgcolor=#E0E0E0
  }}</td>
|bgcolor=#F0F0F0 rowspan=2| [[Large family car]]
}}
|colspan=2 bgcolor=#C0C0C0| [[Opel Ascona|Ascona B]]
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
|colspan=7 bgcolor=#C0C0C0| [[Opel Ascona|Ascona C]]
{{#if:{{{imageright|}}}
|colspan=8 bgcolor=#C0C0C0| [[Opel Vectra|Vectra A]]
| {{#ifeq:{{{imageright|}}}|none
|colspan=6 bgcolor=#C0C0C0| [[Opel Vectra|Vectra B]]
  | <!-- No image. -->
|colspan=5 bgcolor=#C0C0C0| [[Opel Vectra|Vectra C]]
  | <td class="mbox-imageright"> {{{imageright}}} </td>
|colspan=2 bgcolor=#C0C0C0| [[Opel Insignia|Insignia]]
  }}
|- bgcolor=#E0E0E0
}}
|colspan=10|
</tr>
|colspan=10|
</table><!-- Detect and report usage with faulty "type" parameter:
|colspan=3|
-->{{#switch:{{{type|}}}
|colspan=5 bgcolor=#C0C0C0| [[Opel Signum|Signum]]
|   <!-- No type fed, is also valid input -->
|colspan=2|
| speedy
|- bgcolor=#E0E0E0
| delete
|bgcolor=#F0F0F0| [[Executive car]]
| content
|colspan=8 bgcolor=#C0C0C0| [[Opel Rekord|Rekord E]]/ [[Opel Commodore|Commodore C]]
| style
|colspan=7 bgcolor=#C0C0C0| [[Opel Omega|Omega A]]
| move
|colspan=8 bgcolor=#C0C0C0| [[Opel Omega|Omega B]]
| protection
|colspan=7|
| notice    =   <!-- Do nothing, valid "type" -->
|- bgcolor=#E0E0E0
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
|bgcolor=#F0F0F0| [[Luxury vehicle|Luxury car]]
}}<noinclude>
|colspan=8 bgcolor=#C0C0C0| [[Opel Senator|Senator A]]/ [[Opel Monza|Monza]]
 
|colspan=7 bgcolor=#C0C0C0| [[Opel Senator|Senator B]]
{{pp-template|small=yes}}
|colspan=5|
{{documentation}}
|colspan=10|
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0 rowspan=2| [[Sports car]]
|colspan=10|
|colspan=5|
|colspan=6 bgcolor=#C0C0C0| [[Opel Tigra|Tigra]]
|colspan=4|
|colspan=5 bgcolor=#C0C0C0| [[Opel Tigra|Tigra TwinTop]]
|- bgcolor=#E0E0E0
|colspan=9 bgcolor=#C0C0C0| [[Opel Manta|Manta B]]
|colspan=1|
|colspan=1|
|colspan=8 bgcolor=#C0C0C0| [[Opel Calibra|Calibra]]
|colspan=1|
|colspan=6 bgcolor=#C0C0C0| [[Opel Speedster|Speedster]]
|colspan=1|
|colspan=3 bgcolor=#C0C0C0| [[Opel GT|GT]]
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0 rowspan=2| [[Mini MPV]]
|colspan=10|
|colspan=10|
|colspan=1|
|colspan=6 bgcolor=#C0C0C0| [[Opel Agila|Agila A]]
|colspan=3 bgcolor=#C0C0C0| [[Opel Agila|Agila B]]
|- bgcolor=#E0E0E0
|colspan=10|
|colspan=10|
|colspan=2|
|colspan=6 bgcolor=#C0C0C0| [[Opel Meriva|Meriva A]]
|colspan=2 bgcolor=#C0C0C0| [[Opel Meriva|Meriva B]]
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0| [[Compact MPV|Compact MPV]]
|colspan=10|
|colspan=10|
|colspan=6 bgcolor=#C0C0C0| [[Opel Zafira|Zafira A]]
|colspan=4 bgcolor=#C0C0C0| [[Opel Zafira|Zafira B]]
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0| [[Large MPV|Large MPV]]
|colspan=10|
|colspan=7|
|colspan=4 bgcolor=#C0C0C0| [[Opel Sintra|Sintra]]
|colspan=9|
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0 rowspan=2| [[Sport utility vehicle|SUV]]
|colspan=10|
|colspan=2|
|colspan=7 bgcolor=#C0C0C0| [[Opel Frontera|Frontera A]]
|colspan=7 bgcolor=#C0C0C0| [[Opel Frontera|Frontera B]]
|colspan=1|
|colspan=3 bgcolor=#C0C0C0| [[Opel Antara|Antara]]
|- bgcolor=#E0E0E0
|colspan=10|
|colspan=3|
|colspan=7 bgcolor=#C0C0C0| [[Opel Monterey|Monterey]]
|colspan=10|
|- bgcolor=#E0E0E0
|bgcolor=#F0F0F0 rowspan=3| [[Van|LCVs]]
|colspan=10|
|colspan=5|
|colspan=6 bgcolor=#C0C0C0| [[Opel Combo|Combo A]]
|colspan=9 bgcolor=#C0C0C0| [[Opel Combo|Combo B]]
|- bgcolor=#E0E0E0
|colspan=10|
|colspan=10|
|colspan=5 bgcolor=#C0C0C0| [[Opel Arena|Arena]]
|colspan=5 bgcolor=#C0C0C0| [[Opel Vivaro|Vivaro]]
|- bgcolor=#E0E0E0
|colspan=10|
|colspan=9|
|colspan=11 bgcolor=#C0C0C0| [[Opel Movano|Movano]]
|}<noinclude>
[[Category:General Motors timeline templates|{{PAGENAME}}]]
[[Category:Opel|τ]]
</noinclude>
</noinclude>

Latest revision as of 04:45, 6 February 2009

[edit] Template-info.svg Template documentation

This is the {{ombox/core}} helper meta-template.

Do not use this template directly, use {{ombox}} instead.

This template is called from {{ombox}}. It holds most of the code for {{ombox}}, while {{ombox}} does parameter preprocessing. Thus simplifying the code in {{ombox/core}}.

For more documentation see {{ombox}}.