From S23Wiki
Revision as of 16:55, 5 February 2006 by Mutante (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To insert a page counter for the page itself you are inserting it on you can simply insert {{Counter}}, this inserts Template:Counter (only works on regular article pages, sets namespace to 0).

Hits on Counter

To insert a counter for any different page, including Talk pages, User pages and all other namespaces, you need to specifiy page name AND page namespace, use this syntax:



Hits on Sandbox: <counter>namespace=0&page=Sandbox</counter> (namespace 0)

Hits on Talk:Sandbox: <counter>namespace=1&page=Sandbox</counter> (namespace 1)

Hits on User:Mutante: <counter>namespace=2&page=Mutante</counter> (namespace 2)

Hits on User_talk:Mutante: <counter>namespace=3&page=Mutante</counter> (namespace 3)

Here you can find a list of the Mediawiki_Namespaces and the numbers they use.