Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.

Difference between revisions of "Template:Moderator"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
(adding a switch function for admins)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="toc" {{#switch:{{{1}}}|admin=style="background: #1B7DBF">[[File:Adminicon.jpg]]&nbsp; <font color= "white">{{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{PAGENAME}}|Moderator|'''''Name goes here'''''|{{PAGENAME}}}}}} {{ #ifeq: {{{past}}} | yes | was a former | is a }} administrator for the [[YouChew]] forums.<font>
+
<div class="box" {{#switch:{{{1}}}<!--
|#default=style="background: #00ff4b">[[Image:Newmoderatorimagethatwillhopefullysatisifypeoplethistime.png]]&nbsp; {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{PAGENAME}}|Moderator|'''''Name goes here'''''|{{PAGENAME}}}}}} {{ #ifeq: {{{past}}} | yes | was a former | is a }} moderator for the [[YouChew]] forums.}}<!--
+
 
 +
-->|admin=style="background: #1B7DBF; color: #ffffff; border: 1px solid #00f;">[[File:Adminicon.jpg]]&nbsp; {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{PAGENAME}}|Moderator|'''''Name goes here'''''|{{PAGENAME}}}}}} is {{ #ifeq: {{{past}}} | yes | a former | an }} administrator for the [[YouChew]] forums.<!--
 +
 
 +
-->|#default=style="background: #00ff4b; border: 1px solid #008000;">[[Image:Newmoderatorimagethatwillhopefullysatisifypeoplethistime.png]]&nbsp; {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{PAGENAME}}|Moderator|'''''Name goes here'''''|{{PAGENAME}}}}}} is {{ #ifeq: {{{past}}} | yes | a former | a }} moderator for the [[YouChew]] forums.}}<!--
  
  
Line 6: Line 9:
 
</includeonly><noinclude><br />
 
</includeonly><noinclude><br />
 
==Documentation==
 
==Documentation==
To place this on a page, just place <nowiki>{{moderator}}</nowiki>, preferably near the beginning of the page.</noinclude>
+
To place this on a page, just place <code><nowiki>{{moderator}}</nowiki></code>, preferably near the beginning of the page.
 +
 
 +
:*If the person is an administrator, put <code><nowiki>{{moderator|admin}}</nowiki></code>
 +
 
 +
:*If the person was a former mod, put <code><nowiki>{{moderator|past=yes}}</nowiki></code>
 +
 
 +
:*If the person was a former admin, put <code><nowiki>{{moderator|admin|past=yes}}</nowiki></code>
 +
 
 +
</noinclude>

Latest revision as of 16:58, 18 May 2015

Newmoderatorimagethatwillhopefullysatisifypeoplethistime.png  Name goes here is a moderator for the YouChew forums.


Documentation[edit]

To place this on a page, just place {{moderator}}, preferably near the beginning of the page.

  • If the person is an administrator, put {{moderator|admin}}
  • If the person was a former mod, put {{moderator|past=yes}}
  • If the person was a former admin, put {{moderator|admin|past=yes}}