Template:Wikivoyage-inline/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>K7L
m K7L moved page Template:Wikivoyage/doc to Template:Wikivoyage-inline/doc: Move documentation to match moved template name
meta>JamesA
m spelling, fixing template names and removing incorrect interwikis
Line 4: Line 4:
== Usage ==
== Usage ==


As supported by [[Wikipedia:Wikimedia sister projects]], this template may be used to add a [[Wikivoyage]] link to a Wikipedia article. Note that this template generates an [[Wikipedia:InterWikimedia links|InterWikimedia link]] and is not intended to represent sources for Wikpedia articles.
As supported by [[Wikipedia:Wikimedia sister projects]], this template may be used to add a [[Wikivoyage]] link to a Wikipedia article. Note that this template generates an [[Wikipedia:InterWikimedia links|InterWikimedia link]] and is not intended to represent sources for Wikipedia articles.


This template should only be used as an External link, never as a citation. The Wikivoyage template can be used with one, two or no parameters as follows:
This template should only be used as an External link, never as a citation. The Wikivoyage template can be used with one, two or no parameters as follows:
:'''<nowiki>{{wikivoyage}}</nowiki>''' creates a link to a Wikivoyage page matching the page name
:'''<nowiki>{{wikivoyage-inline}}</nowiki>''' creates a link to a Wikivoyage page matching the page name
:'''<nowiki>{{wikivoyage|Boracay}}</nowiki>''' creates a link to the Wikivoyage page about Boracay
:'''<nowiki>{{wikivoyage-inline|Boracay}}</nowiki>''' creates a link to the Wikivoyage page about Boracay
:'''<nowiki>{{wikivoyage|Boracay|Boracay Island}}</nowiki>''' creates a link to the Wikivoyage page about Boracay, but the link is labelled as "Boracay Island"
:'''<nowiki>{{wikivoyage-inline|Boracay|Boracay Island}}</nowiki>''' creates a link to the Wikivoyage page about Boracay, but the link is labelled as "Boracay Island"


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[de:vorlage:Wikivoyage]]
<!-- fr:modèle:wikivoyage is not implemented as {{autres projets|wikivoyage=...pagename...}} provides a box and icons -->
[[hr:predložak:Wikivoyage]]
[[Category:Interwiki link templates]]
[[Category:Interwiki link templates]]
</includeonly>
</includeonly>

Revision as of 11:23, 13 November 2012

Usage

As supported by Wikipedia:Wikimedia sister projects, this template may be used to add a Wikivoyage link to a Wikipedia article. Note that this template generates an InterWikimedia link and is not intended to represent sources for Wikipedia articles.

This template should only be used as an External link, never as a citation. The Wikivoyage template can be used with one, two or no parameters as follows:

{{wikivoyage-inline}} creates a link to a Wikivoyage page matching the page name
{{wikivoyage-inline|Boracay}} creates a link to the Wikivoyage page about Boracay
{{wikivoyage-inline|Boracay|Boracay Island}} creates a link to the Wikivoyage page about Boracay, but the link is labelled as "Boracay Island"