MEpedia:Namespaces: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
m (→‎Namespaces available on MEpedia: add gadget namespaces)
 
Line 62: Line 62:


==Namespace numbers ==
==Namespace numbers ==
A namespace number can be found using the code <code><nowiki >{{ns:Project}})</nowiki ></code>, where "Project" is the name of the namespace. Use <code><nowiki >{{NAMESPACE}}</nowiki ></code> to refer to the current namespace.
In the [[Help:Source editor|Source Editor]], a namespace number can be shown using the code <code><nowiki >{{ns:Project}})</nowiki ></code>, where "Project" is the name of the namespace. Use <code><nowiki >{{NAMESPACE}}</nowiki ></code> to refer to the namespace of the current page.


==Learn more ==
==Learn more ==

Latest revision as of 19:55, January 17, 2020

All articles and pages on MEpedia belong to a namespace. Simply put, a namespace is a prefix to the page name, such as "Help:", "MEpedia:" or "Category:". If you don't see a prefix in the page name, then the page belongs in the "Main" namespace. Each namespace also has a corresponding "Talk" namespace for discussion pages.

Namespaces available on MEpedia

MEpedia uses the standard built-in namespaces, with "MEpedia:" used as an alias for the "Project:" namespace. In addition to the standard namespaces, MEpedia also uses a "Portal:" namespace.

Number Page prefix Alias
0 (Main) NS_MAIN
1 Talk NS_TALK
2 User NS_USER
3 User talk NS_USER_TALK
4 MEpedia (alias for Project) NS_PROJECT
5 MEpedia talk (Project talk) NS_PROJECT_TALK
6 File NS_FILE
7 File talk NS_FILE_TALK
8 MediaWiki NS_MEDIAWIKI
9 MediaWiki talk NS_MEDIAWIKI_TALK
10 Template NS_TEMPLATE
11 Template talk NS_TEMPLATE_TALK
12 Help NS_HELP
13 Help talk NS_HELP_TALK
14 Category NS_CATEGORY
15 Category talk NS_CATEGORY_TALK
-1 Special NS_SPECIAL
-2 Media NS_MEDIA
828 Module NS_MODULE
829 Module talk NS_MODULE_TALK
2300 Gadget NS_GADGET?
2301 Gadget talk NS_GADGET_TALK?
2302 Gadget definition NS_GADGET_DEFINITION?
2303 Gadget definition talk NS_GADGET_DEFINITION_TALK?
3006 Portal NS_PORTAL
3007 Portal talk NS_PORTAL_TALK

Namespace numbers

In the Source Editor, a namespace number can be shown using the code {{ns:Project}}), where "Project" is the name of the namespace. Use {{NAMESPACE}} to refer to the namespace of the current page.

Learn more