Template:Status: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Uselangflags|en=1|eo=1|ru=1|zh=1}}
{{ulf|en=1|eo=1|ru=1|zh=1}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude><div style="display:flex; border:1px solid {{#switch:{{{type}}}
<includeonly><onlyinclude>{{footer
| active = rgb(159, 206, 59, .3)
|borderrgb = {{#switch:{{{type}}}
| away
  | active = 159, 206, 59
| idle = rgb(235, 122, 23, .3)
  | away
| hyper = rgb(58, 155, 240, .3)
  | idle = 235, 122, 23
| #default = rgb(207, 207, 207, .3)
  | hyper = 58, 155, 240
}}; border-radius: .5em; overflow:hidden; margin-block:.5em">
  | #default = 207, 207, 207
 
  }}
<p style="background:{{#switch:{{{type}}}
|titlergb = {{#switch:{{{type}}}
| active = rgb(159, 206, 59, .3)
  | active = 159, 206, 59
| away
  | away
| idle = rgb(235, 122, 23, .3)
  | idle = 235, 122, 23
| hyper = rgb(58, 155, 240, .3)
  | hyper = 58, 155, 240
| #default = rgb(207, 207, 207, .3)
  | #default = 207, 207, 207
}}; flex-basis:3em; align-items:center; display:flex; margin:0; padding:.3em; justify-content:center; font-weight:bold">
  }}
{{#switch:{{{type}}}
|title = {{#switch:{{{type}}}
| active = {{Autolang| Active | eo = Aktiva | ru = Активный | zh = 活跃 }}
  | active = {{Status/strings|Active}}
| away = {{Autolang| Away | eo = Fara | ru = Отошёл | zh = 离开 }}
  | away = {{Status/strings|Away}}
| idle = {{Autolang| Idle | eo = Malaktiva | ru = Неактивный | zh = 闲置 }}
  | idle = {{Status/strings|Idle}}
| hyper = {{Autolang| Hyper | eo = Hipera | ru = Гиперактивный | zh = 高活跃 }}
  | hyper = {{Status/strings|Hyper}}
| offline = {{Autolang| Offline | ru = Не в сети | zh = 离线 }}
  | offline = {{Status/strings|Offline}}
| hiatus        = {{Autolang| Hiatus | zh = 暂停<br>活动 }}
  | hiatus        = {{Status/strings|Hiatus}}
| #default = {{Autolang| N/A |ru=Н/Д }}
  | #default = {{Status/strings|N/A}}
}}</p>
  }}
 
