Template:Stamp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<onlyinclude><includeonly><!-- -->{{#switch:{{{type|}}} | agree = <span style="border-left:8px solid rgb(159,206,59); background: rgba(159,206,59,0.1); padding:0.5em; p...")
 
m (autolang replace)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<includeonly><onlyinclude><b style="white-space:nowrap; border-radius:2px; padding:.4em .5em .4em .4em; vertical-align:middle; border-left:8px solid {{#switch:{{{type}}}
 
<!-- Positive -->
-->{{#switch:{{{type|}}}
| agree = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Agree|ru=Соглашусь}}
| agree = <span style="border-left:8px solid rgb(159,206,59); background: rgba(159,206,59,0.1); padding:0.5em; padding-inline:0.7em;"><b style="margin-left:0.2em; color:rgb(159,206,59); vertical-align: middle;">Agree</b></span>
| alright = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Alright|ru=Ладно}}
 
| amazing = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Amazing|ru=Удивил}}
| amazing = <span style="border-left:8px solid rgb(159,206,59); background: rgba(159,206,59,0.1); padding:0.5em; padding-inline:0.7em;"><b style="margin-left:0.2em; color:rgb(159,206,59); vertical-align: middle;">Amazing</b></span>
| good = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Good|ru=Хорошо}}
}});
| great = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Great|ru=Отлично}}
 
| thanks = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Thanks|ru=Спасибо}}
 
| yes = rgb(159,206,59); background:rgba(159,206,59,.1); color:rgb(159,206,59)">{{#switch: {{language}}|#default = Yes|ru=Да}}
 
<!-- Neutral -->
 
| idk = rgb(235,185,23); background:rgba(235,185,23,.1); color:rgb(235,185,23)">{{#switch: {{language}}|#default = idk|ru=Я не знаю}}
</includeonly></onlyinclude>{{doc|nolang=1}}<!--
| tldr = rgb(235,185,23); background:rgba(235,185,23,.1); color:rgb(235,185,23)">{{#switch: {{language}}|#default = tldr|ru=Много букв}}
| wtf = rgb(235,185,23); background:rgba(235,185,23,.1); color:rgb(235,185,23)">{{#switch: {{language}}|#default = wtf|ru=Какого чёрта!}}
<!-- Negative -->
| boring = rgb(231,76,60); background:rgba(231,76,60,.1); color:rgb(231,76,60)">{{#switch: {{language}}|#default = Boring|ru=Скучно}}
| disagree = rgb(231,76,60); background:rgba(231,76,60,.1); color:rgb(231,76,60)">{{#switch: {{language}}|#default = Disagree|ru=Не соглашусь}}
| no = rgb(231,76,60); background:rgba(231,76,60,.1); color:rgb(231,76,60)">{{#switch: {{language}}|#default = No|ru=Нет}}
<!-- Attribute -->
| stub = rgb(58,155,240); background:rgba(58,155,240,.1); color:rgb(58,155,240)">Stub
<!-- Query -->
| how = rgb(207,207,207); background:rgba(207,207,207,.1); color:rgb(207,207,207)">{{#switch: {{language}}|#default = How|ru=Как?}}
| huh = rgb(207,207,207); background:rgba(207,207,207,.1); color:rgb(207,207,207)">{{#switch: {{language}}|#default = Huh|ru=Хм?}}
| what = rgb(207,207,207); background:rgba(207,207,207,.1); color:rgb(207,207,207)">{{#switch: {{language}}|#default = What|ru=Что?}}
| why = rgb(207,207,207); background:rgba(207,207,207,.1); color:rgb(207,207,207)">{{#switch: {{language}}|#default = Why|ru=Почему?}}
}}</b></onlyinclude></includeonly>{{Doc}}

Latest revision as of 18:44, 5 August 2024

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

This is a template for adding stamps; a quick form of reaction intended for use on discussion pages.

Initially conceptualized with the idea of being implemented into the message template; stamps have instead been given their own template as a sort of testing ground for their viability before being implemented into the message template.

Parameters and Examples

Parameter Description Example Preview
{{{type}}} Defines what stamp should be chosen
{{Stamp|type=agree}}
Agree

Available Stamps

Positive
Example Preview
{{Stamp|type=agree}}
Agree
{{Stamp|type=alright}}
Alright
{{Stamp|type=amazing}}
Amazing
{{Stamp|type=good}}
Good
{{Stamp|type=great}}
Great
{{Stamp|type=thanks}}
Thanks
{{Stamp|type=yes}}
Yes
#9FCE3B
Neutral
Example Preview
{{Stamp|type=idk}}
idk
{{Stamp|type=tldr}}
tldr
{{Stamp|type=wtf}}
wtf
#EBB917
Negative
Example Preview
{{Stamp|type=boring}}
Boring
{{Stamp|type=disagree}}
Disagree
{{Stamp|type=no}}
No
#E74C3C
Attribute
Example Preview
{{Stamp|type=stub}}
Stub
#3A9BF0
Query
Example Preview
{{Stamp|type=how}}
How
{{Stamp|type=huh}}
Huh
{{Stamp|type=what}}
What
{{Stamp|type=why}}
Why
#CFCFCF