Difference between revisions of "Template:Infobox circus"
Jump to navigation
Jump to search
imported>Frietjes (Adding unknown parameter tracking through Category:Pages using infobox circus with unknown parameters using Module:check for unknown parameters) |
imported>94rain |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| abovestyle = background-color: #B0C4DE | | abovestyle = background-color: #B0C4DE | ||
| − | | above = <includeonly> | + | | above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly> |
| aboveclass = fn org | | aboveclass = fn org | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.1|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.1|alt={{{alt|}}}}} | ||
| Line 8: | Line 8: | ||
| headerstyle = background-color: #B0C4DE | | headerstyle = background-color: #B0C4DE | ||
| − | | header1 = {{#if: | + | | header1 = {{#if:{{{country|}}}{{{founder|}}}{{{year|}}}|Origin}} |
| − | | label2 = | + | | label2 = Circus name |
| − | | data2 = {{{circus_name|}}} | + | | data2 = {{#ifeq:{{{name|{{PAGENAMEBASE}}}}}|{{{circus_name|}}}|| {{{circus_name|}}} }} |
| label3 = Country | | label3 = Country | ||
| class3 = label | | class3 = label | ||
| Line 29: | Line 29: | ||
| label9 = Fate | | label9 = Fate | ||
| data9 = {{{fate|}}} | | data9 = {{{fate|}}} | ||
| − | | label10 | + | | label10 = Ringmaster(s) |
| − | | data10 | + | | data10 = {{{ringmaster|}}} |
| − | | label11 = Director | + | | label11 = {{#if:{{{director|}}}|Director|Directors}} |
| − | | data11 = {{{director|}}} | + | | data11 = {{#if:{{{director|}}}|{{{director|}}}|{{{directors|}}}}} |
| − | | label12 = Traveling show? | + | | label12 = {{#if:{{{traveling|}}}|Traveling|Travelling}} show? |
| − | | data12 = {{{traveling|}}} | + | | data12 = {{#if:{{{traveling|}}}|{{{traveling|}}}|{{{travelling|}}}}} |
| label13 = Circus tent? | | label13 = Circus tent? | ||
| data13 = {{{tent|}}} | | data13 = {{{tent|}}} | ||
| Line 48: | Line 48: | ||
| data18 = {{{website|}}} | | data18 = {{{website|}}} | ||
| data19 = {{{nrhp|}}} | | data19 = {{{nrhp|}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox circus with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox circus]] with unknown parameter "_VALUE_"|ignoreblank=y| acts | alt | caption | circus_name | country | defunct | director | dissolved | fate | founder | image | image_size | name | nrhp | number | operator | other | ringmaster | tent | traveling | website | winter | year }}<noinclude>{{Documentation}}<!-- Add category and language links to the /doc page, not here --></noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox circus with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox circus]] with unknown parameter "_VALUE_"|ignoreblank=y| acts | alt | caption | circus_name | country | defunct | director | directors | dissolved | fate | founder | image | image_size | name | nrhp | number | operator | other | ringmaster | tent | traveling | travelling | website | winter | year }}<noinclude>{{Documentation}}<!-- Add category and language links to the /doc page, not here --></noinclude> |
Latest revision as of 11:21, 10 February 2019
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
- redirect Template:Parameter names example
{{Infobox circus
| name =
| image =
| caption =
| circus_name =
| country =
| founder =
| year =
| defunct =
| operator =
| fate =
| ringmaster =
| director =
| traveling =
| tent =
| number =
| winter =
| acts =
| other =
| website =
}}
Tracking category
| The above documentation is transcluded from Template:Infobox circus/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |