|
|
Line 1: |
Line 1: |
| <noinclude>
| | #REDIRECT [[Template:MDN]] |
| Use this to link to a page in the [[Mozilla Developer Center]].
| | {{delete|replaced by [[Template:MDN]], no users}} |
| == Usage ==
| |
| <nowiki>{{</nowiki>MDC | ''path/to/page'' | ''optional link title'' }}
| |
| | |
| The first parameter is the path of the page's URL in the MDC, after the <tt>developer.mozilla.org/en/</tt> part.
| |
| | |
| The optional second parameter is the text for the link.
| |
| | |
| | |
| Sample:
| |
| <nowiki>{{MDC|Migrating_from_Internal_Linkage_to_Frozen_Linkage|frozen linkage}}</nowiki>
| |
| produces
| |
| : {{MDC|Migrating_from_Internal_Linkage_to_Frozen_Linkage|frozen linkage}}
| |
| | |
| == Notes ==
| |
| It assumes the link is to the "en"(glish) namespace. You can use ../''language_code'' to refer to some other page, e.g.
| |
| <nowiki>{{</nowiki>MDC |'''../fr/'''Firefox_3.6_pour_les_développeurs |Firefox 3.6 }}
| |
| produces {{MDC |../fr/Firefox_3.6_pour_les_développeurs |Firefox 3.6}}
| |
| | |
| | |
| </noinclude>[https://developer.mozilla.org/en/{{{1}}} {{{2|{{{1}}}}}}]
| |