User:I-ghost/Ecount: Difference between revisions
m (link param?) |
m (doc fix) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|0|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|0|1}}.png|{{{size|20px}}}|link={{{link|}}}]]}} | {{#if:{{#substring:{{NUMBEROFEDITS:R}}|0|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|0|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|1|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|1|1}}.png|{{{size|20px}}}|link={{{link|}}}]]}} | | danbooru = danbooru | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|2|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|2|1}}.png|{{{size|20px}}}|link={{{link|}}}]]}} | | shimmie = shimmie | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|3|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|3|1}}.png|{{{size|20px}}}|link={{{link|}}}]]}} | | #default = danbooru | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|4|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|4|1}}.png|{{{size|20px}}}|link={{{link|}}}]]}} | }} {{#substring:{{NUMBEROFEDITS:R}}|0|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|0|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|0|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|0|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}} | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}| | {{#if:{{#substring:{{NUMBEROFEDITS:R}}|1|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|1|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}| | | danbooru = danbooru | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}| | | shimmie = shimmie | ||
<noinclude>{{Doc begin}}Places an image counter on the page<br/> | | #default = danbooru | ||
Should match: {{NUMBEROFEDITS:R}} | }} {{#substring:{{NUMBEROFEDITS:R}}|1|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|1|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|1|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|1|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}} | ||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|2|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|2|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | |||
| danbooru = danbooru | |||
| shimmie = shimmie | |||
| #default = danbooru | |||
}} {{#substring:{{NUMBEROFEDITS:R}}|2|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|2|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|2|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|2|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}} | |||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|3|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|3|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | |||
| danbooru = danbooru | |||
| shimmie = shimmie | |||
| #default = danbooru | |||
}} {{#substring:{{NUMBEROFEDITS:R}}|3|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|3|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|3|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|3|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}} | |||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|4|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|4|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | |||
| danbooru = danbooru | |||
| shimmie = shimmie | |||
| #default = danbooru | |||
}} {{#substring:{{NUMBEROFEDITS:R}}|4|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|4|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}}}|{{#if:{{#substring:{{NUMBEROFEDITS:R}}|4|1}}|[[File:Chamber number {{#substring:{{NUMBEROFEDITS:R}}|4|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]}}|}} | |||
{{#if:{{#substring:{{NUMBEROFEDITS:R}}|5|1}}|{{#if:{{{custom|}}}|[[File:{{{custom|}}} {{#substring:{{NUMBEROFEDITS:R}}|5|1}}.{{{ext|png}}}|{{{size|20px}}}|link={{{link|}}}]]|{{#if:{{{style|}}}|[[File:User I-ghost Counter {{#switch: {{{style|}}} | |||
| danbooru = danbooru | |||
| shimmie = shimmie | |||
| #default = danbooru | |||
}} {{#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/> | |||
<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}}''' | |||
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