Difference between revisions of "Template:User Edit"

From Nookipedia, the Animal Crossing wiki
(This should work now. The function #ec used by Zeldawiki may be a custom function or part of an add-on that is not installed on this wiki. Replaced it with {{Special:Editcount/{{{1|}}}}}. Removed Cleanup template.)
(Reedited Usage; Remove construction)
Line 6: Line 6:
 
|align="center"|{{Special:Editcount/{{{1|}}}}}
 
|align="center"|{{Special:Editcount/{{{1|}}}}}
 
|}</div></includeonly><noinclude>
 
|}</div></includeonly><noinclude>
<div style="float: left; border: solid #4A2531 1px; margin: 1px;">
+
{{User Edit|ExampleUser}}
{| cellspacing="0" border=1 style="width: 240px;"
 
! colspan="2" align="center" | '''Edit count''' ([[Special:EditCount/PoizonMushro0m|PoizonMushro0m]])
 
|-
 
!align="center"|''Edits''
 
|align="center"|{{Special:Editcount/PoizonMushro0m}}
 
|}</div>
 
  
{{Clear}}
+
{{clear}}
 
==Usage==
 
==Usage==
::''The above is only an example. You can customize it to suit you.''
+
<pre>{{User Edit|USERNAME|NICKNAME}}</pre>
This userbox can be used to list how many edits a user had made. To use type:
+
This userbox can be used to list how many edits a user <tt>USERNAME</tt> ('''required''') has made. A <tt>NICKNAME</tt> (''optional'') may be added as an alternative to the username.
{{NoWikiTemp|Normal|Username|Nickname}}
 
  
Where ''Username'' is your username. And ''Nickname'' is if you want the box to display something else for you name. Useful if you have a long name that is larger than the box.
+
===Examples===
 +
<tt><nowiki>{{User Edit|ExampleUser}}</nowiki></tt> displays
 +
{{User Edit|ExampleUser}}
 +
{{clear}}
 +
<tt><nowiki>{{User Edit|ExampleUser|Nickname}}</nowiki></tt> displays
 +
{{User Edit|ExampleUser|Nickname}}
 +
{{clear}}
  
Make sure you do not place a space before your name. For example, it should be like this:
+
[[Category: Userboxes]]</noinclude>
:::::'''<nowiki>{{User Edit|PoizonMushro0m}}</nowiki>'''<br>
 
This would give the box displayed above. If you don't enter your name correctly, you could get a database error.
 
 
 
{{Construction}}
 
 
 
[[Category: Userboxes|*]]</noinclude>
 

Revision as of 07:38, March 5, 2019

Edit count (ExampleUser)
Edits 0

Usage

{{User Edit|USERNAME|NICKNAME}}

This userbox can be used to list how many edits a user USERNAME (required) has made. A NICKNAME (optional) may be added as an alternative to the username.

Examples

{{User Edit|ExampleUser}} displays

Edit count (ExampleUser)
Edits 0

{{User Edit|ExampleUser|Nickname}} displays

Edit count (Nickname)
Edits 0