Template:Stamp/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude>{{doc|0}}</noinclude> This is a template for adding stamps; a quick form of reaction intended for use on discussion pages. == Parameters and Examples == {| class="...")
 
mNo edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{doc|0}}</noinclude>
<noinclude>{{Doc|0}}</noinclude>
This is a template for adding stamps; a quick form of reaction intended for use on discussion pages.
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 ==
== Parameters and Examples ==
{| class="standard-table" | style="width:100%;"
{| class="standard-table" | style="width:100%"
|-
|-
! Parameter
! Parameter
Line 12: Line 14:
| align="center" | {{Code|{{param|type}}}}
| align="center" | {{Code|{{param|type}}}}
| Defines what stamp should be chosen
| Defines what stamp should be chosen
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}&#124;{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=agree}}}}
| {{Capsule|margin=5px|{{Stamp|type=agree}}}}
|-
|}
 
== Available Stamps ==
<div style="display:flex; flex-wrap:wrap; gap:.8em">
{| class="standard-table" | style="flex:1"
|+ {{Tint|Positive}}
|-
! Example
! Preview
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=agree}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|alright}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=alright}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|amazing}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=amazing}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|good}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=good}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|great}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=great}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|thanks}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=thanks}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|yes}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=yes}}}}
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|r=159|g=206|b=59}}}}
|}
 
{| class="standard-table" | style="flex:1"
|+ {{Tint|Neutral}}
|- style="height:10px"
! Example
! Preview
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|idk}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=idk}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|tldr}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=tldr}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|wtf}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=wtf}}}}
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|r=235|g=185|b=23}}}}
|}
 
{| class="standard-table" | style="flex:1"
|+ {{Tint|Negative}}
|- style="height:10px"
! Example
! Preview
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|boring}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=boring}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|disagree}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=disagree}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|no}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=no}}}}
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|r=231|g=76|b=60}}}}
|}
 
{| class="standard-table" | style="flex:1"
|+ {{Tint|Attribute}}
|- style="height:10px"
! Example
! Preview
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|stub}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=stub}}}}
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|r=58|g=155|b=240}}}}
|}
 
{| class="standard-table" | style="flex:1"
|+ {{Tint|Query}}
|- style="height:10px"
! Example
! Preview
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|how}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=how}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|huh}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=huh}}}}
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|what}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=what}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|why}}{{))}}}}
| {{Capsule|margin=5px|{{Stamp|type=why}}}}
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|rgb=207}}}}
|}
|}
</div>
<includeonly>{{sandbox other||
[[Category:Templates]][[Category:Formatting templates]]
}}</includeonly>

Latest revision as of 14:30, 29 April 2023

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)
Edit-copy.png
This is a documentation subpage for Template:Stamp.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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