Ŝablono:TemplateBox
El Komunejo
(←Created page with '{{TemplateBox/{{Fallback|TemplateBox}} |1={{{1|}}}|1d={{{1d|}}}|1def={{{1def|}}}|1stat={{{1stat|}}}|2={{{2|}}}|2d={{{2d|}}}|2def={{{2def|}}}|2stat={{{2stat|}}} |3=...') |
E ({{dok}}) |
||
(9 mezaj versioj ne montrata.) | |||
Linio 1: | Linio 1: | ||
- | {{TemplateBox/{{Fallback|TemplateBox}} | + | <includeonly>{{TemplateBox/{{Fallback|TemplateBox}} |
|1={{{1|}}}|1d={{{1d|}}}|1def={{{1def|}}}|1stat={{{1stat|}}}|2={{{2|}}}|2d={{{2d|}}}|2def={{{2def|}}}|2stat={{{2stat|}}} | |1={{{1|}}}|1d={{{1d|}}}|1def={{{1def|}}}|1stat={{{1stat|}}}|2={{{2|}}}|2d={{{2d|}}}|2def={{{2def|}}}|2stat={{{2stat|}}} | ||
|3={{{3|}}}|3d={{{3d|}}}|3def={{{3def|}}}|3stat={{{3stat|}}}|4={{{4|}}}|4d={{{4d|}}}|4def={{{4def|}}}|4stat={{{4stat|}}} | |3={{{3|}}}|3d={{{3d|}}}|3def={{{3def|}}}|3stat={{{3stat|}}}|4={{{4|}}}|4d={{{4d|}}}|4def={{{4def|}}}|4stat={{{4stat|}}} | ||
Linio 10: | Linio 10: | ||
|17={{{17|}}}|17d={{{17d|}}}|17def={{{17def|}}}|17stat={{{17stat|}}}|18={{{18|}}}|18d={{{18d|}}}|18def={{{18def|}}}|18stat={{{18stat|}}} | |17={{{17|}}}|17d={{{17d|}}}|17def={{{17def|}}}|17stat={{{17stat|}}}|18={{{18|}}}|18d={{{18d|}}}|18def={{{18def|}}}|18stat={{{18stat|}}} | ||
|19={{{19|}}}|19d={{{19d|}}}|19def={{{19def|}}}|19stat={{{19stat|}}}|20={{{20|}}}|20d={{{20d|}}}|20def={{{20def|}}}|20stat={{{20stat|}}} | |19={{{19|}}}|19d={{{19d|}}}|19def={{{19def|}}}|19stat={{{19stat|}}}|20={{{20|}}}|20d={{{20d|}}}|20def={{{20def|}}}|20stat={{{20stat|}}} | ||
- | |name={{{name|}}}|desc={{{desc|}}}|namespace={{{namespace|}}}|usergroup={{{usergroup|}}}|usage-notes={{{usage-notes|}}}|type={{{type|}}}|example={{{example|}}}|i18n-method={{{i18n-method|}}}|i18n-desc={{{i18n-desc|}}}|seealso={{{seealso|}}}|setscats={{{setscats|}}}|lines={{{lines|}}}|shorthand={{{shorthand|}}} | + | |name={{{name|}}}|desc={{{desc|}}}|namespace={{{namespace|}}}|usergroup={{{usergroup|}}}|placement={{{placement|}}}|usage-notes={{{usage-notes|}}}|type={{{type|}}}|example={{{example|}}}|i18n-method={{{i18n-method|}}}|i18n-desc={{{i18n-desc|}}}|seealso={{{seealso|}}}|setscats={{{setscats|}}}|lines={{{lines|}}}|shorthand={{{shorthand|}}}|relieson={{{relieson|}}}|docsub-override={{{docsub-override|}}}|docsub-page={{{docsub-page|}}} |
- | }}<noinclude> | + | }}</includeonly>__NOEDITSECTION__<noinclude> |
- | + | {{dok}} | |
- | {{documentation}} | + | [[Category:Template documentation|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Nuna versio ekde 21:47, 11. Jan 2010
Ŝablono:TemplateBox • Dokumentado • Diskuto
(this part of the documentation is only available in some languages)
The template provides a uniform way to provide basic information about the use of a template.
Usage
{{TemplateBox
|1=
|1d=
|1def=
|1stat=
|name=
|desc=
|namespace=
|usergroup=
|placement=
|usage-notes=
|type=
|example=
|i18n-method=
|i18n-desc=
|seealso=
|setscats=
|lines=
|shorthand=
|relieson=
}}
Parameters
Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional? |
---|---|---|---|
parameter #1 (1) | parameter name (up to 20, 1, 2, ...) | empty | optional |
1d | description of the parameter (up to 20, 1d, 2d, ...) | empty | optional |
1def | default value for the first specified parameter (1def, 2def, ..., 20def) | empty | optional |
1stat | status of the parameter (required, optional, optional- [optional and not present in the standard form], deprecated) | optional | optional |
name | name of the template | {{PAGENAME}} | required |
desc | description of what the template does | empty | required |
namespace | namespaces, the template is intended to use in | empty | required |
usergroup | usergroup that is meant to use the template | empty | required |
placement | placement on the page | empty | optional |
usage-notes | notes about the correct usage of the template | empty | optional |
type | what type is the template (infobox, formatting, licence tag, ...) | empty | optional |
example | example use (just write down the parameters, separated by {{!}}) | empty | optional |
i18n-method | method the localization is achieved by (known values: 'autotranslate' [using autotranslate], 'switch' [using a switch tag in the template itself], '-' [no localization needed]) | empty | optional |
i18n-desc | additional info about the localization | empty | optional |
seealso | relevant links (put in a list of them) | empty | optional |
setscats | what categories are automatically set by the template (put in a linked list of them) | one | optional |
lines | are the parameters typically put into new lines or all on one line ("multi": multiple lines, "one": one line) | empty | optional |
shorthand | shorthand for easy use (redirects to main template) | empty | optional |
relieson | list of templates on which the template's basic functionality relies | empty | optional |
Additional information
The template is intended to be used in the following namespaces:
- the Template namespace
The template is intended to be used by the following user groups:
Placement: (this part of the documentation is only available in some languages)
in the '/doc' subpage of a template
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:TemplateBox/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:TemplateBox/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
Se vi havas demandon pri ĉi tiu ŝablono, tiam vi povas demandi sur la paĝo Vikipedia diskuto:Vikiprojekto Ŝablono. |
Dosiero:Information icon.svg |
|