Zum Inhalt springen

Vorlage:Cmbox/Doku: Unterschied zwischen den Versionen

More documentation. Ouch, only found two other images both of move type for the "Other images" examples. Intermediate save.
imported>Davidgothberg
(Copying and adapting doc from ambox. Intermediate save.)
imported>Davidgothberg
(More documentation. Ouch, only found two other images both of move type for the "Other images" examples. Intermediate save.)
Zeile 58: Zeile 58:
{{cmbox
{{cmbox
| type = content
| type = content
| text = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|CategorisationDisputedPeople}}.
}}
}}
{{cmbox
{{cmbox
| type = style
| type = style
| text = style
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|popcat}}.
}}
}}
{{cmbox
{{cmbox
| type = notice
| type = notice
| text = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
}}
{{cmbox
{{cmbox
| type = move
| type = move
| text = move
| text = type=<u>move</u> – Move, merge and split messages and proposals, such as {{tl|CatDiffuse}} and {{tl|categoryredirect}}.
}}
}}
{{cmbox
{{cmbox
| type = protection
| type = protection
| text = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-semi-protected}} when shown on a category page.
}}
}}


==== Other 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.
{{cmbox
| type  = move
| image = [[Image:Sub-arrows.svg|40px]]
| text  = type = move <br> image = <nowiki>[[Image:Sub-arrows.svg|40px]]</nowiki> <br> This image can be used for {{tl|verylarge}}.
}}
{{cmbox
| type  = move
| image = [[Image:Redirect arrow.svg|52px]]
| text  = type = move <br> image = <nowiki>[[Image:Redirect arrow.svg|52px]]</nowiki> <br> This image is used for {{tl|categoryredirect}}.
}}


To discuss these boxes and to see or make other examples go to the [[{{TALKPAGENAME}}|talk page]].


=== Technical details ===
=== Technical details ===
Anonymer Benutzer