Administrator.png

Template:Admin: Difference between revisions

From MiiWiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:Admin|{{icon|custom=
{{#switch:{{PAGENAME}}
|Admin|Kirb|PinkYoshiFan|Trig Jegman={{icon|custom=
<imagemap>
<imagemap>
   File:Administrator.png|50px
   File:Administrator.png|35px
   default [[MiiWiki:Ranks#Administrator|This user is a MiiWiki administrator.]]
   default [[MiiWiki:Ranks#Administrator|This user is a MiiWiki administrator.]]
   desc none
   desc none
</imagemap>
</imagemap>
<includeonly>[[category:Staff users]]</includeonly>
}}
}}
}}
|#default={{Color|red|You are not an administrator. You are not allowed to use this template.}}}}<noinclude>
{{#switch:{{#titleparts:{{PAGENAME}}|1}}
|Admin={{#var:Admin}}<!--Lets it display on this page.-->
|Kirb={{#var:Admin}}
|#default=<span style="color:red">You are not an administrator. You are not allowed to use this template.</span>}}<noinclude>
<!-- The last option shows a warning instead if placed on a page not defined above.-->
<!-- The last option shows a warning instead if placed on a page not defined above.-->
[[Category:Icons]]
[[Category:Icons]]
[[Category:Notice templates]]
[[Category:Notice templates]]
</noinclude><includeonly>[[category:Staff users]]</includeonly>
</noinclude>

Latest revision as of 00:02, 27 October 2023