Vorlage:Cmbox/Doku: Unterschied zwischen den Versionen

K
86 Versionen von wikivoyage:Vorlage:Cmbox/Doku importiert
imported>کاشف عقیل
Keine Bearbeitungszusammenfassung
K (86 Versionen von wikivoyage:Vorlage:Cmbox/Doku importiert)
 
(22 dazwischenliegende Versionen von 13 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Documentation subpage}}
{{Bitte um Übersetzung|en}}
{{high-use| 30,000+ }}
{{Dokumentation Unterseite}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-use}}
 
<!-- Kategorien bitte an das Ende der Seite, Interwiki-Links bitte nach Wikidata -->
{{mbox templates}}
{{mbox templates}}
This is the {{tl|cmbox}} or '''category message box''' meta-template.
This is the {{tl|cmbox}} or '''category message box''' meta-template.
Zeile 10: Zeile 12:


=== We are deploying! ===
=== We are deploying! ===
After long discussion on the [[Template talk:Cmbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on category pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
After long discussion on the [[Template talk:Cmbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on category pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.


Zeile 16: Zeile 17:


=== Usage ===
=== Usage ===
Simple usage example:
Simple usage example:


Zeile 24: Zeile 24:


{{cmbox | text = Some text.}}
{{cmbox | text = Some text.}}


Complex example:
Complex example:
Zeile 47: Zeile 46:


=== Category message box types ===
=== Category message box types ===
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.


Zeile 66: Zeile 64:
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|popcat}}.
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|popcat}}.
}}
}}
<!--{{cmbox
| type = collaboration
| text = type=<u>collaboration</u> – Aufruf zur Mitarbeit.
}}-->
{{cmbox
{{cmbox
| type = notice
| type = notice
Zeile 78: Zeile 80:
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-semi-protected}} when shown on a category page.
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-semi-protected}} when shown on a category page.
}}
}}
<!--{{cmbox
| type = inuse
| text = type=<u>inuse</u> – '''Hinweis:''' Dieser Artikel wird gerade von jemand anderem in größerem Umfang bearbeitet. Um Überschneidungen zu vermeiden, warte bitte, bis dieser Text wieder entfernt und der Artikel freigegeben ist. Sollte dieser Hinweis älter als 24 Stunden sein, kannst du ihn entfernen und den Artikel bearbeiten..
}}-->


=== Other images ===
=== 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.
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.


Zeile 95: Zeile 100:


=== Special ===
=== Special ===
Some other parameter combinations.
Some other parameter combinations.


Zeile 120: Zeile 124:


=== Parameters ===
=== Parameters ===
List of all parameters:
List of all parameters:


Zeile 128: Zeile 131:
| image = none / [[Image:Some image.svg|40px]]
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| class = A custom CSS class to apply to the box
| style = CSS values
| style = CSS values
| textstyle = CSS values
| textstyle = CSS values
Zeile 161: Zeile 165:


=== Technical details ===
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:  
If you need to use special characters in the text parameter then you need to escape them like this:  


Zeile 181: Zeile 184:
</div>
</div>
}}
}}


This template uses the cmbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
This template uses the cmbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
Zeile 192: Zeile 194:


=== See also ===
=== See also ===
{{Mbox templates see also}}


{{Mbox templates see also}}
{{mbox template family}}


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Kategorien bitte hier, Interwiki-Links bitte nach Wikidata -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
[[Kategorie:Vorlagen:Infoboxen]]
[[Category:Category namespace templates| ]]
 
[[ca:Plantilla:Metacaixa d'avís categoria]]
[[hsb:Předłoha:Ombox]]
[[ja:Template:Cmbox]]
[[no:mal:Cmbox]]
[[mk:Шаблон:Cmbox]]
[[mn:Загвар:Cmbox]]
[[ka:თარგი:Cmbox]]
[[pt:Predefinição:Cmbox]]
[[ro:Format:Meta-casetămc]]
[[uk:Шаблон:Cmbox]]
[[vi:Bản mẫu:Cmbox]]
[[ur:Template:Cmbox]]
[[zh:Template:Cmbox]]
</includeonly>
</includeonly>