Difference between revisions of "Template:W"

From YTMND
Jump to: navigation, search
Line 2: Line 2:
 
----
 
----
 
*'''Purpose:''' This template easily creates a link to a Wikipedia article.
 
*'''Purpose:''' This template easily creates a link to a Wikipedia article.
*'''Usage:''' {{tl2|w|article|caption}}
+
*'''Usage:''' {{tlp2|w|article|caption}}
 
**''article'' = the article at Wikipedia (replacing spaces with "_", etc)
 
**''article'' = the article at Wikipedia (replacing spaces with "_", etc)
 
**''caption'' = the text that appears in the link.
 
**''caption'' = the text that appears in the link.
*'''Example:''' {{tl2|w|YTMND|The best site ever}} creates {{w|YTMND|The best site ever}}.
+
*'''Example:''' {{tlp2|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.
 
*'''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]]
 
[[Category:Link Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 13:59, June 10, 2006

Wikipedia


  • Purpose: This template easily creates a link to a Wikipedia article.
  • Usage: {{w|article|caption}}
    • article = the article at Wikipedia (replacing spaces with "_", etc)
    • caption = the text that appears in the link.
  • Example: {{w|YTMND|The best site ever}} 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.