User:Wisdurm/Template:Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed minor formatting)
mNo edit summary
Line 1: Line 1:
{{User:Wisdurm/Template:Sandbox|yes|I 100% agree}}
{{User:Wisdurm/Template:Sandbox
{{User:Wisdurm/Template:Sandbox|no|I believe not}}
| mode = inline
<onlyinclude>{{#switch:{{{1}}}
| type = {{Dictionary/notices|How}}
| yes =
| text = TEST
<div><strong style="color:#7ACC6D; display:table-cell; padding-left:1em; white-space:nowrap;">[[File:icon-silk-check.png|link=]]&nbsp;<!--
-->Yes<!--
-->:&nbsp;</strong><span style="display:table-cell;">{{{2|}}}</span></div>
| no =
<div><strong style="color:#FA9A87; display:table-cell; padding-left:1em; white-space:nowrap;">[[File:icon-silk-delete.png|link=]]&nbsp;<!--
-->No<!--
-->:&nbsp;</strong><span style="display:table-cell;">{{{2|}}}</span></div>
}}
}}
</onlyinclude>
<includeonly><onlyinclude>{{#switch:{{{mode|}}}
| inline = <{{#if:{{{text|}}}{{{1|}}}|div|span}} style="margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}; margin-{{text-dir|ltr=left|rtl=right}}:calc(2em * {{#expr:{{{offset|0}}}.}}); display:{{#if:{{{text|{{{1|}}}}}}|flex|inline-flex}}; {{#if:{{{text|{{{1|}}}}}}|gap:4px;|}} background:linear-gradient(90deg, rgba({{{color|240,240,240}}},.07) 0%, transparent 100%); border-left:2px solid rgb({{{color|240,240,240}}}); border-radius:2px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; {{{root_inline_style|}}}"><!--
 
-->{{#if:{{{type|}}}|<strong style="display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap; {{{type style|}}}">{{#if:{{{img|}}}|<span style="user-select:none; margin-right:4px; {{{img style|}}}">[[File:{{{img|}}}|{{#if:{{{size|}}}|{{{size}}}{{!}}|}}link=]]}}</span>{{{type|}}}:</strong>|}}<!--
 
--><span style="display:table-cell; {{{text style|}}}">{{{text|{{{1|}}}}}}</span></{{#if:{{{text|}}}{{{1|}}}|div|span}}>
 
| #default = <div style="{{{style:default|}}}background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px 12px; margin-bottom:6px">{{{text|{{{1|}}}}}}</div>
 
}}</onlyinclude></includeonly>

Revision as of 13:54, 16 June 2024

Preview 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)

Note

Todo

Warning

Deprecated

Bug

Tip

Code

Code Fix

Fix

Important

Confirm

Workaround

Risk of Confusion

Example

How

Placement Tip

Idea

Translate

English (en) Finished notices: 17 / 17 Translate


Deutsch (de) Finished notices: 17 / 17 Translate


Esperanto (eo) Finished notices: 17 / 17 Translate


Español (es) Finished notices: 17 / 17 Translate


Français (fr) Finished notices: 13 / 17 Translate


Suomi (fi) Finished notices: 17 / 17 Translate


Hrvatski (hr) Finished notices: 17 / 17 Translate


Magyar (hu) Finished notices: 6 / 17 Translate


Italiano (it) Finished notices: 7 / 17 Translate


日本語 (ja) Finished notices: 1 / 17 Translate


한국어 (ko) Finished notices: 12 / 17 Translate


Nederlands (nl) Finished notices: 4 / 17 Translate


Polski (pl) Finished notices: 5 / 17 Translate


Português (pt) Finished notices: 7 / 17 Translate


Português do Brasil (pt-br) Finished notices: 17 / 17 Translate


Русский (ru) Finished notices: 17 / 17 Translate


Slovenčina (sk) Finished notices: 17 / 17 Translate


Svenska (sv) Finished notices: 5 / 17 Translate


Türkçe (tr) Finished notices: 3 / 17 Translate


Українська (uk) Finished notices: 6 / 17 Translate


Tiếng Việt (vi) Finished notices: 14 / 17 Translate


中文 (zh) Finished notices: 17 / 17 Translate


中文(臺灣) (zh-tw) Finished notices: 11 / 17 Translate


Note.pngNote:If wanting to create translation for new language simply create page like this Category:<language shortcut>/Dictionary/Notices and save it with following content {{subst:Category:En/Dictionary/Notices}}

See Also

TEST