Template:User activeness: Difference between revisions
From Zelda Wiki, the Zelda encyclopedia
m
→top: Renaming File
m (I hope this works.) |
m (→top: Renaming File) |
||
(43 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
<div class="messagebox" style="width: 45em; border: 1px solid # | {{#vardefine:1|{{lc:{{{1|}}}}}}}{{#vardefine:Gender|{{gender:{{BASEPAGENAME}}|he|she|they}}}}<div class="messagebox" style="width: 45em; border: 1px solid #426787; background-color: #1d578b; margin: auto; padding: 0.5em; float: left text-align: center; -moz-border-radius:15px;"> | ||
<div style="float: left;">{{#switch:{{ | <div style="float: left;">{{#switch:{{#var:1}} | ||
<div style="margin-left: 50px;">''' | |frequent | active =[[File:Green check.svg|45px]] | ||
{{#switch:{{ | |inactive=[[File:ZW Off-Topic Icon.svg|45px]] | ||
|banned | hiatus | absent | gone =[[File:ZW Off-Topic Icon.svg|45px]] | |||
|freqadmin | adminbreak =[[File:Zwlogo2dsmall.png|45px]] | |||
|patrol=[[File:OoT Piece of Heart Model.png|45px]] | |||
|#default=[[File:Question Mark.png|45px]] | |||
}} | |||
</div> | |||
<div style="margin-left: 50px;">'''{{BASEPAGENAME}} is {{#ifeq:{{#var:1}} | |||
|frequent | |||
|a frequent editor. | |||
| {{#switch:{{#var:1}} | |||
|freqadmin | adminbreak=an Admin | |||
|patrol=a patroller | |||
|hiatus=on hiatus from the wiki | |||
|#default={{#var:1}} | |||
}}. | |||
}}'''<br>{{#switch:{{#var:1}} | |||
|absent=This normally active user is temporarily absent. {{ucfirst:{{#var:Gender}}}} has gone on a vacation or trip and will return {{#if:{{{2|}}}|on '''{{{2}}}'''|in a few days}}. It is likely that messages won't be answered until {{#var:Gender}} returns. | |||
|frequent={{BASEPAGENAME}} is a frequent editor of [[Community:Zelda Wiki|Zelda Wiki]]. {{ucfirst:{{#var:Gender}}}} generally makes several edits over at least a few days of each week. | |||
|inactive={{BASEPAGENAME}} either edits [[Community:Zelda Wiki|Zelda Wiki]] very rarely, or has not made an edit within the last month. {{ucfirst:{{#var:Gender}}}} will likely not answer any messages in a timely fashion. | |||
|active={{BASEPAGENAME}} has made at least one edit within the last month. However, {{#var:Gender}} might not visit the wiki on a regular basis. | |||
|banned={{BASEPAGENAME}} was banned for misconduct. | |||
|patrol={{BASEPAGENAME}} is a [[Zelda Wiki:Patrol|patroller]] and as such {{#var:Gender}} is a good source of editing advice. | |||
|gone={{BASEPAGENAME}} has left [[Community:Zelda Wiki|Zelda Wiki]]. | |||
|hiatus={{BASEPAGENAME}} is currently on hiatus from the wiki. {{ucfirst:{{#var:Gender}}}} will most likely not answer any messages until {{#var:Gender}} returns. {{#if:{{{2|}}}|{{BASEPAGENAME}} will return {{{2}}}.}} | |||
|freqadmin={{BASEPAGENAME}} is a Zelda Wiki [[Zelda Wiki:Staff|admin]] that edits frequently. As such, {{#var:Gender}} is a good source of editing advice. | |||
|adminbreak={{BASEPAGENAME}} is a Zelda Wiki [[Zelda Wiki:Staff|admin]] who is temporarily on break from {{gender:{{BASEPAGENAME}}|his|her|their}} duties. | |||
|#default=To use this template, place the desired status in the first parameter of the template. You can find more usage documentation at [[Template:User activeness]]. | |||
}}</div> | |||
</div><noinclude> | </div><noinclude> | ||
== Usage == | ==Usage== | ||
This template should be placed in a user's '''User page''' and/or '''User talk page''' | |||
To use this template, type: '''<nowiki>{{User activeness|State}}</nowiki>''' | |||
== Examples == | Where '''"state"''' is one of the options below. | ||
{{User activeness}} | '''Note:''' This template will automatically detect your gender and use it to display the correct pronouns. If you have not set your gender yet, you may do so by editing your [[Special:Preferences|User Preferences]]. | ||
==Examples== | |||
{{User activeness|Frequent}} | {| width=100% | ||
! width=10% | State | |||
! width=40% | Parameters | |||
{{User activeness|Active}} | ! width=50% | Template | ||
< | |- | ||
! None | |||
{{User activeness| | | <nowiki>{{User activeness}}</nowiki> | ||
| {{User activeness}} | |||
|- | |||
{{User activeness|Absent|Date}} | ! Frequent | ||
< | | <nowiki>{{User activeness|Frequent}}</nowiki> | ||
| {{User activeness|Frequent}} | |||
{{User activeness|Gone}} | |- | ||
! Active | |||
[[Category: | | <nowiki>{{User activeness|Active}}</nowiki> | ||
| {{User activeness|Active}} | |||
|- | |||
! Inactive | |||
| <nowiki>{{User activeness|Inactive}}</nowiki> | |||
| {{User activeness|Inactive}} | |||
|- | |||
! Hiatus | |||
| <nowiki>{{User activeness|Hiatus|return condition/date}}</nowiki> | |||
| {{User activeness|Hiatus|when he finds the meaning of life}} | |||
|- | |||
! Absent | |||
| <nowiki>{{User activeness|Absent|Date}}</nowiki> | |||
| {{User activeness|Absent|Date}} | |||
|- | |||
! Banned | |||
| <nowiki>{{User activeness|Banned}}</nowiki> | |||
| {{User activeness|Banned}} | |||
|- | |||
! Gone | |||
| <nowiki>{{User activeness|Gone}}</nowiki> | |||
| {{User activeness|Gone}} | |||
|} | |||
[[Category:Userboxes|A]] |