User:I-ghost/Ecount: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 30: Line 30:
}} {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|5|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}}
}} {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|5|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}}
<noinclude>{{Doc begin}}Places an image-based edit counter on the page<br/>
<noinclude>{{Doc begin}}Places an image-based edit counter on the page<br/>
<hr/>
Parameters:<br/>
{{code|ext}} Specify a custom extension. Example {{code|<nowiki>ext=gif</nowiki>}}. Required if using the danbooru or shimmie styles.<br/>
{{code|size}} Specify size; include px. Example: {{code|<nowiki>size=20px</nowiki>}}<br/>
{{code|link}} Specify what the counter should link to. Do not include link brackets.<br/>
{{code|custom}} Specify a custom image path. Don't include the numbers or a space at the end. Example: {{code|<nowiki>custom=User Nope Counter</nowiki>}}. Upload your images as {{code|User Nope Counter #.png}}.<br/>
{{code|style}} Specify style. Valid options are {{code|danbooru}} and {{code|shimmie}}. If anything else is specified with this parameter, it will default to danbooru. Omitting this option will display the portal numbers.<br/>
<hr/>
Should match: '''{{NUMBEROFEDITS:R}}'''
Should match: '''{{NUMBEROFEDITS:R}}'''
String length: '''{{#strlen:{{NUMBEROFEDITS:R}}}}'''</noinclude>
String length: '''{{#strlen:{{NUMBEROFEDITS:R}}}}'''</noinclude>