This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:Cmbox: Difference between revisions
Jump to navigation
Jump to search
imported>Dcoetzee Import from http://commons.wikimedia.org/w/index.php?title=Template:Cmbox&oldid=69887709 |
imported>Electron file changed to png version, svg version doesn't work |
||
| Line 20: | Line 20: | ||
| {{{image}}} | | {{{image}}} | ||
| {{#switch:{{{type|}}} | | {{#switch:{{{type|}}} | ||
| stop = [[File:Stop hand icon. | | stop = [[File:Stop hand icon.png|48px|alt=]] | ||
| warning = [[File:Gnome-emblem-urgent. | | warning = [[File:Gnome-emblem-urgent.png|50px|alt=]] | ||
| serious = [[File:Gnome-emblem-important. | | serious = [[File:Gnome-emblem-important.png|50px|alt=]] | ||
| issue = [[File:Commons-emblem-issue. | | issue = [[File:Commons-emblem-issue.png|50px|alt=]] | ||
| query = [[File:Commons-emblem-query. | | query = [[File:Commons-emblem-query.png|50px|alt=]] | ||
| move = [[File:Merge-split-transwiki default. | | move = [[File:Merge-split-transwiki default.png|50px|alt=]] | ||
| diffuse = [[File:Sub-arrows 2. | | diffuse = [[File:Sub-arrows 2.png|44px|alt=|{{#if:{{{main|}}}|link={{{main}}}}}]] | ||
| protection = [[File:Gnome-security-medium. | | protection = [[File:Gnome-security-medium.png|50px|alt=]] | ||
| message | | message | ||
| notice | | notice | ||
| #default = [[File:Commons-emblem-notice. | | #default = [[File:Commons-emblem-notice.png|50px|alt=]] | ||
}} | }} | ||
}}</td> | }}</td> | ||
Latest revision as of 02:24, 15 February 2016
|
|
{{{text}}} |
Documentation
(English) This documentation is transcluded from Template:Cmbox/documentation (view | edit | history).
(Français) Cette documentation est incluse dans la sous-page Template:Cmbox/documentation (voir | editer | historique).
(Polski) Ta dokumentacja jest dołączana ze strony Template:Cmbox/documentation (zobacz | edytuj | historia).
This is the Category message box template. It could be used to construct category message box templates.
Parameters
text- The text to be displayed.type- Changes the color depending on the message needed. Each has its own preset image.image- Override the image; image=none for suspressionimageright- Show an image on the right side.textalign- Override default centering of text with center or right.style- Override in any other style.langlinks- For displaying language links.lang- For selecting correct direction for template body style
Examples
| File:Gnome-emblem-urgent.png | warning - for speedy deletion and other serious notices |
| File:Stop hand icon.png | stop - for recommended abstentions |
| File:Gnome-emblem-important.png | serious - for deletion notices |
| File:Commons-emblem-issue.png | issue - for larger issues |
| File:Commons-emblem-query.png | query - for minor issues |
| File:Gnome-security-medium.png | protection - for protection notices |
| File:Merge-split-transwiki default.png | move - for move requests |
|
|
diffuse - for category diffusions |
|
|
message - |
|
|
notice (or without type) - |
| just a box, without any image: image=none |