Template:W: Difference between revisions
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:{{{1|}}}|{{{2|{{{1|}}}}}}]]<noinclude> | <includeonly>[[wikipedia:{{{1|}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude> | ||
This template is used for linking to articles on {{ | This template is used for linking to articles on {{w|Wikipedia}}. | ||
==Usage== | ==Usage== | ||
<nowiki>{{w|Article name|Piping text}}</nowiki> | <code><nowiki>{{w|Article name|Piping text}}</nowiki></code> | ||
For example: <nowiki>{{w|Tron: Legacy|The 2010 sequel}}</nowiki> produces {{w|Tron: Legacy|The 2010 sequel}}. | For example: <code><nowiki>{{w|Tron: Legacy|The 2010 sequel}}</nowiki></code> produces {{w|Tron: Legacy|The 2010 sequel}}. | ||
If the piping text is the same as the target | If the piping text is the same as the target Wikipedia article, just use <code><nowiki>{{w|Article name}}</nowiki></code>. | ||
For example: <nowiki>{{w|Tron: Legacy}}</nowiki> produces {{w|Tron: Legacy}}. | For example: <code><nowiki>{{w|Tron: Legacy}}</nowiki></code> produces {{w|Tron: Legacy}}. | ||
</noinclude> | [[Category:In-line templates]]</noinclude> |
Latest revision as of 17:13, 2 June 2023
This template is used for linking to articles on Wikipedia.
Usage
{{w|Article name|Piping text}}
For example: {{w|Tron: Legacy|The 2010 sequel}}
produces The 2010 sequel.
If the piping text is the same as the target Wikipedia article, just use {{w|Article name}}
.
For example: {{w|Tron: Legacy}}
produces Tron: Legacy.