Difference between revisions of "Template:Infobox motorsport round"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template for discussion/dated|page=Infobox motorsport round|link=Wikipedia:Templates for discussion/Log/2013 September 23#Template:Infobox motorsport round|help=off}}
 
 
{{ infobox
 
{{ infobox
 
| bodyclass  = vcard
 
| bodyclass  = vcard
| title      = {{{name|<includeonly>{{PAGENAME}}</includeonly> }}}
+
| title      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly> }}}
 
| titleclass = fn
 
| titleclass = fn
| image      = {{#if:{{{logo|}}}|[[File:{{{logo|}}}|{{px|{{{image-size|}}}|frameless}}]]}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{image-size|}}}|sizedefault=frameless}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
Line 47: Line 46:
  
 
}}<noinclude>
 
}}<noinclude>
{{template doc}}
+
{{documentation}}
{{uncat}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:55, 30 November 2016

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

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

Usage

Template:Parameter names example

{{Infobox motorsport round
| name            = 
| logo            = 
| image-size      = (optional; will default to 250px if left blank)
| caption         = 
| category        = [1]
| country/region  = 
| inaugural       = 
| inaugural2      = [2]
| folded          = 
| classes         = [3]
| drivers         = [4]
| riders          = [4]
| teams           = 
| constructors    = [5]
| engines         = [5]
| tyres           = [5]
| winning driver = 
| winning co-driver  = 
| winning team   = 
| manufacturer    = [6]
| constructor     = [6]
| website         = 
| current_season  =
| race_director   =
}}

See also