Template:Infobox house: Difference between revisions

rough template
 
fixing titlebg for light and dark
 
(7 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|}}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}


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


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


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