Template:Iw: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]</includeonly><noinclude> | <includeonly>[[{{{1}}}:{{{2}}} {{#if:{{{id|}}}|({{{id}}})}}|{{{3|{{{2}}}}}}]]</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Use <code><nowiki>{{iw|tcrf|Super Mario Bros.}}</nowiki></code> to create the following link: | Use <code><nowiki>{{iw|tcrf|Super Mario Bros.}}</nowiki></code> to create the following link: | ||
:{{iw|tcrf|Super Mario Bros.}} | :{{iw|tcrf|Super Mario Bros.}} | ||
Use <code><nowiki>{{iw|khwiki|Kingdom Hearts | Use <code><nowiki>{{iw|khwiki|Kingdom Hearts|id=game}}</nowiki></code> to create the following link: | ||
:{{iw|khwiki|Kingdom Hearts | :{{iw|khwiki|Kingdom Hearts|id=game}} | ||
Use <code><nowiki>{{iw|smashwiki|Super Smash Bros. Ultimate|Ultimate}}</nowiki></code> to create the following link: | |||
:{{iw|smashwiki|Super Smash Bros. Ultimate|Ultimate}} | |||
== About == | == About == | ||
This template is used for interwiki linking. The first parameter is the interwiki prefix and the second parameter is the page title. An optional third parameter can be used to change the link text. | This template is used for interwiki linking. The first parameter is the interwiki prefix and the second parameter is the page title. | ||
An optional <code>id</code> parameter can be used to add an identifier to the interwiki link (but not the link text), and an optional third parameter can be used to change the link text. | |||
A full list of available interwiki prefixes can be found on [[Special:Interwiki]]. For Wikipedia, use the {{tem|wp}} template instead. For FANDOM wikis, use the {{tem|fandom}} template. | A full list of available interwiki prefixes can be found on [[Special:Interwiki]]. For Wikipedia, use the {{tem|wp}} template instead. For FANDOM wikis, use the {{tem|fandom}} template. | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revision as of 10:26, May 22, 2024
Usage
Use {{iw|tcrf|Super Mario Bros.}}
to create the following link:
Use {{iw|khwiki|Kingdom Hearts|id=game}}
to create the following link:
Use {{iw|smashwiki|Super Smash Bros. Ultimate|Ultimate}}
to create the following link:
About
This template is used for interwiki linking. The first parameter is the interwiki prefix and the second parameter is the page title.
An optional id
parameter can be used to add an identifier to the interwiki link (but not the link text), and an optional third parameter can be used to change the link text.
A full list of available interwiki prefixes can be found on Special:Interwiki. For Wikipedia, use the {{wp}} template instead. For FANDOM wikis, use the {{fandom}} template.