Difference between revisions of "Template:W"
From YTMND
Line 1: | Line 1: | ||
− | <span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1|}}} {{{2|{{{1|Wikipedia}}}}}}]</span> | + | <span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1|}}} {{{2|{{{1|Wikipedia}}}}}}]</span><noinclude> |
+ | ---- | ||
+ | *'''Purpose:''' This template easily creates a link to a Wikipedia article. | ||
+ | *'''Usage:''' {{tl2|w|article|caption}} | ||
+ | **''article'' = the article at Wikipedia (replacing spaces with "_", etc) | ||
+ | **''caption'' = the text that appears in the link. | ||
+ | *'''Example:''' {{tl2|w|YTMND|The best site ever}} creates {{w|YTMND|The best site ever}}. | ||
+ | *'''Defaults:''' leaving "article" blank will default to Wikipedia's main page with the caption as "Wikipedia". leaving caption blank will default to the article name. | ||
+ | |||
+ | [[Category:Link Templates]] | ||
+ | </noinclude> |
Revision as of 12:57, June 10, 2006
- Purpose: This template easily creates a link to a Wikipedia article.
- Usage: Template:Tl2
- article = the article at Wikipedia (replacing spaces with "_", etc)
- caption = the text that appears in the link.
- Example: Template:Tl2 creates The best site ever.
- Defaults: leaving "article" blank will default to Wikipedia's main page with the caption as "Wikipedia". leaving caption blank will default to the article name.