This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Namespace: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Gmaxwell
m Protected "Template:Namespace": Full protecting widely used template. [edit=sysop:move=sysop] [cascading]
imported>Rocket000
m Changed protection level for "Template:Namespace": - cascading... my poor templates [edit=sysop:move=sysop]
(No difference)

Revision as of 00:42, 8 July 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 Wikilivres project page
Image: pages File media file
User: pages User user page
Categories Category category
Templates Template template
Any talk page Talk, User talk, Wikilivres talk, File talk... talk page
  • All other pages are rendered as "page".

See also: {{namespaces}} - for when a plural form is needed.