User:I-ghost/Ecount: Difference between revisions
mNo edit summary |
m (doc fix) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
<hr/> | <hr/> | ||
Parameters:<br/> | Parameters:<br/> | ||
{{code|ext}} Specify a custom extension. Example {{code|<nowiki>ext=gif</nowiki>}}. ''Required if using the danbooru or shimmie styles''.<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|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|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|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/> | {{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/> | <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
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
shimmie
will produce
Should match: 7982851 String length: 7