Difference between revisions of "Template:Ballotpedia"
Jump to navigation
Jump to search
imported>Zyxw (trim any leading spaces from first unnamed parameter that would break link, replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation with article name is used as link text.) |
imported>Elegie (Use HTTPS for the Ballotpedia link in order to provide increased user privacy/security) |
||
| Line 1: | Line 1: | ||
| − | [ | + | [https://ballotpedia.org/{{trim|{{{1}}}}} {{{2|{{PAGENAMEBASE}}}}}] at [[Ballotpedia]]<noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage and interwikis at Wikidata --> | <!-- Add categories to the /doc subpage and interwikis at Wikidata --> | ||
</noinclude> | </noinclude> | ||
Revision as of 22:50, 10 May 2017
Template:PAGENAMEBASE at Ballotpedia
Function
Link to a Ballotpedia article.
Usage
Provide the url path (after the first level) as the first parameter, and the name as the second parameter. Both parameters are optional, and will fall back to the article title as a default value.
Example: {{Ballotpedia|Chuck_Soderberg|Chuck Soderberg}} → Chuck Soderberg at Ballotpedia
| The above documentation is transcluded from Template:Ballotpedia/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |