Template:Namespace: Difference between revisions
Template page
More actions
doc |
cat / see also |
||
| Line 32: | Line 32: | ||
| '''Any''' talk page || {{ns:1}}, {{ns:3}}, {{ns:5}}, {{ns:7}}... || talk page | | '''Any''' talk page || {{ns:1}}, {{ns:3}}, {{ns:5}}, {{ns:7}}... || talk page | ||
|} | |} | ||
* All other pages are rendered as "page". | |||
[[Category: | '''See also:''' {{tl|namespaces}} - for when a plural form is needed. | ||
[[Category:Function templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> | ||
Revision as of 18:39, 12 April 2008
template
This works similar to the magic word {{NAMESPACE}}, which returns the name of whatever namespace it's on (hence it says 'template' right now). All this does is assign new names to those values to make them a little easier to use in template messages.
This table compares the magic word to this template showing what each would display if in those namespaces.
| Location | {{NAMESPACE}} | {{namespace}} |
|---|---|---|
| Main space | (nothing) | gallery |
| Commons: pages | Neodyland Wiki | project page |
| Image: pages | File | media file |
| User: pages | User | user page |
| Categories | Category | category |
| Templates | Template | template |
| Any talk page | Talk, User talk, Neodyland Wiki talk, File talk... | talk page |
- All other pages are rendered as "page".
See also: {{Namespaces}} - for when a plural form is needed.