Template:Infobox campaign: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox|infobox | <includeonly><templatestyles src="Infobox campaign/styles.css" />{{#invoke:Infobox|infobox | ||
| bodyclass = vevent | | bodyclass = vevent infobox-campaign | ||
| bodystyle = width: 25.5em; border-spacing: 2px; | | bodystyle = width: 25.5em; border-spacing: 2px; | ||
| abovestyle = background-color: #CEE0F2; color: inherit; text-align: center; vertical-align: middle; font-size: 110%; | | abovestyle = background-color: #CEE0F2; color: inherit; text-align: center; vertical-align: middle; font-size: 110%; | ||
| aboveclass = summary | | aboveclass = summary infobox-campaign-above | ||
| above = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{child|}}}|yes||{{PAGENAME}}}}}} | | above = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{child|}}}|yes||{{PAGENAME}}}}}} | ||
| headerclass = infobox-campaign-header | |||
| headerstyle = background-color: #CEE0F2; color: inherit; | | headerstyle = background-color: #CEE0F2; color: inherit; | ||
| subheaderclass = infobox-campaign-subheader | |||
| subheaderstyle = background-color: #eeeeee; color: inherit; text-align: center; vertical-align: middle; | | subheaderstyle = background-color: #eeeeee; color: inherit; text-align: center; vertical-align: middle; | ||
| subheader = {{{subtitle|}}}{{#if:{{{subtitle|}}}|{{#if:{{{part_of|}}}|<br/>}}}}{{#if:{{{part_of|}}}|Part of {{{part_of}}}}} | | subheader = {{{subtitle|}}}{{#if:{{{subtitle|}}}|{{#if:{{{part_of|}}}|<br/>}}}}{{#if:{{{part_of|}}}|Part of {{{part_of}}}}} | ||