« Modèle:EDITCOUNT » : différence entre les versions
De Pikmin FR
fr>Fxfxfx0 mAucun résumé des modifications |
m Text replacement - "UserEditCount" to "User edit count" |
||
Ligne 1 : | Ligne 1 : | ||
<span class="inserteditcount">{{{1|'' | <span class="inserteditcount">{{{1|''YourEditCount''}}}</span><noinclude> | ||
---- | ---- | ||
Displays the edit count of the user viewing the page. '''Only displays your edit count to you.''' To get the edit count of a user use [[Template:User edit count]] instead. | |||
If the user is not logged in, has JavaScript disabled, or has the [[MediaWiki:Gadget-InsertEditCount.js|associated gadget disabled]], then the template will display default text instead (''YourEditCount''). You can change this as the only template parameter. For example, <nowiki>{{EDITCOUNT|foo}}</nowiki> outputs "foo" if the JavaScript failed did not run. | |||
{| class="wikitable" cellpadding="3" width="66%" | {| class="wikitable" cellpadding="3" width="66%" | ||
|+ | |+ | ||
!Code | !Code | ||
! | !Gives | ||
|- | |- | ||
|<nowiki> | |<nowiki>Your edit count is: {{EDITCOUNT}}</nowiki> | ||
| | |Your edit count is: {{EDITCOUNT}} | ||
|- | |- | ||
|} | |} | ||
[[Category: | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Version du 17 septembre 2024 à 05:27
YourEditCount
Displays the edit count of the user viewing the page. Only displays your edit count to you. To get the edit count of a user use Template:User edit count instead.
If the user is not logged in, has JavaScript disabled, or has the associated gadget disabled, then the template will display default text instead (YourEditCount). You can change this as the only template parameter. For example, {{EDITCOUNT|foo}} outputs "foo" if the JavaScript failed did not run.
Code | Gives |
---|---|
Your edit count is: {{EDITCOUNT}} | Your edit count is: YourEditCount |