Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
+
imported>MSGJ (+) |
imported>MSGJ (+) |
||
Zeile 88: | Zeile 88: | ||
| type = protection | | type = protection | ||
| text = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-semi-protected}}. | | text = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-semi-protected}}. | ||
}} | |||
=== ''image'' === | |||
You can choose a specific image to use for the template by using the ''image'' parameter. Images are specified using the standard syntax for inserting files in Wikipedia (see [[Wikipedia:Manual of Style/Images#How to place an image]].) For example: | |||
{{tl|POV}} specifies {{para|image|<nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]<nowiki>}} and looks like this: | |||
{{POV}} | |||
{{tl|Wikify}} specifies {{para|image|<nowiki>[[File:Wikitext.svg|50px|link=|alt=]]</nowiki>}} and looks like this: | |||
{{Wikify}} | |||
==== More examples ==== | |||
Some other parameter combinations. | |||
{{Ambox | |||
|nocat=true | |||
| text = No type and no image given ('''default''') | |||
}} | |||
{{Ambox | |||
|nocat=true | |||
| image = none | |||
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area. | |||
}} | |||
{{Ambox | |||
|nocat=true | |||
| image = [[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]] | |||
| imageright = [[File:Nuvola apps bookcase.svg|40px|alt=Three stacked books]] | |||
| text = image = <nowiki>[[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]</nowiki> <br> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px|alt=Three stacked books]]</nowiki> | |||
}} | |||
{{Ambox | |||
|nocat=true | |||
| image = [[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]] | |||
| imageright = [[File:Shuttle.svg|20px|link=|alt=]] | |||
| text = '''This article or section documents a current [[spaceflight]].''' | |||
<br>Content may change as the mission progresses. | |||
}} | }} | ||
Zeile 124: | Zeile 162: | ||
But you are not really supposed to use red bold italic text. | But you are not really supposed to use red bold italic text. | ||
=== Parameters === | === Parameters === |