|textbgrgb = {{#switch:{{{type}}}
<p style="background:{{#switch:{{{type}}}
  | active = 159, 206, 59
| active = rgb(159, 206, 59, .1)
  | away
| away
  | idle = 235, 122, 23
| idle = rgb(235, 122, 23, .1)
  | hyper = 58, 155, 240
| hyper = rgb(58, 155, 240, .1)
  | #default = 207, 207, 207
| #default = rgb(207, 207, 207, .1)
  }}
}};
|1 = {{#switch:{{{type}}}
 
  | active = {{Status/strings|ThisUser}} {{Status/strings|InfoActive}}
box-shadow:{{#switch:{{{type}}}
  | away = {{Status/strings|ThisUser}} {{Status/strings|InfoAway}}
| active = rgba(159, 206, 59, .05) 0 0 25px 0 inset;
  | idle = {{Status/strings|ThisUser}} {{Status/strings|InfoIdle}}
| away
  | hyper = {{Status/strings|ThisUser}} {{Status/strings|InfoHyper}}
| idle = rgba(235, 122, 23, .05) 0 0 25px 0 inset;
  | offline = {{Status/strings|ThisUser}} {{Status/strings|InfoOffline}}
| hyper = rgba(58, 155, 240, .05) 0 0 25px 0 inset
  | hiatus        = {{Status/strings|ThisUser}} {{Status/strings|InfoHiatus}}
| #default = rgba(207, 207, 207, .05) 0 0 25px 0 inset;
  | #default = {{Status/strings|InfoDef}}
}};
  }}{{Dictionary/common|.}}
 
}}<!--
flex:1; margin:0; padding:.3em; display:flex; align-items:center">
-->{{yesno|{{{nocat|no}}}
{{#switch:{{{type}}}
  |yes=
| active = {{Autolang
  |no= {{#switch:{{{type}}}
| This user is predominantly active and can frequently be seen making edits or creating new pages
      | active = [[Category:Active Users]]
| eo = Ĉi uzanto estas domine aktivan kaj povas ofte vidita redaktadas aŭ kreas novajn paĝojn
      | away = [[Category:Away Users]]
| ru = Данный пользователь преимущественно активен, так что вы можете довольно часто застать его за внесением правок или созданием страниц.
      | idle = [[Category:Idle Users]]
| zh = 此用户处于活动状态,经常可以看到他们进行编辑或创建新页面
      | hyper = [[Category:Hyper Users]]
}}
      | offline = [[Category:Offline Users]]
| away = {{Autolang
      | hiatus = [[Category:Users on a hiatus]]
| This user is currently away. Their edits are infrequent and they only check up on the site every so often
      | #default =
| eo = Ĉi uzanto nune eksterretanta. Ĝiaj redaktaĵoj neoftaj kaj oni nur revidus la retejon rare
    }}
| ru = Данный пользователь в данный момент отошёл. Его правки нечасты и он посещает вики время от времени.
}}</onlyinclude></includeonly>
| zh = 此用户已离开。他们的编辑很少,他们只会每隔一段时间检查一次网站
<noinclude>[[Category:Asbox templates]]</noinclude>
}}
| idle = {{Autolang
| This user is currently idle. They regularly check the site, but they don't edit as frequently as they used to
| eo = Ĉi uzanto nune malaktivanta. Ĝia ripete vidos la retejon; sed ĝi redakti ne kvazaŭ antaŭe
| ru = Данный пользователь в данный момент неактивен. Он регулярно проверяет вики, но его правки не так часты, как раньше.
| zh = 此用户处于闲置状态。他们会定期查看网站,但编辑频率将不如之前
}}
| hyper = {{Autolang
| This user is abnormally active. Their edits can be characterized as sporadic and they have a tendency to make hundreds of them
| eo = Ĉi uzanto estas normaĉe aktivan. Ĝiaj redaktoj povas karakteriĝis vastan kaj ĝi havas emon por krei multajn tiojn
| ru = Данный пользователь аномально активен. Его правки можно охарактеризовать как случайные.
| zh = 此用户异常活跃。他们的编辑可以说是零星的,他们倾向于进行数百次编辑
}}
| offline = {{Autolang
| This user is offline. You may be able to find them somewhere else, but right now their lives have nothing to do with this wiki, which, however, does not mean that they have left this place forever
| ru = Данный пользователь не в сети. Возможно, вы сможете найти его в каком-нибудь другом месте, но сейчас его жизнь никак не связана с этой вики, что, однако, не означает, что он покинул это место навсегда.
| zh = 此用户已经离线。你也许能在其他地方找到他们,但现在他们的生活与这个维基没有任何关系,但这并不意味着他们已经永远离开了这个地方
}}
| hiatus        = {{Autolang
| This user is currently on a hiatus. Their general activity will cease hereafter.
| zh = 此用户处于暂停活动状态。他们的一般活动将在此后停止
}}
| #default = {{Autolang
| No status is avaliable
| eo = Nenia stato sciita
| ru = Нет доступного статуса.
| zh = 状态不可用
}}
}}
</p>
 
{{#if:{{{nocat|}}}||{{#switch:{{{type}}}
| active = [[Category:Active Users]]
| away = [[Category:Away Users]]
| idle = [[Category:Idle Users]]
| hyper = [[Category:Hyper Users]]
| offline = [[Category:Offline Users]]
| hiatus = [[Category:Hiatus Users]]
| #default =
}}}}</div></onlyinclude></includeonly>

Latest revision as of 15:05, 29 April 2024

English (en)Esperanto (eo)Русский (ru)中文 (zh)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

This template is intended for use on user pages as a means of indicating the status of the user in which the page is owned by.

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Parameters and Examples

Parameter Description Example Preview
No Parameters Template reverts to the default values specified within the included {{#switch}} parser functions. This in turn causes the template to appear as it does on the right.
{{Status}}

N/A

No status is avaliable.

{{{type}}} Allows you to select your type of status.
{{Status|type = active}}
{{Status|type = away}}
{{Status|type = idle}}
{{Status|type = hyper}}
{{Status|type = offline}}
{{Status|type = hiatus}}

Active

This user is predominantly active and can frequently be seen making edits or creating new pages.

Away

This user is currently away. Their edits are infrequent and they only check up on the site every so often.

Idle

This user is currently idle. They regularly check the site, but they don't edit as frequently as they used to.

Hyper

This user is abnormally active. Their edits can be characterized as sporadic and they have a tendency to make hundreds of them.

Offline

This user is offline. You may be able to find them somewhere else, but right now their lives have nothing to do with this wiki, which, however, does not mean that they have left this place forever.

Hiatus

This user is currently on a hiatus. Their general activity will cease hereafter.

{{{nocat}}} Prevents category inclusion. Designed especially for use within this documentation or the categories listed below.
{{Status|nocat=1}}
No preview avaliable

Categories