Difference between revisions of "Template:w"
(Undo revision 88574 by 173.245.50.140 (talk)) |
m (code fomatting with... <code>) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[ | + | <includeonly>[[Wikipedia:{{#if:{{{1|}}}|{{{1}}}{{!}}{{{2|{{{1|}}}}}}]]|{{PAGENAME}}{{!}}{{PAGENAME}}]] at [[Wikipedia:|Wikipedia]]}}</includeonly><noinclude> |
− | <noinclude> | + | A template to make a link to Wikipedia.<!-- For a tag to have "at [[Wikipedia:|Wikipedia]]" without being a link to the page name, use {{Tl|wat}} - this is useful for see-also lists.--> |
− | A template to make a link to | ||
==Usage== | ==Usage== | ||
− | *<nowiki>{{w}}</nowiki> by itself links to the page the | + | *<code><nowiki>{{w}}</nowiki></code> by itself links to the wikipedia page for the page you use the template on |
**{{w}} | **{{w}} | ||
− | *<nowiki>{{w|Page}}</nowiki> links to the wikipedia article on "Page" | + | *<code><nowiki>{{w|Page}}</nowiki></code> links to the wikipedia article on "Page" |
**{{w|Page}} | **{{w|Page}} | ||
− | *<nowiki>{{w|Page|Display}}</nowiki> prints "Display" which links to the wikipedia article on "Page" | + | *<code><nowiki>{{w|Page|Display}}</nowiki></code> prints "Display" which links to the wikipedia article on "Page" |
**{{w|Page|Display}} | **{{w|Page|Display}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |