Difference between revisions of "Template:Infobox circus"

From blackwiki
Jump to navigation Jump to search
(added defunct)
imported>94rain
m (Reverted edits by 94rain (talk) to last version by Frietjes)
 
(4 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>''{{{name|{{PAGENAMEBASE}}}}}''</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:{{{circus_name|}}}{{{country|}}}{{{founder|}}}{{{year|}}}|Origin}}
+
| header1    = {{#if:{{{country|}}}{{{founder|}}}{{{year|}}}|Origin}}
  
| label2      = Circus name
+
| 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     = Ringmaster(s)
+
| label10     = Ringmaster(s)
| data10       = {{{ringmaster|}}}
+
| data10     = {{{ringmaster|}}}
| label11    = Director(s)
+
| 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 44: Line 44:
 
| data16      = {{{acts|}}}
 
| data16      = {{{acts|}}}
 
| label17    = Other information
 
| label17    = Other information
| class14    = note
 
 
| data17      = {{{other|}}}
 
| data17      = {{{other|}}}
 
| label18    = Website
 
| label18    = Website
 
| data18      = {{{website|}}}
 
| data18      = {{{website|}}}
| data19     = {{#if:{{{nrhp|}}}|<nowiki/>
+
| data19     = {{{nrhp|}}}
{{{!}} style="width: 100%; padding: 0; margin: 0; text-align: left"
+
}}{{#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>
{{{nrhp|}}}
 
{{!}}} }}
 
 
 
}}<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]]

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

Usage

  1. 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