Difference between revisions of "Template:Infobox election campaign"

From blackwiki
Jump to navigation Jump to search
imported>Dupesboons
imported>Oshwah
m (Reverted edits by Dupesboons (talk) (HG) (3.4.4))
Line 1: Line 1:
 +
{{Infobox
 +
| bodyclass  = vcard
  
 +
| title      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
 +
| titleclass = fn n org
 +
 +
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
 +
|
 +
| label1    = Campaigned for
 +
| data1      = {{{campaigned_for|}}}
 +
 +
| label2    = Candidate
 +
| data2      = {{{candidate|}}}
 +
 +
| label3    = Affiliation
 +
| data3      = {{{affiliation|}}}
 +
 +
| label4    = Status
 +
| data4      = {{{status|}}}
 +
 +
| label5    = Headquarters
 +
| data5      = {{{headquarters|}}}
 +
 +
| label6    = Key people
 +
| data6      = {{{key_people|}}}
 +
 +
| label7    = Receipts
 +
| data7      = {{{receipts|}}}
 +
 +
| label8    = Slogan
 +
| data8      = {{#if:{{{slogan|}}}|''{{{slogan}}}''}}
 +
 +
| label9    = Chant
 +
| data9      = {{#if:{{{chant|}}}|''{{{chant}}}''}}
 +
 +
| label10    = Website
 +
| data10    = {{{website|}}}
 +
}}<noinclude>
 +
{{Documentation}}</noinclude>

Revision as of 04:07, 10 September 2018

Template:PAGENAMEBASE

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox election campaign
| name = 
| logo = 
| logo_upright = 
| logo_alt = 
| campaigned_for = 
| candidate = 
| affiliation = 
| status = 
| headquarters = 
| key_people = 
| receipts = 
| slogan = 
| chant = 
| website = 
}}

Parameters

name
the name of the campaign
logo
campaign logo filename; see WP:UPLOAD
logo_upright
logo scaling factor; see WP:THUMBSIZE
logo_alt
logo alt text; see WP:ALT
campaigned_for
wikilinked election they campaigned for
candidate
wikilinked name of the candidate
affiliation
party affiliation
status
whether the campaign is ongoing
headquarters
location of the campaign HQ; be mindful of WP:OVERLINK
key_people
notable staff; use {{Plainlist}} if more than one
receipts
campaign receipts
slogan
campaign slogan
chant
chant(s) used by campaign supporters
website
official website; use {{URL}}

See also