Difference between revisions of "Template:Ballotpedia/doc"

From blackwiki
Jump to navigation Jump to search
imported>Srich32977
(add cautionary note about using Ballotpedia as a reference)
imported>Djr13
m (subcat)
Line 21: Line 21:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:External link templates|{{PAGENAME}}]]
+
[[Category:Templates containing links to non-Wikimedia wikis]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>
 
</includeonly>

Revision as of 02:44, 14 April 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