Template:Constituency infobox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" |- ! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:160%;" | {...") |
No edit summary |
||
Line 15: | Line 15: | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | '''{{{caption|}}}''' | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | '''{{{caption|}}}''' | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{created|}}}| |display: none;}}" valign="top" |'''Created''' | |||
| style="{{#if:{{{created|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{created|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{eliminated|}}}| |display: none;}}" valign="top" |'''Eliminated''' | |||
| style="{{#if:{{{eliminated|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eliminated|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{recreated|}}}| |display: none;}}" valign="top" |'''Recreated''' | |||
| style="{{#if:{{{recreated|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{recreated|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{magnitude|}}}| |display: none;}}" valign="top" |'''Seats''' | |||
| style="{{#if:{{{magnitude|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{magnitude|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{member|}}}| |display: none;}}" valign="top" |'''{{{membertitle|}}}''' | | style="{{#if:{{{member|}}}| |display: none;}}" valign="top" |'''{{{membertitle|}}}''' | ||
Line 28: | Line 40: | ||
| style="{{#if:{{{wealth|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{wealth|}}} | | style="{{#if:{{{wealth|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{wealth|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{majorsettlements|}}}| |display: none;}}" valign="top" |'''Major settlements''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{majorsettlements|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{majorsettlements|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{createdfrom|}}}| |display: none;}}" valign="top" |'''Created from''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{createdfrom|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{createdfrom|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{periodactive|}}}| |display: none;}}" valign="top" |'''Period active''' | | style="{{#if:{{{periodactive|}}}| |display: none;}}" valign="top" |'''Period active''' | ||
Line 52: | Line 61: | ||
|image1=Example | |image1=Example | ||
|caption=Example | |caption=Example | ||
|created=Example | |||
|eliminated=Example | |||
|recreated=Example | |||
|membertitle=Example | |membertitle=Example | ||
|member=Example | |member=Example | ||
Line 59: | Line 71: | ||
|wealthmetric=Example | |wealthmetric=Example | ||
|wealth=Example | |wealth=Example | ||
| | |majorsettlements=Example | ||
| | |createdfrom=Example | ||
|periodactive=Example | |periodactive=Example | ||
Latest revision as of 23:08, 29 May 2023
|
Example usage:
{{Constituency_infobox |color=Example |title1=Example |type=Example |image1=Example |caption=Example |created=Example |eliminated=Example |recreated=Example |membertitle=Example |member=Example |body=Example |sizemetric=Example |size=Example |wealthmetric=Example |wealth=Example |majorsettlements=Example |createdfrom=Example |periodactive=Example }}