Difference between revisions of "Template:High-use"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Ombox
 
{{Ombox
 
| type  = style
 
| type  = style
| image = [[File:Ambox warning yellow.svg|40px|alt=|link=]]
+
| image = [[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]
 
| text  =  
 
| text  =  
 
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{
 
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{
Line 7: Line 7:
 
| doc | sandbox = {{BASEPAGENAME}}
 
| doc | sandbox = {{BASEPAGENAME}}
 
| #default      = {{PAGENAME}}
 
| #default      = {{PAGENAME}}
}}}} {{#if:{{{1|}}}|{{formatnum:{{{1}}}}}|many}} pages]''', so changes to it will be widely noticed. Please test any changes in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}}
+
}}}} {{High-use/num|1={{formatnum:{{#ifeq:{{str endswith|{{{1}}}|+}}|yes|{{str crop|{{{1}}}|1}}|{{{1}}}}}|R}}}} pages]''', so changes to it will be widely noticed. Please test any changes in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}}
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
Line 18: Line 18:
 
   }}|talk page]]}} before implementing them.
 
   }}|talk page]]}} before implementing them.
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! -->
 
</noinclude>
 
</noinclude>

Revision as of 11:54, 3 October 2017

Script error: The function "doc" does not exist.