Difference between revisions of "Template:Ballotpedia/doc"
Jump to navigation
Jump to search
imported>Marquardtika (Not apparently a wiki based on this: http://ballotpedia.org/Ballotpedia:About) |
imported>Waldyrious (→Usage: update documentation) |
||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
− | Provide the url path (after the first level) as the first parameter, and | + | 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: {{tlx|Ballotpedia|Chuck_Soderberg|Chuck Soderberg}} → {{Ballotpedia|Chuck_Soderberg|Chuck Soderberg}} | |
− | |||
− | Example: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> | ||
− | |||
[[Category:Templates containing links to non-Wikimedia wikis]] | [[Category:Templates containing links to non-Wikimedia wikis]] | ||
− | |||
</includeonly> | </includeonly> |
Revision as of 09:40, 14 July 2017
![]() | This is a documentation subpage for Template:Ballotpedia. It contains usage information, categories and other content that is not part of the original template page. |
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