Template:Stamp/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:


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.
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%"
Line 14: Line 15:
| Defines what stamp should be chosen
| Defines what stamp should be chosen
| {{CodeBlock|{{((}}Stamp|{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{CodeBlock|{{((}}Stamp|{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=agree}}}}
| {{Capsule|margin=5px|{{Stamp|type=agree}}}}
|-
|-
|}
|}


== Available Stamps ==
== Available Stamps ==
<div style="display:flex; flex-wrap:wrap; gap:1em">
<div style="display:flex; flex-wrap:wrap; gap:.8em">
{| class="standard-table" | style="flex:1; text-align:center"
{| class="standard-table" | style="flex:1"
|+ {{tint|color=|Positive}}
|+ {{Tint|Positive}}
|-
|-
! Example
! Example
Line 27: Line 28:
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|agree}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=agree}}}}
| {{Capsule|margin=5px|{{Stamp|type=agree}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|alright}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|alright}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=alright}}}}
| {{Capsule|margin=5px|{{Stamp|type=alright}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|amazing}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|amazing}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=amazing}}}}
| {{Capsule|margin=5px|{{Stamp|type=amazing}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|good}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|good}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=good}}}}
| {{Capsule|margin=5px|{{Stamp|type=good}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|great}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|great}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=great}}}}
| {{Capsule|margin=5px|{{Stamp|type=great}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|thanks}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|thanks}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=thanks}}}}
| {{Capsule|margin=5px|{{Stamp|type=thanks}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|yes}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|yes}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=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; text-align:center"
{| class="standard-table" | style="flex:1"
|+ {{tint|color=|Neutral}}
|+ {{Tint|Neutral}}
|-
|- style="height:10px"
! Example
! Example
! Preview
! Preview
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|idk}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|idk}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=idk}}}}
| {{Capsule|margin=5px|{{Stamp|type=idk}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|tldr}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|tldr}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=tldr}}}}
| {{Capsule|margin=5px|{{Stamp|type=tldr}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|wtf}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|wtf}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=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; text-align:center"
{| class="standard-table" | style="flex:1"
|+ {{tint|color=|Negative}}
|+ {{Tint|Negative}}
|-
|- style="height:10px"
! Example
! Example
! Preview
! Preview
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|boring}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|boring}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=boring}}}}
| {{Capsule|margin=5px|{{Stamp|type=boring}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|disagree}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|disagree}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=disagree}}}}
| {{Capsule|margin=5px|{{Stamp|type=disagree}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|no}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|no}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=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; text-align:center"
{| class="standard-table" | style="flex:1"
|+ {{tint|color=|Attribute}}
|+ {{Tint|Attribute}}
|-
|- style="height:10px"
! Example
! Example
! Preview
! Preview
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|stub}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|stub}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=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; text-align:center"
{| class="standard-table" | style="flex:1"
|+ {{tint|color=|Query}}
|+ {{Tint|Query}}
|-
|- style="height:10px"
! Example
! Example
! Preview
! Preview
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|how}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|how}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=how}}}}
| {{Capsule|margin=5px|{{Stamp|type=how}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|huh}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|huh}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=huh}}}}
| {{Capsule|margin=5px|{{Stamp|type=huh}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|what}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|what}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=what}}}}
| {{Capsule|margin=5px|{{Stamp|type=what}}}}
|-
|-
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|why}}{{))}}}}
| {{CodeBlock|{{((}}Stamp&#124;{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|why}}{{))}}}}
| {{Capsule|margin=5px|{{stamp|type=why}}}}
| {{Capsule|margin=5px|{{Stamp|type=why}}}}
|-
|- style="height:10px"
| colspan=2 | {{Capsule|align=center|{{Color|r=207|g=207|b=207}}}}
|}
|}
</div>
</div>

Revision as of 14:19, 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