Template:Section header/doc: Difference between revisions
More actions
m {{Map}} -> {{i18n/map}} |
add TemplateData documentation |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=1 | |1=1 | ||
|1d=Header to use. Possible values: | |1label-en=header | ||
*< | |1d-en=Header to use. Possible values: | ||
*< | *<code>description</code>: {{Section header|1=description}} | ||
*< | *<code>summary</code>: {{Section header|1=summary}} | ||
*< | *<code>license</code>: {{Section header|1=license}} | ||
*< | *<code>book</code>: {{Section header|1=book}} | ||
*< | *<code>photograph</code>: {{Section header|1=photograph}} | ||
*< | *<code>map</code>: {{Section header|1=map}} | ||
*< | *<code>scan</code>: {{Section header|1=scan}} | ||
*< | *<code>vectorization</code>: {{Section header|1=vectorization}} | ||
*< | *<code>references</code>: {{Section header|1=references}} | ||
*< | *<code>examples</code>: {{Section header|1=examples}} | ||
*< | *<code>image</code>: {{Section header|1=image}} | ||
*< | *<code>artwork</code>: {{Section header|1=artwork}} | ||
*< | *<code>object</code>: {{Section header|1=object}} | ||
*< | *<code>notes</code>: {{Section header|1=notes}} | ||
*<code>text</code>: {{Section header|1=text}} | |||
*<code>see also</code>: {{Section header|1=see also}} | |||
|1d-td-en=Header to use | |||
|1type=line | |||
|1sv=description / summary / see also / license / book / photograph / map / scan / data / vectorization / references / history / file history / log / original upload log / examples / image / artwork / object / notes / text | |||
|1def= | |1def= | ||
|1stat= | |1stat=required | ||
|name=Section header | |name=Section header | ||
|desc=Look-up table for internationalisation of usual section headers | |desc=Look-up table for internationalisation of usual section headers | ||
| Line 34: | Line 40: | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
|useTemplateData=1 | |||
}}<includeonly> | }}<includeonly> | ||
[[Category:Localisation templates|{{PAGENAME}}]] | [[Category:Localisation templates|{{PAGENAME}}]] | ||
[[Category:Internationalization templates using LangSwitch]] | [[Category:Internationalization templates using LangSwitch]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 19:24, 7 September 2023
Look-up table for internationalisation of usual section headers
Usage
{{Section header |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | header | Header to use. Possible values:
| empty | required |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Look-up table for internationalisation of usual section headers
| ||||||||||
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: all users
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)