Difference between revisions of "Template:Ballotpedia"
Jump to navigation
Jump to search
(Url format changed, now redirecting) |
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.) |
||
| Line 1: | Line 1: | ||
| − | [http://ballotpedia.org/{{{1}}} {{{2|{{ | + | [http://ballotpedia.org/{{trim|{{{1}}}}} {{{2|{{PAGENAMEBASE}}}}}] at [[Ballotpedia]]<noinclude> |
{{documentation}} | {{documentation}} | ||
| − | <!-- Add | + | <!-- Add categories to the /doc subpage and interwikis at Wikidata --> |
</noinclude> | </noinclude> | ||
Revision as of 23:25, 1 September 2015
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. |