Difference between revisions of "Template:Infobox pinball"

From blackwiki
Jump to navigation Jump to search
imported>Fluffystar
m
imported>Izkala
(Infobox conversion)
Line 1: Line 1:
{| 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"
+
{{Infobox
|-
+
| bodyclass  = hproduct
<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>
+
 
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%; font-weight:normal; background:none; margin: 6px 0 0 0" cellspacing="0" cellpadding="0">|{{!}}-}}
+
| title     = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAMEBASE}}}}
{{#if:{{{image|}}}|
+
| titleclass = fn
{{!}} colspan="2" style="text-align:center;" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}<br />{{#if:{{{caption|}}}|<span style="font-size:95%;">{{{caption}}}</span>}}
+
 
}}
+
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
+
| caption   = {{{caption|}}}
{{Alternating rows table section
+
 
|es=background:#f0f0f0;
+
| label1    = Manufacturer
|{{#if:{{{manufacturer|}}}|{{!}} '''Manufacturer''' {{!!}} {{{manufacturer|}}} }}
+
| data1      = {{{manufacturer|}}}
|{{#if:{{{release|}}}| {{!}} '''Release date''' {{!!}} {{{release|}}} }}
+
| label2    = Release date
|{{#if:{{{system|}}}| {{!}} '''System''' {{!!}} {{{system|}}} }}
+
| data2      = {{{release|}}}
|{{#if:{{{model|}}}| {{!}} '''Model #''' {{!!}} {{{model|}}} }}
+
| label3    = System
|{{#if:{{{players|}}}| {{!}} '''Players''' {{!!}} {{{players|}}} }}
+
| data3      = {{{system|}}}
|{{#if:{{{designer|}}}| {{!}} '''Designer(s)''' {{!!}} {{{designer|}}} }}
+
| label4    = Model #
|{{#if:{{{programmer|}}}| {{!}} '''Programmer(s)''' {{!!}} {{{programmer|}}} }}
+
| data4      = {{{model|}}}
|{{#if:{{{artwork|}}}| {{!}} '''Artwork''' {{!!}} {{{artwork|}}} }}
+
| label5    = Players
|{{#if:{{{mechanics|}}}| {{!}} '''Mechanics''' {{!!}} {{{mechanics|}}} }}
+
| data5      = {{{players|}}}
|{{#if:{{{music|}}}| {{!}} '''Music''' {{!!}} {{{music|}}} }}
+
| label6    = Designer(s)
|{{#if:{{{sound|}}}| {{!}} '''Sound''' {{!!}} {{{sound|}}} }}
+
| data6      = {{{designer|}}}
|{{#if:{{{voices|}}}| {{!}} '''Voices''' {{!!}} {{{voices|}}} }}
+
| label7    = Programmer(s)
|{{#if:{{{misc1|}}}| {{!}} {{{misc1|}}} }}
+
| data7      = {{{programmer|}}}
|{{#if:{{{misc2|}}}| {{!}} {{{misc2|}}} }}
+
| label8    = Artwork
|{{#if:{{{misc3|}}}| {{!}} {{{misc3|}}} }}
+
| data8      = {{{artwork|}}}
|{{#if:{{{misc4|}}}| {{!}} {{{misc4|}}} }}
+
| label9    = Mechanics
|{{#if:{{{production|}}}| {{!}} '''Production run''' {{!!}} {{{production|}}} }}
+
| data9      = {{{mechanics|}}}
}}
+
| label10    = Music
|}<noinclude>
+
| data10    = {{{music|}}}
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! -->
+
| label11    = Sound
 +
| data11    = {{{sound|}}}
 +
| label12    = Voices
 +
| data12    = {{{voices|}}}
 +
| label13    = Production run
 +
| data13    = {{{production|}}}
 +
| label14    = {{{blank1_title}}}
 +
| data14    = {{#if:{{{blank1_title|}}}|{{{blank1|}}}}}
 +
| label15    = {{{blank2_title}}}
 +
| data15    = {{#if:{{{blank2_title|}}}|{{{blank2|}}}}}
 +
| label16    = {{{blank3_title}}}
 +
| data16    = {{#if:{{{blank3_title|}}}|{{{blank3|}}}}}
 +
| label17    = {{{blank4_title}}}
 +
| data17    = {{#if:{{{blank4_title|}}}|{{{blank4|}}}}}
 +
}}<noinclude>
 +
{{Documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 17:28, 25 June 2015

Template:PAGENAMEBASE

[[Category:Infobox templates|Template:Remove first word]]

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