Template:Link: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(done)
(target list in doc section)
Line 14: Line 14:


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>

Revision as of 17:21, 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.