Template:Campaign: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="infobox" border=0 align=right cellpadding=3 cellspacing=0 style="{{Roundy}}; padding: 0px; margin-left:5px; margin-bottom:5px; width: 300px; text-align: left; font-s...") |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | |- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}colspan="2" style=" | {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{#if:{{{image-size|}}}|<!--then:-->{{{image-size}}}px|<!--else:-->250px}}| ]]<br/>{{#if:{{{image-caption|}}}|<span style="font-size: 95%; line-height:1.5em;">{{{image-caption}}}</span>}} | ||
}} | |}} | ||
|- | |- | ||
Line 18: | Line 18: | ||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |- style="text-align:left; vertical-align:top; font-size:95%;" | ||
{{#if:{{{office|}}}| | {{#if:{{{office-title|}}}| | ||
{{!}}style="width:30%; font-weight:bold;"{{!}}Office: | {{!}}style="width:30%; font-weight:bold;"{{!}}Office: | ||
{{!}}style="width:70%;"{{!}}{{{office|}}} | {{!}}style="width:70%;"{{!}}{{{office-title|}}} | ||
}} | |||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |||
{{#if:{{{office-location|}}}| | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}Location: | |||
{{!}}style="width:70%;"{{!}}{{{office-location|}}} | |||
}} | }} | ||
Line 39: | Line 45: | ||
{{!}}style="width:30%; font-weight:bold;"{{!}}Slogan: | {{!}}style="width:30%; font-weight:bold;"{{!}}Slogan: | ||
{{!}}style="width:70%;"{{!}}{{{slogan|}}} | {{!}}style="width:70%;"{{!}}{{{slogan|}}} | ||
}} | |||
|- | |||
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Results''' | |||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |||
{{#if:{{{votes|}}}| | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}Votes: | |||
{{!}}style="width:70%;"{{!}}{{{votes|}}} | |||
}} | |||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |||
{{#if:{{{percentage|}}}| | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}Percentage: | |||
{{!}}style="width:70%;"{{!}}{{{percentage|}}} | |||
}} | }} | ||
Line 77: | Line 98: | ||
|Template:Campaign/doc = [[Category:Template documentation]] | |Template:Campaign/doc = [[Category:Template documentation]] | ||
|#default = | |#default = | ||
}}<!--{{#ifeq:{{{field|}}}|ENTRY|[[Category:CATEGORY]]}}<!-- | }}{{DEFAULTSORT:{{{candidate-last}}}, {{{candidate-first}}}}}<!--{{#ifeq:{{{field|}}}|ENTRY|[[Category:CATEGORY]]}}<!-- | ||
--><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude> | --><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude> |
Latest revision as of 19:20, 14 July 2021
Title | |
Campaign | |
Results | |
Template documentation (for the above template, sometimes hidden or invisible)
Usage
Blank
Copy and paste the template below into the article you want to use it in.
{{Campaign |title = |image = |image-size = |candidate = |candidate-first = |candidate-last = |office-title = |office-location = |election-date = |receipts = |slogan = |votes = |percentage = |website = |facebook = |twitter = |instagram = }}
Visit Template:Campaign/doc to edit this text! (How does this work?)