Template:Tools: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<onlyinclude><includeonly><!-- <div style="display:flex; gap:4px; width:calc(100% + 4px); pointer-events: none; position:absolute; z-index:100; top:calc(-17px - 0px); left:-4...")
 
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--


<div style="display:flex; gap:4px; width:calc(100% + 4px); pointer-events: none; position:absolute; z-index:100; top:calc(-17px - 0px); left:-4px"><!--
--><div style="display:flex; gap:4px; width:calc(100% + 4px); pointer-events: none; position:absolute; z-index:100; top:calc(-17px - 0px); left:-4px"><!--
--><div style="pointer-events: none; margin-left: auto">{{{flag|{{wh}}}}} {{{country|Unknown}}}</div><!--
--><div style="pointer-events: none; margin-left: auto">{{{flag|{{wh}}}}} {{{country|Unknown}}}</div><!--
Line 20: Line 20:
--></div><!--
--></div><!--


--></div>
--></div></includeonly></onlyinclude>{{doc}}
 
</includeonly></onlyinclude>{{doc}}

Revision as of 09:27, 30 March 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)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Adds a toolbar to the upper-right corner of the page, which also has some additional information (for example, country of residence).

The main focus of the template is to be used on user pages.

Copy and Paste

Tip.pngTip:Place the template at the top of the page to avoid formatting errors.
{{Tools | flag = | country = }}

Parameters and Examples

Parameter Description Examples Preview
{{{flag}}} A string parameter that changes the flag in the country field. See Template:Flag for details. The default is a white flag.
| flag = de
Check the top right of the page
{{{country}}} String parameter in which you enter the name of the country.
| country = Germany