Template:Candidate profile: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
{{#if:{{{source|}}}|<br> [{{{source|}}} ''Source website'']|}}
{{#if:{{{source|}}}|<br> [{{{source|}}} ''Source website'']|}}
|-
|-
{{#if:{{{forums|}}}|
|colspan="2"| Candidate forums:<br>{{{forums|}}}|}}
|-
|-
|colspan="2" style="background-color:#ffffff;"|[[Image:Logo-small25.jpg]]  ''Candidate interviews by [[Charlottesville Tomorrow]]. <noinclude>TAKING OUT UNTIL CONTENT CREATED - Visit the [[{{{electionyear}}} election]] article for voter guide, candidate forums, and other election results</noinclude>
|colspan="2" style="background-color:#ffffff;"|[[Image:Logo-small25.jpg]]  ''Candidate interviews by [[Charlottesville Tomorrow]]. <noinclude>TAKING OUT UNTIL CONTENT CREATED - Visit the [[{{{electionyear}}} election]] article for voter guide, candidate forums, and other election results</noinclude>

Revision as of 15:31, 19 February 2011

colspan="2"
Candidate Profile Resources
Candidate {{{candidate}}}
Office {{{office}}}
Election year [[{{{electionyear}}} election]]
[{{{transcript}}} Candidate interview transcript ]
Candidate interview audio

<mp3player>{{{url}}} </mp3player>

Logo-small25.jpg Candidate interviews by Charlottesville Tomorrow. TAKING OUT UNTIL CONTENT CREATED - Visit the [[{{{electionyear}}} election]] article for voter guide, candidate forums, and other election results

Usage

This template has been created to allow the sharing of candidate interview resources. While specific to Charlottesville Tomorrow's election coverage during 2005-2011, this template can be modified to support other sources as identified in the future.

Parameters

Required:

  • candidate - candidate name
  • electionyear - for now only 4 digit year of November general election
  • office - seat candidate is seeking

Optional:

  • transcript - link to PDF of transcript (upload to cvillepedia)
  • url - URL of MP3 audio (upload to cvillepedia)
  • source - source of audio in event there is more information like a timeline

Examples

{{Candidate profile
|candidate=[[David Slutzky|David Slutzky (D)]]
|electionyear=2009
|office=Albemarle County Board of Supervisors, Rio District
|transcript=http://www.cvillepedia.org/mediawiki/images/20090909-Slutzky.pdf
|url=http://www.cvillepedia.org/mediawiki/images/20090909-slutzky-interview.mp3
|source=http://cvilletomorrow.typepad.com/charlottesville_tomorrow_/2009/09/slutzky.html
}}

Results in:

colspan="2"
Candidate Profile Resources
Candidate David Slutzky (D)
Office Albemarle County Board of Supervisors, Rio District
Election year 2009 election
Candidate interview transcript
Candidate interview audio

<mp3player>http://www.cvillepedia.org/mediawiki/images/20090909-slutzky-interview.mp3 </mp3player>
Source website

Logo-small25.jpg Candidate interviews by Charlottesville Tomorrow.


{{Candidate profile
|candidate=[[David Slutzky|David Slutzky (D)]]
|electionyear=2009
|office=Albemarle County Board of Supervisors, Rio District
}}

Results in:

colspan="2"
Candidate Profile Resources
Candidate David Slutzky (D)
Office Albemarle County Board of Supervisors, Rio District
Election year 2009 election
[{{{transcript}}} Candidate interview transcript ]
Candidate interview audio

<mp3player>{{{url}}} </mp3player>

Logo-small25.jpg Candidate interviews by Charlottesville Tomorrow.


TemplateData

Infobox for candidates

Template parameters

ParameterDescriptionTypeStatus
Candidate Namecandidate

no description

Unknownrequired
Officeoffice

no description

Unknownrequired
Election Yearelectionyear

no description

Unknownrequired
Interview Transcript URLtranscript

no description

Example
http://www.cvillepedia.org/mediawiki/images/20090909-Slutzky.pdf
URLsuggested
Interview Audio URLurl

no description

Example
http://www.cvillepedia.org/mediawiki/images/20090909-slutzky-interview.mp3
URLsuggested
Interview Source URLsource

no description

Example
http://cvilletomorrow.typepad.com/charlottesville_tomorrow_/2009/09/slutzky.html
URLsuggested
Candidate forumsforums

no description

Unknownsuggested

See also