Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
K
Add code for incorrectly substed templates, or minor tidy up using AWB
imported>DroEsperanto (rm "etc."; redundant) |
K (Add code for incorrectly substed templates, or minor tidy up using AWB) |
||
| Zeile 14: | Zeile 14: | ||
<pre> | <pre> | ||
{{ | {{Ambox | text = Some text.}} | ||
</pre> | </pre> | ||
{{ | {{Ambox | text = Some text.}} | ||
| Zeile 23: | Zeile 23: | ||
<pre> | <pre> | ||
{{ | {{Ambox | ||
| type = style | | type = style | ||
| small = left | | small = left | ||
| Zeile 34: | Zeile 34: | ||
</pre> | </pre> | ||
{{ | {{Ambox | ||
| type = style | | type = style | ||
| small = left | | small = left | ||
| Zeile 50: | Zeile 50: | ||
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type. | The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type. | ||
{{ | {{Ambox | ||
| type = speedy | | type = speedy | ||
| text = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}. | | text = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = delete | | type = delete | ||
| text = type=<u>delete</u> – Deletion issues, such as {{tl|afd}} and {{tl|prod}}. | | text = type=<u>delete</u> – Deletion issues, such as {{tl|afd}} and {{tl|prod}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = content | | type = content | ||
| text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}. | | text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = style | | type = style | ||
| text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|wikify}}. | | text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|wikify}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = notice | | type = notice | ||
| text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|inuse}}. | | text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|inuse}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = move | | type = move | ||
| text = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}. | | text = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}. | ||
}} | }} | ||
{{ | {{Ambox | ||
| 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}}. | ||
| Zeile 83: | Zeile 83: | ||
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images. | The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images. | ||
{{ | {{Ambox | ||
| type = content | | type = content | ||
| image = [[Image:Unbalanced scales.svg|40px|link=]] | | image = [[Image:Unbalanced scales.svg|40px|link=]] | ||
| text = type = content <br> image = <nowiki>[[Image:Unbalanced scales.svg|40px|link=]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues. | | text = type = content <br> image = <nowiki>[[Image:Unbalanced scales.svg|40px|link=]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = style | | type = style | ||
| image = [[Image:Wikitext.svg|50px|link=]] | | image = [[Image:Wikitext.svg|50px|link=]] | ||
| text = type = style <br> image = <nowiki>[[Image:Wikitext.svg|50px|link=]]</nowiki> <br> This image is often used for {{tl|wikify}} etc. | | text = type = style <br> image = <nowiki>[[Image:Wikitext.svg|50px|link=]]</nowiki> <br> This image is often used for {{tl|wikify}} etc. | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = move | | type = move | ||
| image = [[Image:Merge-arrows.svg|50px|link=]] | | image = [[Image:Merge-arrows.svg|50px|link=]] | ||
| Zeile 103: | Zeile 103: | ||
Some other parameter combinations. | Some other parameter combinations. | ||
{{ | {{Ambox | ||
| text = No type and no image given ('''default''') | | text = No type and no image given ('''default''') | ||
}} | }} | ||
{{ | {{Ambox | ||
| image = none | | image = none | ||
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area. | | text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area. | ||
}} | }} | ||
{{ | {{Ambox | ||
| image = [[Image:Gnome globe current event.svg|42px|link=]] | | image = [[Image:Gnome globe current event.svg|42px|link=]] | ||
| imageright = [[Image:Nuvola apps bookcase.svg|40px|link=]] | | imageright = [[Image:Nuvola apps bookcase.svg|40px|link=]] | ||
| Zeile 117: | Zeile 117: | ||
}} | }} | ||
{{ | {{Ambox | ||
| image = [[Image:Gnome globe current event.svg|42px|link=]] | | image = [[Image:Gnome globe current event.svg|42px|link=]] | ||
| imageright = [[Image:Shuttle.svg|20px|link=]] | | imageright = [[Image:Shuttle.svg|20px|link=]] | ||
| Zeile 129: | Zeile 129: | ||
<pre> | <pre> | ||
{{ | {{Ambox | ||
| type = speedy / delete / content / style / notice / move / protection | | type = speedy / delete / content / style / notice / move / protection | ||
| image = none / [[Image:Some image.svg|40px|link=]] | | image = none / [[Image:Some image.svg|40px|link=]] | ||
| Zeile 174: | Zeile 174: | ||
The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text. | The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text. | ||
{{ | {{Ambox | ||
| small = left | | small = left | ||
| text = small = yes | | text = small = yes | ||
}} | }} | ||
{{ | {{Ambox | ||
| type = style | | type = style | ||
| small = left | | small = left | ||
| Zeile 187: | Zeile 187: | ||
::<code><nowiki>small = {{{small|}}}</nowiki></code> | ::<code><nowiki>small = {{{small|}}}</nowiki></code> | ||
{{ | {{Ambox | ||
| small = left | | small = left | ||
| image = [[File:Gnome globe current event.svg|50px|link=]] | | image = [[File:Gnome globe current event.svg|50px|link=]] | ||
| Zeile 200: | Zeile 200: | ||
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=left". | :'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=left". | ||
{{ | {{Ambox | ||
| small = left | | small = left | ||
| imageright = [[File:Gnome globe current event.svg|50px|link=]] | | imageright = [[File:Gnome globe current event.svg|50px|link=]] | ||
| Zeile 222: | Zeile 222: | ||
<pre> | <pre> | ||
{{ | {{Ambox | ||
| text = <div> | | text = <div> | ||
Equal sign = and a start and end brace { } work fine as they are. | Equal sign = and a start and end brace { } work fine as they are. | ||
| Zeile 231: | Zeile 231: | ||
</pre> | </pre> | ||
{{ | {{Ambox | ||
| text = <div> | | text = <div> | ||
Equal sign = and a start and end brace { } work fine as they are. | Equal sign = and a start and end brace { } work fine as they are. | ||