Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

imported>MSGJ
imported>MSGJ
Zeile 103: Zeile 103:
* If {{para|image|none}} is specified, then no image is used and the text uses the whole message box area.
* If {{para|image|none}} is specified, then no image is used and the text uses the whole message box area.


=== ''sect'' ===
Many article message templates begin with the text '''This article ...''' and it is often desirable that this wording change to '''This section ...''' if the template is used on a section instead. Other possibilities include '''This list ...''' and '''This biographical article ...'''
To facilitate this functionality, pass {{para|sect|<nowiki>{{{1|}}}</nowiki>}}. This will allow editors to type '''section''' as the first unnamed parameter of the template to change the wording. For example, {{tlx|Advert|section}} produces:
{{Advert|section}}
If using this feature, be sure to remove the first two words ("This article") from the template's text, otherwise it will be duplicated.
{{clear}}
{{clear}}


Anonymer Benutzer