Difference between revisions of "Template:Main talk other flex/doc"

From blackwiki
Jump to navigation Jump to search
test>Davidgothberg
(Creating the docs for this namespace-group detecting template.)
 
test>Davidgothberg
(Oops. Fixing name in first sentence.)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
__NOTOC__
 
__NOTOC__
This is the {{tl|main talk other}} template.
+
This is the {{tl|main talk other flex}} template.
  
 
This template detects and returns what namespace group a page belongs to. Depending on what kind of page it is used on it returns one of these three lower case words:
 
This template detects and returns what namespace group a page belongs to. Depending on what kind of page it is used on it returns one of these three lower case words:

Revision as of 19:47, 15 March 2008

This is the {{main talk other flex}} template.

This template detects and returns what namespace group a page belongs to. Depending on what kind of page it is used on it returns one of these three lower case words:

main = Main/article space, as in normal Wikipedia articles.
talk = Any talk space, such as page names that start with "Talk:", "User talk:", "Image talk:" and so on.
other = All other spaces, such as page names that start with "User:", "Image:", "Wikipedia:" and so on.


More docs soon

The template code itself is almost ready. And these docs will be extended a lot within some days.

--David Göthberg (talk) 19:14, 15 March 2008 (UTC)

Links for this code

See also