Difference between revisions of "Template:Ballotpedia/doc"

From blackwiki
Jump to navigation Jump to search
imported>Flatterworld
(Created page with '{{documentation subpage}} == Function == Link to a Ballotpedia article. == Usage == Provide the url path (after the first level) as the first parameter, and an op...')
 
imported>Srich32977
(add cautionary note about using Ballotpedia as a reference)
Line 2: Line 2:
  
 
== Function ==
 
== Function ==
Link to a Ballotpedia article.
+
Link to a Ballotpedia article. (Caution: [[Ballotpedia]] is a wiki and as such is generally [[WP:ELNO|not acceptable]] as a reference.)
  
 
== Usage ==
 
== Usage ==

Revision as of 05:18, 18 March 2014

Function

Link to a Ballotpedia article. (Caution: Ballotpedia is a wiki and as such is generally not acceptable as a reference.)

Usage

Provide the url path (after the first level) as the first parameter, and an optional name as the second parameter. If no name is provided for the second parameter, the template will use the name of the Wikipedia article.

{{Ballotpedia|Ballotpedia name|name}}

Example:
{{Ballotpedia|Chuck_Soderberg|Chuck Soderberg}}
Appears as:
Chuck Soderberg at Ballotpedia

Example using default name:
{{Ballotpedia|Chuck_Soderberg}}
Appears as:
Template:PAGENAMEBASE at Ballotpedia