Template:Tools/doc: Difference between revisions
Jump to navigation
Jump to search
Tip:Place the template at the top of the page to avoid formatting errors.
Mailmanmicky (talk | contribs) m (Odd. not sure why the tools templater is displaying in the middle of the heading on this page. Guess it's not that much of an issue.) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
{{Tools | {{Tools | ||
| flag = de | | flag = de | ||
| country = | | country = Germany | ||
}} | }} | ||
Adds a toolbar to the upper-right corner of the page, which also has some additional information (for example, country of residence). | Adds a toolbar to the upper-right corner of the page, which also has some additional information (for example, country of residence). | ||
Line 9: | Line 9: | ||
== Copy and Paste == | == Copy and Paste == | ||
{{ | {{Tip|Place the template at the top of the page to avoid formatting errors.}} | ||
{{CodeBlock|<nowiki>{{Tools | {{CodeBlock|<nowiki>{{Tools | ||
| flag = | | flag = | ||
Line 18: | Line 18: | ||
{| class="standard-table" width="100%" | {| class="standard-table" width="100%" | ||
! {{Dictionary/common|Param}} | ! {{Dictionary/common|Param}} | ||
! {{ | ! {{int:listfiles_description}} | ||
! {{ | ! {{int:apisandbox-examples}} | ||
! {{ | ! {{int:preview}} | ||
|- | |- | ||
| align= | | align=center | {{Code|{{Param|flag}}}} | ||
| A string parameter that changes the flag in the country field. See [[: | | A string parameter that changes the flag in the country field. See [[Template:Flag]] for details. The default is a white flag. | ||
| {{CodeBlock | | {{CodeBlock|<nowiki>| flag = de</nowiki>}} | ||
| align= | | align=center rowspan=2 | Check the top right of the page | ||
|- | |- | ||
| align= | | align=center | {{Code|{{Param|country}}}} | ||
| String parameter in which you enter the name of the country. | | String parameter in which you enter the name of the country. | ||
| {{CodeBlock | | {{CodeBlock|<nowiki>| country = Germany</nowiki>}} | ||
|} | |} |
Latest revision as of 03:50, 6 May 2023

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.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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

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. | Check the top right of the page | |
{{{country}}} | String parameter in which you enter the name of the country. |