Difference between revisions of "Template:Infobox pinball"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(full overhaul to turn this into a proper {{infobox}})
imported>Torsodog
Line 1: Line 1:
{{ infobox
+
{| class="{{#ifeq:{{{collapsible|}}}|yes|collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}} infobox hproduct" style="float:{{{align|right}}}; width:{{#if:{{{width|}}}|{{{width|}}}|264px}}; font-size:90%; text-align:left;" cellspacing="0" cellpadding="3"
| title     = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}}
+
|-
| titlestyle = font-style: italic
+
<includeonly>! colspan=2 style="text-align:center;" | <span style="font-size:111%;">{{#ifeq:{{lc:{{{italic title|}}}}}|no||''}}<span class="fn">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</span>{{#ifeq:{{lc:{{{italic title|}}}}}|no||''}}</span></includeonly>
| image      = {{{image|}}}
+
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%; font-weight:normal; background:none; margin: 6px 0 0 0" cellspacing="0" cellpadding="0">|{{!}}-}}
| caption    = {{{caption|}}}
+
{{#if:{{{image|}}}|
 
+
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image|}}}<br />{{#if:{{{caption|}}}|<span style="font-size:95%;">{{{caption}}}</span>}}
| label1    = Manufacturer
+
}}
| data1      = {{{manufacturer|}}}
+
{{#ifeq:{{{show image|}}}|yes|</table>}}
| label2    = Release date
+
{{Alternating rows table section
| data2      = {{{released|{{{release|}}}}}}
+
|es=background:#f0f0f0;
| label3    = System
+
|{{#if:{{{manufacturer|}}}|{{!}} '''Manufacturer''' {{!!}} {{{manufacturer|}}} }}
| data3      = {{{system|}}}
+
|{{#if:{{{release|}}}| {{!}} '''Release date''' {{!!}} {{{release|}}} }}
| label4    = Model #
+
|{{#if:{{{system|}}}| {{!}} '''System''' {{!!}} {{{system|}}} }}
| data4      = {{{model|}}}
+
|{{#if:{{{model|}}}| {{!}} '''Model #''' {{!!}} {{{model|}}} }}
| label5    = Players
+
|{{#if:{{{players|}}}| {{!}} '''Players''' {{!!}} {{{players|}}} }}
| data5      = {{{players|}}}
+
|{{#if:{{{designer|}}}| {{!}} '''Designer(s)''' {{!!}} {{{designer|}}} }}
| label6    = Design
+
|{{#if:{{{programmer|}}}| {{!}} '''Programmer(s)''' {{!!}} {{{programmer|}}} }}
| data6      = {{{designer|}}}
+
|{{#if:{{{artwork|}}}| {{!}} '''Artwork''' {{!!}} {{{artwork|}}} }}
| label7    = Programming
+
|{{#if:{{{mechanics|}}}| {{!}} '''Mechanics''' {{!!}} {{{mechanics|}}} }}
| data7      = {{{programmer|}}}
+
|{{#if:{{{sound|}}}| {{!}} '''Sound''' {{!!}} {{{sound|}}} }}
| label8    = Effects
+
|{{#if:{{{voices|}}}| {{!}} '''Voices''' {{!!}} {{{voices|}}} }}
| data8      = {{{effects|}}}
+
|{{#if:{{{production|}}}| {{!}} '''Production run''' {{!!}} {{{production|}}} }}
| label9    = Artwork
+
|{{#if:{{{misc1|}}}| {{!}} Misc {{!!}} {{{misc1|}}} }}
| data9      = {{{artwork|}}}
+
|{{#if:{{{misc2|}}}| {{!}} Misc {{!!}} {{{misc2|}}} }}
| label10    = Mechanics
+
|{{#if:{{{misc3|}}}| {{!}} Misc {{!!}} {{{misc3|}}} }}
| data10    = {{{mechanics|}}}
+
}}
| label11    = Music
+
|}<noinclude>
| data11    = {{{music|}}}
+
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! -->
| label12    = Sound
+
</noinclude>
| data12    = {{{sound|}}}
 
| label13    = Voices
 
| data13    = {{{voices|}}}
 
| label14    = Production run
 
| data14    = {{{production|}}}
 
 
 
| data15    = {{{misc1|}}}
 
| data16    = {{{misc2|}}}
 
| data17    = {{{misc3|}}}
 
 
 
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
 

Revision as of 04:35, 28 December 2012

Template documentation[view] [edit] [history] [purge]

This is an infobox for pinball machines.

Usage

Template:Parameter names example

{{Infobox pinball
| image        = 
| caption      = 
| manufacturer = 
| release      = 
| system       = 
| model        = 
| players      = 
| designer     = 
| programmer   = 
| artwork      = 
| mechanics    = 
| music        = 
| sound        = 
| voices       = 
| blank1_title = <!-- information that is not mentioned above, e.g. dots/animation -->
| blank1       = 
| blank2_title = 
| blank2       = 
| blank3_title = 
| blank3       = 
| blank4_title = 
| blank4       = 
| production   = <!-- number produced -->
}}

Microformat

Template:UF-hcal

ja:Template:Infobox pinball fr:Modèle:Infobox Flipper pt:Predefinição:Info/Pinball sv:Mall:Flipperspel Infobox th:แม่แบบ:Infobox Pinball