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

Free texts and images.
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.svg|48px|alt=]]
     | stop = [[File:Stop hand icon.png|48px|alt=]]
     | warning = [[File:Gnome-emblem-urgent.svg|50px|alt=]]
     | warning = [[File:Gnome-emblem-urgent.png|50px|alt=]]
     | serious = [[File:Gnome-emblem-important.svg|50px|alt=]]
     | serious = [[File:Gnome-emblem-important.png|50px|alt=]]
     | issue = [[File:Commons-emblem-issue.svg|50px|alt=]]
     | issue = [[File:Commons-emblem-issue.png|50px|alt=]]
     | query = [[File:Commons-emblem-query.svg|50px|alt=]]
     | query = [[File:Commons-emblem-query.png|50px|alt=]]
     | move = [[File:Merge-split-transwiki default.svg|50px|alt=]]
     | move = [[File:Merge-split-transwiki default.png|50px|alt=]]
     | diffuse = [[File:Sub-arrows 2.svg|44px|alt=|{{#if:{{{main|}}}|link={{{main}}}}}]]
     | diffuse = [[File:Sub-arrows 2.png|44px|alt=|{{#if:{{{main|}}}|link={{{main}}}}}]]
     | protection = [[File:Gnome-security-medium.svg|50px|alt=]]
     | protection = [[File:Gnome-security-medium.png|50px|alt=]]
     | message
     | message
     | notice
     | notice
     | #default = [[File:Commons-emblem-notice.svg|50px|alt=]]
     | #default = [[File:Commons-emblem-notice.png|50px|alt=]]
     }}
     }}
   }}</td>
   }}</td>

Latest revision as of 02:24, 15 February 2016

Documentation



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 suspression
  • imageright - 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