Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
doucment name param
imported>Debresser K (Very minor.) |
imported>MSGJ (doucment name param) |
||
Zeile 23: | Zeile 23: | ||
<pre> | <pre> | ||
{{Ambox | {{Ambox | ||
| name = Name of template | |||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | ||
| type = style | | type = style | ||
Zeile 156: | Zeile 157: | ||
}} | }} | ||
</pre> | </pre> | ||
'''name''' | |||
:This is the name of the template (without the namespace) and allows the template to have a more useful display on its template page, and to give a specific warning when incorrectly substituted. For example, on [[Template:Orphan]] we define {{para|name|orphan}}. | |||
'''subst''' | '''subst''' | ||
This should be used in order to detect when the template has been incorrectly substituted. Such pages will be placed in [[:Category:Pages with incorrectly substituted templates]] | :This should be used in order to detect when the template has been incorrectly substituted. Such pages will be placed in [[:Category:Pages with incorrectly substituted templates]] | ||
'''type''' | '''type''' |