Template:Mdnbox/doc
Usage
{{mdnbox}} produces a right-hand adjusted, floating message box, telling the reader there are documents on a certain subject on Mozilla Developer Network (MDN).
Parameters
There are 3 named parameters (see the table below), none of which is required for the template to work.
Parameter | Description |
---|---|
zone |
MDN zone |
wpla |
MDN web platform |
tool |
MDN developer tool |
- Copy-paste template
-
{{mdnbox|zone= |wpla= |tool= }}
MDN zone
- zone
MDN sort the major Mozilla application projects into "zones". You can choose to link to a certain zone, or to the overview page for Mozilla projects, by entering the parameter zone
and set it to one of the values in the table Zone codes below. In addition to the zones specified at MDN, I have added a few common applications.
- Usage
-
{{mdnbox|zone=zone code}}
Zone codes
Value | MDN zone | Comment |
---|---|---|
add | Add-ons | |
app | Apps | |
cal | Calendar/Lightning | |
ff | Firefox | |
ffa | Firefox for Android | |
fos | Firefox OS | |
fxa | Firefox Accounts | Will eventually replace Persona |
mp | Marketplace | |
per | Persona | Will be incorporated into Firefox Accounts |
tb | Thunderbird | |
moz | Mozilla | For all other Mozilla projects |
Web Platform
- wpla
MDN have documentation for all the web platforms used by Mozilla and Mozilla products. You can choose to link to a certain platform, or to the overview page for the web technologies you may find in the Mozilla projects you work with, by entering the parameter wpla
and set it to one of the values in the table Platform codes below.
- Usage
-
{{mdnbox|wpla=platform code}}
Platform codes
Value | Web platform | Comment |
---|---|---|
api | APIs and DOM | |
css | CSS | |
css3 | CSS3 | |
graph | Graphics | |
html | HTML | |
html5 | HTML5 | |
js | JavaScript | |
mml | MathML | |
all | To the overview page Web technology for developers |
For all other web platforms |
Developer Tools
- tool
In addition to documentation on applications designed to run as stand-alone programs, MDN have documentation for Mozilla's web tools and in-application developer tools. You can choose to link to a certain tool, or to the overview page for the developer tools in Firefox, by entering the parameter tool
and set it to one of the values in the table Tool codes below.
- Usage
-
{{mdnbox|tool=tool code}}
Tool codes
Value | Developer tool | Comment |
---|---|---|
appm | App Manager | Firefox OS |
jsdeb | JavaScript Debugger | |
pagin | Page Inspector | |
wcon | Web Console | |
all | To the overview page Firefox Developer Tools |
For all other developer tools |
Examples
(By parameter)
- No parameters
{{mdnbox}}
gives
- zone
{{mdnbox|zone=ff}}
gives
- wpla
{{mdnbox|wpla=html5}}
gives
- tool
{{mdnbox|tool=jsdeb}}
gives
- Combo
{{mdnbox|zone=ff|wpla=html5|tool=jsdeb}}
gives
See also