Difference between revisions of "Template:Infobox circus"

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)
imported>94rain
m (Reverted edits by 94rain (talk) to last version by Frietjes)
 
(7 intermediate revisions by 5 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 20: Line 20:
 
| label5      = Year founded
 
| label5      = Year founded
 
| data5      = {{{year|}}}
 
| data5      = {{{year|}}}
 +
| label6      = Defunct
 +
| data6      = {{{defunct|{{{dissolved|}}}}}}
  
| header6     = {{#if:{{{operator|}}}{{{fate|}}}{{{ringmaster|}}}{{{director|}}}{{{traveling|}}}{{{tent|}}}{{{number|}}}{{{winter|}}}{{{acts|}}}{{{website|}}}{{{other|}}}|Information}}
+
| header7     = {{#if:{{{operator|}}}{{{fate|}}}{{{ringmaster|}}}{{{director|}}}{{{traveling|}}}{{{tent|}}}{{{number|}}}{{{winter|}}}{{{acts|}}}{{{website|}}}{{{other|}}}|Information}}
  
| label7     = Operator(s)
+
| label8     = Operator(s)
| data7       = {{{operator|}}}
+
| data8       = {{{operator|}}}
| label8     = Fate
+
| label9     = Fate
| data8       = {{{fate|}}}
+
| data9       = {{{fate|}}}
| label9      = Ringmaster(s)
+
| label10    = Ringmaster(s)
| data9      = {{{ringmaster|}}}
+
| data10      = {{{ringmaster|}}}
| label10     = Director(s)
+
| label11     = {{#if:{{{director|}}}|Director|Directors}}
| data10     = {{{director|}}}
+
| data11     = {{#if:{{{director|}}}|{{{director|}}}|{{{directors|}}}}}
| label11     = Traveling show?
+
| label12     = {{#if:{{{traveling|}}}|Traveling|Travelling}} show?
| data11     = {{{traveling|}}}
+
| data12     = {{#if:{{{traveling|}}}|{{{traveling|}}}|{{{travelling|}}}}}
| label12     = Circus tent?
+
| label13     = Circus tent?
| data12     = {{{tent|}}}
+
| data13     = {{{tent|}}}
| label13     = Number of companies
+
| label14     = {{abbr|No.|Number}} of companies
| data13     = {{{number|}}}
+
| data14     = {{{number|}}}
| label14     = Winter quarters
+
| label15     = Winter quarters
| data14     = {{{winter|}}}
+
| data15     = {{{winter|}}}
| label15     = Type of acts
+
| label16     = Type of acts
| data15     = {{{acts|}}}
+
| data16     = {{{acts|}}}
| label16     = Other information
+
| label17     = Other information
| class14    = note
+
| data17     = {{{other|}}}
| data16     = {{{other|}}}
+
| label18     = Website
| label17     = Website
+
| data18     = {{{website|}}}
| data17     = {{{website|}}}
+
| data19      = {{{nrhp|}}}
| data18    = {{#if:{{{nrhp|}}}|<span />
+
}}{{#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>
{{{!}} style="width: 100%; padding: 0; margin: 0; text-align: left"
 
{{{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