×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Counter: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
     
    imported>mutante
    mNo edit summary
     
    (One intermediate revision by the same user not shown)
    Line 1: Line 1:
    To insert a page counter for the page itself you are inserting it on you can simply insert <nowiki>{{Counter}}</nowiki>, this inserts [[Template:Counter]] (only works on regular article pages, sets namespace to 0).
    To insert a page counter for the page itself you are inserting it on you can simply insert <nowiki>{{Counter}}</nowiki>, this inserts [[Template:Counter]] (only works on regular article pages, sets namespace to 0).

    {{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:
    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:
    Line 7: Line 9:
    Examples:
    Examples:


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


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


    Hits on [[User:mutante]]: '''<counter>namespace=2&page=mutante</counter>
    Hits on [[User:mutante]]: '''<counter>namespace=2&page=mutante</counter>''' (namespace 2)


    Hits on [[User_talk:mutante]]: '''<counter>namespace=3&page=mutante</counter>
    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.
    Here you can find a list of the [[Mediawiki_Namespaces]] and the numbers they use.

    Latest revision as of 23:55, 5 February 2006

    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
    <counter></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:

    <counter>namespace=0&page=Sandbox</counter>

    Examples:

    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.

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.