Template:Wikivoyage inline: Difference between revisions
Okay, template has been updated. Should work as intended now. |
Sfan00 IMG (talk | contribs) Per {{tl|wikivoyage}} |
||
Line 1: | Line 1: | ||
<noinclude>{{pp-template|small=yes}}</noinclude>{{sister-inline|project=wikivoyage|list={{{list|}}}|links={{{links|[[voy:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]}}}|extratext={{{extratext|}}}}}<noinclude> |
<noinclude>{{pp-template|small=yes}}</noinclude><noinclude>{{sister-inline|project=wikivoyage|list={{{list|}}}|links={{{links|[[voy:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]}}}|extratext={{{extratext|}}}}}</noinclude><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 10:06, 15 November 2012
Wikivoyage inline travel guide from Wikivoyage
This template is used on approximately 5,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
As supported by Wikipedia:Wikimedia sister projects, this template may be used to add a Wikivoyage link to a Wikipedia article. It generates an interwikimedia link – it is not intended to represent sources for Wikipedia articles. It should only be used as an "External link", never as a citation.
The template can be used with one, two or no parameters as follows:
- {{Wikivoyage inline}} creates a link to the Wikivoyage page matching the Wikipedia page name.
- {{Wikivoyage inline|Boracay}} creates a link to the Wikivoyage page titled "Boracay".
- {{Wikivoyage inline|Boracay|Boracay Island}} creates a link to the Wikivoyage page titled "Boracay", but the link is worded "Boracay Island".
See also
- Wikipedia:Manual of Style/Layout § External links
- {{Commons}}—shows Commons box
- {{Commons-inline}}—shows Commons gallery inline
- {{Commons category}}—shows Commons category box
- {{Commons category-inline}}—shows Commons category inline
- {{Commons category multi}}—to list up to six categories
- {{Commons and category}}—shows Commons box with both gallery and category
- {{Commons and category inline}}—shows Commons gallery and category inline
- {{Copy to Wikimedia Commons}}
- {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
- {{Wiki category}}—to link to a gallery hosted on Wikipedia
- mw:Manual:Pywikibot/commonscat.py
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}
TemplateData
TemplateData for Wikivoyage inline
This template is intended for adding an external link within a Wikipedia article to the corresponding Wikivoyage article. If the Wikipedia and Wikivoyage articles are identical, no parameters need to be set.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name of Wikivoyage Article | 1 | Specify the exact name of the Wikivoyage article, as specified in the URL after "wiki/" This field is used to look up the Wikivoyage article.
| String | optional |
User friendly name of Wikivoyage article | 2 | This is the text that will be displayed to identify the name of the place or topic of the Wikivoyage article
| String | optional |
list | list | no description | Unknown | optional |
links | links | no description | Unknown | optional |
extratext | extratext | no description | Unknown | optional |