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

From blackwiki
Jump to navigation Jump to search
test>Davidgothberg
(Reordered and clarified the documentation.)
test>Davidgothberg
(Consistent wording: "kind" -> "type")
Line 4: Line 4:
 
This is the {{tl|main talk other flex}} template.
 
This is the {{tl|main talk other flex}} template.
  
It helps other templates detect what kind of page they are on.
+
It helps other templates detect what type of page they are on.
  
 
Documentation for all these templates are at {{tl|main talk other}}.  
 
Documentation for all these templates are at {{tl|main talk other}}.  

Revision as of 18:57, 16 March 2008

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

It helps other templates detect what type of page they are on.

Documentation for all these templates are at {{main talk other}}.

This template works exactly the same as the {{main talk other}} template, but it has some minor internal differences. The documentation at {{main talk other}} also covers these differences.


Note! Do not optimise or cut away any "unnecessary" parts of the code in this template. This code serves as an example to copy and paste from and then modify, when one wants to make other templates that detect more complex namespace combinations. That's why the code contains a full list of the Wikipedia namespaces.