Template:MDC: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (→‎Notes: formatting tweaks)
(redirect, mark for deletion)
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}}}}}}]

Revision as of 23:14, 19 January 2012

Redirect to:

Do not edit this page THIS PAGE IS PROPOSED FOR DELETION
replaced by Template:MDN, no users