Template:Tools/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Doc/subpage}}{{stub}}
{{Doc/subpage}}
{{ModernTodo|Documentation}}
{{Tools
| flag = de
| country = German
}}
{{Stub}}
Adds a toolbar to the upper-right corner of the page, which also has some additional information (for example, country of residence).


This template is intended for use on user pages.
The main focus of the template is to be used on user pages.


== Preview ==
== Copy and Paste ==
Check the top right of the page
{{CodeBlock|<nowiki>{{Tools
{{tools}}
| flag =
| country =
}}</nowiki>}}
 
== Parameters and Examples ==
{| class="standard-table" width="100%"
! {{Dictionary/common|Param}}
! {{Dictionary/common|Desc}}
! {{Dictionary/common|Example}}
! {{Dictionary/common|Preview}}
|-
| align="center" | {{Code|style=2|{{Param|flag}}}}
| A string parameter that changes the flag in the country field. See [[:Category:Flag icons|Flag icons]] category for details.
| {{CodeBlock|margin=5px|<nowiki>| flag = de</nowiki>}}
| align="center" rowspan="2" | Check the top right of the page
|-
| align="center" | {{Code|style=2|{{Param|country}}}}
| String parameter in which you enter the name of the country.
| {{CodeBlock|margin=5px|<nowiki>| country = German</nowiki>}}
|}

Revision as of 12:17, 16 April 2023

Edit-copy.png
This is a documentation subpage for Template:Tools.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Deutsch (de) German
Icon-edit.png
Icon-deblur.png
Icon-sandbox.png
Icon-settings.png

Stub

This article or section is a stub. You can help by expanding it.

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

{{Tools | flag = | country = }}

Parameters and Examples

Parameter Description Example Preview
{{{flag}}} A string parameter that changes the flag in the country field. See Flag icons category for details.
| flag = de
Check the top right of the page
{{{country}}} String parameter in which you enter the name of the country.
| country = German