Template:Admin-abbr: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
font -> span |
fixed template to use one parameter, regardless of spacing, gave example of revised usage |
||
Line 1: | Line 1: | ||
<span class="plainlinks">[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|t]] [[Special:Contributions/{{{1}}}|c]] [{{ |
<span class="plainlinks">[[User:{{{1|Jimbo Wales}}}|{{{1|Jimbo Wales}}}]] ([[User talk:{{{1|Jimbo Wales}}}|t]] [[Special:Contributions/{{{1|Jimbo Wales}}}|c]] <font color="002bb8">[{{fullurl:Special:Log/block|user={{urlencode:{{{1|Jimbo Wales}}}}}}} b]</font> <font color="002bb8">[{{fullurl:Special:Log/protect|user={{urlencode:{{{1|Jimbo Wales}}}}}}} p]</font> <font color="002bb8">[{{fullurl:Special:Log/delete|user={{urlencode:{{{1|Jimbo Wales}}}}}}} d]</font> <font color="002bb8">[{{fullurl:Special:Log/move|user={{urlencode:{{{1|Jimbo Wales}}}}}}} m]</font>)</span><noinclude> |
||
---- |
|||
Example: <tt>{{Admin-abbr|Jimbo Wales}}</tt> |
|||
===Usage=== |
|||
⚫ | |||
NOTE: if username has SPACE ' ' within it, use UNDERSCORE _ instead (as the SECOND parameter), its unfixable for logs, there is no wikilink to go to a user's logs. It's not the template's fault, its the fault of whoever's using the template. (ex: use <nowiki>{{admin|Name_with_spaces}} rather than {{admin|Name with spaces}}</nowiki>. |
|||
'''<nowiki>{{admin-abbr|username}}</nowiki>''' |
|||
If the admin has a username with spaces in it, instead use: |
|||
'''<nowiki>{{admin-abbr|Username with spaces|Username_with_underscores}}</nowiki>''' |
|||
===Note=== |
|||
This template is the same as [[Template:Admin]] except that the words are abbreviated. |
|||
<nowiki>{{admin}}:</nowiki><br> |
|||
Username (talk • contribs • blocks • protects • deletions • moves) |
|||
<nowiki>{{admin-abbr}}:</nowiki><br> |
|||
Username (t c b p d m) |
|||
⚫ | |||
</noinclude> |
</noinclude> |