Template:W: Difference between revisions
Jump to navigation
Jump to search
(Improved examples.) |
m (→Advanced: Standardizing Maintenance Categories) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[{{{1}}}:{{{2}}}|<span title="{{{4|{{{2}}}}}}">{{{3|{{{2}}}}}}</span>]]<noinclude> | [[{{{1}}}:{{{2}}}|<span title="{{{4|{{{2}}}}}}">{{{3|{{{2}}}}}}</span>]]<noinclude> | ||
== Purpose == | == Purpose == | ||
This template creates a interwiki link to another wiki. The most common application for this would be links to [[Community:Nintendo Independent Wiki Alliance|NIWA]] Wikis. | This template creates a interwiki link to another wiki. The most common application for this would be links to [[Community:Nintendo Independent Wiki Alliance|NIWA]] Wikis. | ||
Line 25: | Line 24: | ||
*'''<nowiki>{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu}}</nowiki>''' | *'''<nowiki>{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu}}</nowiki>''' | ||
**{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu}} | **{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu}} | ||
Different alternate text: | Different alternate text: | ||
*'''<nowiki>{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu|Bulbpedia's article on Pikachu}}</nowiki>''' | *'''<nowiki>{{W|Bulbapedia|Pikachu (Pokémon)|Pikachu|Bulbpedia's article on Pikachu}}</nowiki>''' | ||
Line 33: | Line 29: | ||
[[Category:Formatting templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 16:56, 23 April 2023
[[{{{1}}}:{{{2}}}|{{{2}}}]]
Purpose
This template creates a interwiki link to another wiki. The most common application for this would be links to NIWA Wikis.
Usage
Basic
For basic use of this template, type:
{{W|Prefix |Page }}
- Prefix — The prefix for the target wiki. See Special:Interwiki for a full list of all available prefixes.
- Page — The page on the target wiki to link to.
Advanced
More advanced options for editing how the link displays is also available in the form:
{{W|Prefix |Page |Display Text |Alternate Text }}
- Display Text — Text to display for the link, if it is to be different than the page name. Any formatting, such as fonts or colors, would be applied to the text entered here.
- Alternate Text — Different alternate text to display for the link.
Examples
Basic
General usage:
- {{W|Bulbapedia|Ash Ketchum}}
Advanced
Different display text:
- {{W|Bulbapedia|Pikachu (Pokémon)|Pikachu}}
Different alternate text:
- {{W|Bulbapedia|Pikachu (Pokémon)|Pikachu|Bulbpedia's article on Pikachu}}