Template:Infobox house: Difference between revisions

m fixed variable name
fixing titlebg for light and dark
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| title    = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
| title    = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
| titlebg-light = {{{titlebg-light|}}}
| titlebg-dark  = {{{titlebg-dark|}}}


| image    = {{{image|}}}
| image    = {{{image|}}}
Line 7: Line 9:
| label1  = Location
| label1  = Location
| data1    = {{{location|}}}
| data1    = {{{location|}}}
| label2  = Capacity
| label2   = Year built
| data2   = {{{capacity|}}}
| data2    = {{{yearbuilt|}}}
| label3   = Open to
| label3   = Capacity
| data3   = {{{opento|}}}
| data3   = {{{capacity|}}}
| label4   = Color
| label4   = Open to
| data4   = {{{color|}}}
| data4   = {{{opento|}}}
| label5   = Mascot
| label5   = Color
| data5   = {{{mascot|}}}
| data5   = {{{color|}}}
| label6   = Mascot
| data6   = {{{mascot|}}}


| header6 = {{#if:{{{email|}}}{{{socials|}}}{{{website|}}}|Links}}
| header7 = {{#if:{{{email|}}}{{{socials|}}}{{{website|}}}|Links}}


| label7   = Email
| label8   = Email
| data7   = {{{email|}}}
| data8   = {{{email|}}}
| label8   = Social media
| label9   = Social media
| data8   = {{{socials|}}}
| data9   = {{{socials|}}}
| label9   = Website
| label10   = Website
| data9   = {{{website|}}}
| data10   = {{{website|}}}
}}<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>
}}<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>