Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Auxiliary template common notice/doc: Difference between revisions

Template page
Create documentation subpage for {{Auxiliary template common notice}}
 
+de
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
| name = Auxiliary template common notice
| name = Auxiliary template common notice
| desc = Preformatted {{tl|TemplateBox}} for character-substitution templates.
| desc = Preformatted {{tl|TemplateBox}} for character-substitution templates.
| desc-de = Vorgefertigte Vorlage {{tl|TemplateBox}} für Zeichenersetzungsvorlagen.
| desc-td = Preformatted {{((}}TemplateBox{{))}} for character-substitution templates.
| desc-td = Preformatted {{((}}TemplateBox{{))}} for character-substitution templates.
 
| desc-td-de = Vorgefertigte Vorlage {{((}}TemplateBox{{))}} für Zeichenersetzungsvorlagen.
| type = infobox
| print = multi


| namespace = Template
| namespace = Template
| usergroup = all
| usergroup = all
| relieson  = {{Tl|Escape template list}}
| placement = {{LangSwitch
| placement = {{LangSwitch
| en = in the '/doc' subpage of a template
| en = in the '/doc' subpage of a template
Line 23: Line 21:
}}
}}


| type = infobox
| relieson  =
* {{tld|Escape template list}}
* {{tld|TemplateBox}}
| i18n-method = switch
| print = multi
| useTemplateData = only
| useTemplateData = only


| 1 = name
| 1 = name
| 1default = <nowiki>{{</nowiki>BASEPAGENAME<nowiki>}}</nowiki>
| 1default = <nowiki>{{BASEPAGENAME}}</nowiki>
| 1stat = required
| 1av  = <nowiki>{{subst:BASEPAGENAME}}</nowiki>
| 1stat = suggested
| 1type = wiki-template-name
| 1type = wiki-template-name


| 1label = title
| 1label-en = Title
| 1label-de = Titel
| 1label-de = Titel
| 1label-et = pealkiri
| 1label-et = pealkiri
Line 39: Line 46:
| 1label-pt = título
| 1label-pt = título


| 1d     = name of the template <small>''(needed for viewing the documentation on another page than the template page, in particular for viewing the documentation page separately)''</small>
| 1d-en  = name of the template (needed for viewing the documentation on another page than the template page, in particular for viewing the documentation page separately)
| 1d-bar = Name vo da Vurlog <small>''(den braucht ma, um de Dokumentazion auf a åndern Seit ois auf da Vurlgnseitn — speziell auf da Dokumentationsseitn soibst — dårstoin zum kenna)''</small>
| 1d-bar = Name vo da Vurlog (den braucht ma, um de Dokumentazion auf a åndern Seit ois auf da Vurlgnseitn — speziell auf da Dokumentationsseitn soibst — dårstoin zum kenna)
| 1d-de  = Name der Vorlage <small>''(wird benötigt um die Dokumentation auf einer anderen Seite als der Vorlagenseite — insbesondere auf der Dokumentationsseite selbst — darstellen zu können)''</small>
| 1d-de  = Name der Vorlage (wird benötigt um die Dokumentation auf einer anderen Seite als der Vorlagenseite — insbesondere auf der Dokumentationsseite selbst — darstellen zu können)
| 1d-et  = malli nimi <small>''(on vajalik dokumentatsiooni vaatamiseks teisel leheküljel kui malli leheküljel, eriti kui on tarvis vaadata dokumentatsioonilehekülge eraldi)''</small>
| 1d-et  = malli nimi (on vajalik dokumentatsiooni vaatamiseks teisel leheküljel kui malli leheküljel, eriti kui on tarvis vaadata dokumentatsioonilehekülge eraldi)
| 1d-fr  = Nom du modèle
| 1d-fr  = Nom du modèle
| 1d-hu  = A sabon neve <small>''(ahhoz kell, hogy akkor is helyesen jelenjen meg a leírás, ha nem a sablon főlapján nézzük – pl. a dokumentációs allapon)''</small>
| 1d-hu  = A sabon neve (ahhoz kell, hogy akkor is helyesen jelenjen meg a leírás, ha nem a sablon főlapján nézzük – pl. a dokumentációs allapon)
| 1d-it  = Nome del template <small>''(necessario per la visualizzazione della documentazione su una pagina che non sia quella del template stesso, in particolare per visualizzare separatamente la pagina della documentazione)''</small>
| 1d-it  = Nome del template (necessario per la visualizzazione della documentazione su una pagina che non sia quella del template stesso, in particolare per visualizzare separatamente la pagina della documentazione)
| 1d-mk  = име на шаблонот
| 1d-mk  = име на шаблонот
| 1d-pt  = Nome da predefinição <small>''(necessário para ver a documentação numa página que não seja a da predefinição e, em particular, para ver a página da documentação em isolamento)''</small>.
| 1d-pt  = Nome da predefinição (necessário para ver a documentação numa página que não seja a da predefinição e, em particular, para ver a página da documentação em isolamento).
 
| 2 = desc
| 2stat = required
| 2type = string
 
| 2label    = description
| 2label-de = Beschreibung
| 2label-et = kirjeldus
| 2label-hu = leírás
| 2label-it = descrizione
| 2label-pt = descrição
 
| 2d    = description of what the template does
| 2d-et = kirjeldus sellest, mida mall teeb
| 2d-hu = Sablon leírása
| 2d-it = Descrizione e scopo del template
| 2d-pt = Descrição do que a predefinição faz.


| 3      = entity
| 3      = entity
| 3label = HTML Entity
| 3label = HTML Entity
| 3d     = HTML character entity name
| 3label-de = HTML-Entität
| 3d-en  = HTML character entity name
| 3d-de  = HTML-Zeichenentitätsname
| 3stat  = optional-
| 3stat  = optional-
| 3type  = string
| 3type  = string
Line 74: Line 66:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Multi-template documentation]]
[[Category:Template documentation]]
[[Category:Template documentation]]
[[Category:TemplateData documentation]]
}}</includeonly>
}}</includeonly>

Latest revision as of 07:13, 9 November 2025

Preformatted {{TemplateBox}} for character-substitution templates.

Usage

{{Auxiliary template common notice
 |name =
}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Preformatted {{TemplateBox}} for character-substitution templates.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
HTML Entityentity

HTML character entity name

Stringoptional
Titlename

name of the template (needed for viewing the documentation on another page than the template page, in particular for viewing the documentation page separately)

Default
{{BASEPAGENAME}}
Auto value
{{subst:BASEPAGENAME}}
Templatesuggested

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

Placement:

in the '/doc' subpage of a template

Relies on:

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)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.