Template:Candidate profile: Difference between revisions
1099047208 (talk | contribs) No edit summary |
m (one more try) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" border="1" width="40%" | {| class="wikitable" border="1" width="40%" | ||
|- | |- | ||
!|Candidate Profile Resources | !colspan="2"|Candidate Profile Resources | ||
|- | |- | ||
| | |'''Candidate''' | ||
|{{{candidate}}} | |||
|- | |- | ||
|''' | |'''Office''' | ||
|{{{office}}} | |||
|- | |- | ||
|'''Election year''' | |||
|[[{{{electionyear}}} election]] | |||
|- | |- | ||
|'' | {{#if:{{{transcript|}}}| | ||
{{!}}colspan="2" style="text-align:center; background-color:#ffffff;"{{!}}[[Image:Logo-small25.jpg]] ''Candidate interviews by [[Charlottesville Tomorrow]]'' | |||
{{!}}- | |||
{{!}}colspan="2"{{!}}[{{{transcript}}} '''Candidate interview transcript '''] | |||
{{!}}- | |||
|}} | |||
{{#if:{{{url|}}}| | |||
{{!}}colspan="2"{{!}}'''Candidate interview audio'''<br> | |||
{{#tag:mp3player|{{{url}}}}} | |||
{{#if:{{{source|}}}|<br> [{{{source|}}} ''Source website'']|}} | |||
{{!}}- | |||
|}} | |||
{{#if:{{{forums|}}}| | |||
{{!}}- | |||
{{!}} colspan="2"{{!}}'''Candidate forums''':<br>{{{{{forums|}}}}} | |||
|}} | |||
|} | |} | ||
<noinclude>{{Template:Candidate profile/doc|Template documentation}}</noinclude> | <noinclude>{{Template:Candidate profile/doc|Template documentation}}</noinclude> |
Latest revision as of 00:25, 18 January 2019
Candidate Profile Resources | |
---|---|
Candidate | {{{candidate}}} |
Office | {{{office}}} |
Election year | [[{{{electionyear}}} election]] |
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:
Candidate Profile Resources | |
---|---|
Candidate | David Slutzky (D) |
Office | Albemarle County Board of Supervisors, Rio District |
Election year | 2009 election |
Candidate interviews by Charlottesville Tomorrow | |
Candidate interview transcript | |
Candidate interview audio <mp3player>http://www.cvillepedia.org/mediawiki/images/20090909-slutzky-interview.mp3</mp3player>
|
{{Candidate profile
|candidate=[[David Slutzky|David Slutzky (D)]]
|electionyear=2009
|office=Albemarle County Board of Supervisors, Rio District
}}
Results in:
Candidate Profile Resources | |
---|---|
Candidate | David Slutzky (D) |
Office | Albemarle County Board of Supervisors, Rio District |
Election year | 2009 election |
TemplateData
Infobox for candidates
Parameter | Description | Type | Status | |
---|---|---|---|---|
Candidate Name | candidate | no description | Unknown | required |
Office | office | no description | Unknown | required |
Election Year | electionyear | no description | Unknown | required |
Interview Transcript URL | transcript | no description
| URL | suggested |
Interview Audio URL | url | no description
| URL | suggested |
Interview Source URL | source | no description
| URL | suggested |
Candidate forums | forums | no description | Unknown | suggested |