Template:Link: Difference between revisions
mNo edit summary |
m (fmt) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
;Usage: | |||
<nowiki>{{link|X|Target}}</nowiki> | |||
<nowiki>{{link|X|Target|Optional Name}}</nowiki> | <nowiki>{{link|X|Target|Optional Name}}</nowiki> | ||
where 'X' is the target service (wiki,website) to be linked to, and 'Target' is the intended page or item. 'Optional Name' will be used, if present, in place of 'Target' for the visible link. | where 'X' is the target service (wiki,website) to be linked to, and 'Target' is the intended page or item. 'Optional Name' will be used, if present, in place of 'Target' for the visible link. | ||
*'''Available targets''' | |||
*'''w''' -> Wikipedia (en) | |||
*'''wikipedia''' -> Wikipedia (en) | |||
*'''commons''' -> Wikipedia commons | |||
*'''meta''' -> Wikipedia meta | |||
*'''mdn''' -> developer.mozilla.org | |||
*'''MDN''' -> developer.mozilla.org | |||
Additional codes may be added. | |||
</noinclude> | </noinclude> | ||
Latest revision as of 18:39, 11 November 2013
- Usage
{{link|X|Target}}
{{link|X|Target|Optional Name}}
where 'X' is the target service (wiki,website) to be linked to, and 'Target' is the intended page or item. 'Optional Name' will be used, if present, in place of 'Target' for the visible link.
- Available targets
- w -> Wikipedia (en)
- wikipedia -> Wikipedia (en)
- commons -> Wikipedia commons
- meta -> Wikipedia meta
- mdn -> developer.mozilla.org
- MDN -> developer.mozilla.org
Additional codes may be added.