Template:Wlink/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 15: | Line 15: | ||
: A named parameter used to specify namespaces on Wikipedia such as <code>wp</code> (Wikipedia project pages), <code>help</code> (help pages), <code>module</code> (Lua modules), and so on. | : A named parameter used to specify namespaces on Wikipedia such as <code>wp</code> (Wikipedia project pages), <code>help</code> (help pages), <code>module</code> (Lua modules), and so on. | ||
: It can also be used for non-English languages (using {{w|ISO 639-1}} abbreviations); for example, <code>fr</code> for French and <code>es</code> for Spanish. | : It can also be used for non-English languages (using {{w|ISO 639-1}} abbreviations); for example, <code>fr</code> for French and <code>es</code> for Spanish. | ||
: The two can be combined; for example, <code>{{<nowiki />wlink|Vandalisme|s=fr:wp}}</code> links to the {{wlink|Vandalisme|French Wikipedia's | : The two can be combined; for example, <code>{{<nowiki />wlink|Vandalisme|s=fr:wp}}</code> links to the {{wlink|Vandalisme|French Wikipedia's policy page on vandalism|s=fr:wp}}. In this case, always put the language first, then the project namespace. | ||
=== See also === | === See also === | ||
* [[Template:Wikipedia]] – another template used to display a small navigation box linking to the English Wikipedia | * [[Template:Wikipedia]] – another template used to display a small navigation box linking to the English Wikipedia |