Template:Status: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Translated into Russian and also added the "offline" type. The new type will be necessary for me later, since I will have to leave for about 1 year.)
Line 1: Line 1:
{{Doc}}{{Uselangflags|en=1|eo=1|zh=1}}
{{Uselangflags|en=1|eo=1|ru=1|zh=1}}
{{Doc}}
<includeonly><onlyinclude><div style="display:flex; border:1px solid {{#switch:{{{type}}}
<includeonly><onlyinclude><div style="display:flex; border:1px solid {{#switch:{{{type}}}
| active     = rgb(159, 206, 59, .3)
| active = rgb(159, 206, 59, .3)
| away
| away
| idle       = rgb(235, 122, 23, .3)
| idle = rgb(235, 122, 23, .3)
| hyper     = rgb(58, 155, 240, .3)
| hyper = rgb(58, 155, 240, .3)
| #default   = rgb(207, 207, 207, .3)
| #default = rgb(207, 207, 207, .3)
}}; border-radius: .5em; overflow:hidden; margin-block:.5em;">
}}; border-radius: .5em; overflow:hidden; margin-block:.5em;">


<p style="background:{{#switch:{{{type}}}
<p style="background:{{#switch:{{{type}}}
| active     = rgb(159, 206, 59, .3)
| active = rgb(159, 206, 59, .3)
| away
| away
| idle       = rgb(235, 122, 23, .3)
| idle = rgb(235, 122, 23, .3)
| hyper     = rgb(58, 155, 240, .3)
| hyper = rgb(58, 155, 240, .3)
| #default   = rgb(207, 207, 207, .3)
| #default = rgb(207, 207, 207, .3)
}}; flex-basis:3em; align-items:center; display:flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">
}}; flex-basis:3em; align-items:center; display:flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">
{{#switch:{{{type}}}
{{#switch:{{{type}}}
| active     = {{Autolang|Active|eo=Aktiva|zh=活跃}}
| active = {{Autolang|Active|eo=Aktiva|zh=活跃}}
| away       = {{Autolang|Away|eo=Fara|zh=离开}}
| away = {{Autolang|Away|eo=Fara|zh=离开}}
| idle       = {{Autolang|Idle|eo=Malaktiva|zh=闲置}}
| idle = {{Autolang|Idle|eo=Malaktiva|zh=闲置}}
| hyper     = {{Autolang|Hyper|eo=Hipera|zh=高活跃}}
| hyper = {{Autolang|Hyper|eo=Hipera|zh=高活跃}}
| #default   = N/A
| offline = Offline
| #default = N/A
}}</p>
}}</p>


<p style="background:{{#switch:{{{type}}}
<p style="background:{{#switch:{{{type}}}
| active     = rgb(159, 206, 59, .1)
| active = rgb(159, 206, 59, .1)
| away
| away
| idle       = rgb(235, 122, 23, .1)
| idle = rgb(235, 122, 23, .1)
| hyper     = rgb(58, 155, 240, .1)
| hyper = rgb(58, 155, 240, .1)
| #default   = rgb(207, 207, 207, .1)  
| #default = rgb(207, 207, 207, .1)  
}};
}};


box-shadow:{{#switch:{{{type}}}
box-shadow:{{#switch:{{{type}}}
| active     = rgba(159, 206, 59, .05) 0 0 25px 0 inset;
| active = rgba(159, 206, 59, .05) 0 0 25px 0 inset;
| away
| away
| idle       = rgba(235, 122, 23, .05) 0 0 25px 0 inset;
| idle = rgba(235, 122, 23, .05) 0 0 25px 0 inset;
| hyper     = rgba(58, 155, 240, .05) 0 0 25px 0 inset
| hyper = rgba(58, 155, 240, .05) 0 0 25px 0 inset
| #default   = rgba(207, 207, 207, .05) 0 0 25px 0 inset;
| #default = rgba(207, 207, 207, .05) 0 0 25px 0 inset;
}};
}};


flex:1; align-items:center; margin:0; padding:.3em;">
flex:1; align-items:center; margin:0; padding:.3em;">
{{#switch:{{{type}}}
{{#switch:{{{type}}}
| active     = {{Autolang|This user is predominantly active and can frequently be seen making edits or creating new pages|eo=Ĉi uzanto estas domine aktivan kaj povas ofte vidita redaktadas aŭ kreas novajn paĝojn|zh=此用户主要处于活动状态,经常可以看到他们进行编辑或创建新页面}}
| active = {{Autolang
| away       = {{Autolang|This user is currently away. Their edits are infrequent and they only check up on the site every so often|eo=Ĉi uzanto nune eksterretanta. Ĝiaj redaktaĵoj neoftaj kaj oni nur revidus la retejon rare|zh=此用户当前已离开。他们的编辑很少,他们只是每隔一段时间检查一次网站}}
| This user is predominantly active and can frequently be seen making edits or creating new pages
| 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|zh=此用户当前处于空闲状态。他们定期查看网站,但编辑频率不如过去}}
| eo = Ĉi uzanto estas domine aktivan kaj povas ofte vidita redaktadas aŭ kreas novajn paĝojn
| 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|zh=此用户异常活跃。他们的编辑可以被描述为断断续续的,他们倾向于进行数百次编辑}}
| ru = Данный пользователь преимущественно активен, так что вы можете довольно часто застать его за внесением правок или созданием страниц
| #default   = {{Autolang|No status is avaliable|eo=Nenia stato sciita|zh=状态不可用}}
| zh = 此用户主要处于活动状态,经常可以看到他们进行编辑或创建新页面}}
| away = {{Autolang
| This user is currently away. Their edits are infrequent and they only check up on the site every so often
| eo = Ĉi uzanto nune eksterretanta. Ĝiaj redaktaĵoj neoftaj kaj oni nur revidus la retejon rare
| ru = Данный пользователь в данный момент отошёл. Его правки нечасты и он посещает вики время от времени
| zh = 此用户当前已离开。他们的编辑很少,他们只是每隔一段时间检查一次网站}}
| 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 it somewhere else, but don't expect them to do anything on this wiki until they come back
| ru = Этот пользователь не в сети. Возможно, вы сможете найти его в каком-нибудь в другом месте, но не ожидайте, что он будет что-либо делать в этой вики, пока не вернётся}}
| #default = {{Autolang
| No status is avaliable
| eo = Nenia stato sciita
| ru = Нет доступного статуса
| zh = 状态不可用}}
}}
}}
</p>
</p>


{{#if:{{{nocat|}}}||{{#switch:{{{type}}}
{{#if:{{{nocat|}}}||{{#switch:{{{type}}}
| active     = [[Category:Active Users]]
| active = [[Category:Active Users]]
| away       = [[Category:Away Users]]
| away = [[Category:Away Users]]
| idle       = [[Category:Idle Users]]
| idle = [[Category:Idle Users]]
| hyper     = [[Category:Hyper Users]]
| hyper = [[Category:Hyper Users]]
| #default   =
| offline = [[Category:Offline Users]]
| #default =
}}}}</div></onlyinclude></includeonly>
}}}}</div></onlyinclude></includeonly>

Revision as of 09:45, 17 April 2023

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

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

{{{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}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Offline

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

N/A

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

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

Categories