Difference between revisions of "Template:Ballotpedia/doc"

From blackwiki
Jump to navigation Jump to search
imported>Djr13
m (subcat)
imported>Marquardtika
(Not apparently a wiki based on this: http://ballotpedia.org/Ballotpedia:About)
Line 2: Line 2:
  
 
== Function ==
 
== Function ==
Link to a Ballotpedia article. (Caution: [[Ballotpedia]] is a wiki and as such is generally [[WP:ELNO|not acceptable]] as a reference.)
+
Link to a [[Ballotpedia]] article.
  
 
== Usage ==
 
== Usage ==

Revision as of 17:05, 8 November 2015

Function

Link to a Ballotpedia article.

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