User:I-ghost/Ecount: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
m (doc fix)
 
(6 intermediate revisions by the same user not shown)
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}}. This setting will override the {{code|style}} option.<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/>
Styles:<br/>
{{code|danbooru}} will produce {{../Ecount|style=danbooru|ext=gif}}
{{code|shimmie}} will produce {{../Ecount|style=shimmie|ext=gif}}
<hr/>
Should match: '''{{NUMBEROFEDITS:R}}'''
Should match: '''{{NUMBEROFEDITS:R}}'''
String length: '''{{#strlen:{{NUMBEROFEDITS:R}}}}'''</noinclude>
String length: '''{{#strlen:{{NUMBEROFEDITS:R}}}}'''</noinclude>

Latest revision as of 01:10, 17 August 2011

Chamber number 7.png Chamber number 9.png Chamber number 8.png Chamber number 1.png Chamber number 1.png Chamber number 3.png

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for I-ghost/Ecount

Places an image-based edit counter on the page


Parameters:
ext Specify a custom extension. Example ext=gif. Required if using the danbooru or shimmie styles.
size Specify size; include px. Example: size=20px
link Specify what the counter should link to. Do not include link brackets.
custom Specify a custom image path. Don't include the numbers or a space at the end. Example: custom=User Nope Counter. Upload your images as User Nope Counter #.png. This setting will override the style option.
style Specify style. Valid options are danbooru and shimmie. If anything else is specified with this parameter, it will default to danbooru. Omitting this option will display the portal numbers.


Styles:
danbooru will produce User I-ghost Counter danbooru 7.gif User I-ghost Counter danbooru 9.gif User I-ghost Counter danbooru 8.gif User I-ghost Counter danbooru 1.gif User I-ghost Counter danbooru 1.gif User I-ghost Counter danbooru 3.gif

shimmie will produce User I-ghost Counter shimmie 7.gif User I-ghost Counter shimmie 9.gif User I-ghost Counter shimmie 8.gif User I-ghost Counter shimmie 1.gif User I-ghost Counter shimmie 1.gif User I-ghost Counter shimmie 3.gif


Should match: 7981130 String length: 7