Template:User activeness: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(I think this should do it.)
m (→‎top: Renaming File)
 
(35 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<div class="messagebox" style="width: 45em; border: 1px solid #3b587e; background-color: #1f4973; margin: auto; padding: 0.5em; float: left text-align: center; -moz-border-radius:15px;">
{{#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:{{{1|}}}|Frequent=[[Image:Yes check.png|center]]|Active=[[Image:Yes check.png|center]]|Inactive=[[Image:Stop hand.png|45px]]|Absent=[[Image:Stop hand.png|45px]]|#default=[[Image:questionmark.gif|45px]]|Gone=[[Image:Stop hand.png|45px]]|FreqAdmin=[[Image:Zwlogo2dsmall.png|45px]]|AdminGone=[[Image:Zwlogo2dsmall.png|45px]]}}</div>
<div style="float: left;">{{#switch:{{#var:1}}
<div style="margin-left: 50px;">'''{{BASEPAGENAME}} is {{#ifeq:{{{1|}}}|Frequent|a frequent editor.| {{#switch:{{{1|}}}|FreqAdmin=an Admin|AdminGone=an Admin|#default={{{1|}}}}}.}}'''<br>
  |frequent | active =[[File:Green check.svg|45px]]
{{#switch:{{{1|}}}|Absent=This normally active user is temporally absent. He/she is has gone on a vacation/trip and will return {{#ifeq:{{{2|}}}|{{Void}}|in a few days|on <b>{{{2}}}</b>}}. It is likely that messages won't be answered until he/she returns.|#default=If the above says active, it means they have made 1 edit within the last month. (NOTE: If a user is inactive, they should not be messaged, as they will most likely not respond.|Frequent={{BASEPAGENAME}} is a frequent editor of [[Zelda Wiki.org]]. {{#ifeq:{{{2|}}}|{{Void}}|he|{{{2|}}}}} makes several edits at least a few days each week.|Inactive={{BASEPAGENAME}} either edits [[Zelda Wiki.org]] very rarely or has not made an edit within the last month. {{BASEPAGENAME}} will likely not answer any messages in a timely fashion.|Active={{BASEPAGENAME}} has made at least one edit within the last month. However, {{BASEPAGENAME}} might not visit the wiki on a regular basis.|Gone={{BASEPAGENAME}} has either left [[Zelda Wiki.org]] or was banned for misconduct.|FreqAdmin={{BASEPAGENAME}} is a Zelda Wiki.org [[Zelda Wiki.org:Administrators|admin]] that edits frequently. As such, {{#ifeq:{{{2|}}}|{{Void}}|he|{{{2|}}}}} is a good source of editing advice.|AdminGone={{BASEPAGENAME}} is a Zelda Wiki.org [[Zelda Wiki.org:Administrators|admin]] that is temporarily taking a break from editing.}}</div>
  |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==
To use this template, type: '''<nowiki>{{User activeness|State}}</nowiki>'''<br />
This template should be placed in a user's '''User page''' and/or '''User talk page'''


Where '''"state"''' is either '''"Frequent"''', '''"Active"'', '''"Inactive"''', '''"Absent"''', or '''"Gone"'''. In order to be used, 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.
Without State:  &emsp;&emsp;<nowiki>{{User activeness}}</nowiki><br />
 
{{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]].
<br clear="all">
 
With State set as '''"Frequent"''':  &emsp;&emsp;<nowiki>{{User activeness|Frequent}}</nowiki><br />
==Examples==
{{User activeness|Frequent}}
{| width=100%
<br clear="all">
! width=10% | State
With State set as '''"Active"''':  &emsp;&emsp;<nowiki>{{User activeness|Active}}</nowiki><br />
! width=40% | Parameters
{{User activeness|Active}}
! width=50% | Template
<br clear="all">
|-
With State set as '''"Inactive"''':  &emsp;&emsp;<nowiki>{{User activeness|Inactive}}</nowiki><br />
! None
{{User activeness|Inactive}}
| <nowiki>{{User activeness}}</nowiki>
<br clear="all">
| {{User activeness}}
With State set as '''"Absent"''':  &emsp;&emsp;<nowiki>{{User activeness|Absent|Date}}</nowiki><br />
|-
{{User activeness|Absent|Date}}
! Frequent
<br clear="all">
| <nowiki>{{User activeness|Frequent}}</nowiki>
With State set as '''"Gone"''':  &emsp;&emsp;<nowiki>{{User activeness|Gone}}</nowiki><br />
| {{User activeness|Frequent}}
{{User activeness|Gone}}
|-
<br clear="all">
! Active
[[Category:Notice Templates|{{PAGENAME}}]]
| <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]]

Latest revision as of 17:10, 16 April 2022

User activeness is .
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.

Usage

This template should be placed in a user's User page and/or User talk page

To use this template, type: {{User activeness|State}}

Where "state" is one of the options below.

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 User Preferences.

Examples

State Parameters Template
None {{User activeness}}
User activeness is .
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.
Frequent {{User activeness|Frequent}}
User activeness is a frequent editor.
User activeness is a frequent editor of Zelda Wiki. They generally makes several edits over at least a few days of each week.
Active {{User activeness|Active}}
User activeness is active.
User activeness has made at least one edit within the last month. However, they might not visit the wiki on a regular basis.
Inactive {{User activeness|Inactive}}
User activeness is inactive.
User activeness either edits Zelda Wiki very rarely, or has not made an edit within the last month. They will likely not answer any messages in a timely fashion.
Hiatus {{User activeness|Hiatus|return condition/date}}
User activeness is on hiatus from the wiki.
User activeness is currently on hiatus from the wiki. They will most likely not answer any messages until they returns. User activeness will return when he finds the meaning of life.
Absent {{User activeness|Absent|Date}}
User activeness is absent.
This normally active user is temporarily absent. They has gone on a vacation or trip and will return on Date. It is likely that messages won't be answered until they returns.
Banned {{User activeness|Banned}}
User activeness is banned.
User activeness was banned for misconduct.
Gone {{User activeness|Gone}}
User activeness is gone.
User activeness has left Zelda Wiki.