Template:MDN: Difference between revisions

Jump to navigation Jump to search
m
mention you can't use underscores, improve example
m (change MDC to MDN)
m (mention you can't use underscores, improve example)
Line 15: Line 15:


== Notes ==
== Notes ==
It assumes the link is to the "en"(glish) namespace.  You can use ../''language_code'' to refer to some other page, e.g.
The template assumes the link is to the "en"(glish) namespace.  You can prefix the path with ../''language_code'' to refer to some other page, e.g.
   <nowiki>{{</nowiki>MDN |'''../fr/'''Firefox_3.6_pour_les_développeurs |Firefox 3.6 }}
   <nowiki>{{</nowiki>MDN |'''../fr/'''Firefox_3.6_pour_les_développeurs}}
produces {{MDN |../fr/Firefox_3.6_pour_les_développeurs |Firefox 3.6}}
produces {{MDN |../fr/Firefox_3.6_pour_les_développeurs}}
 
Blanks in MDN page paths do not work, you must use underscores.




</noinclude>[https://developer.mozilla.org/en/{{{1}}} {{{2|{{{1}}}}}}]
</noinclude>[https://developer.mozilla.org/en/{{{1}}} {{{2|{{{1}}}}}}]
Confirmed users
396

edits

Navigation menu