Difference between revisions of "Template:Award"

From CWCki
Jump to navigation Jump to search
(tweaking default, adding documentation)
Line 1: Line 1:
<center><div class="boilerplate metadata" width=100%><table CELLPADDING=5 CELLSPACING=5 style="background-color: {{{bgcolor}}}; color: {{{textcolor}}}; border: 1px solid {{{bordercolor}}}; width: {{{width}}};"><tr><td>{{{image}}}</td><td>'''<span style="color: {{{titlecolor|#000000}}};">{{{title}}}</span>'''
<center><div class="boilerplate metadata" width=100%><table CELLPADDING=5 CELLSPACING=5 style="background-color: {{{bgcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; border: {{{bordersize|1px solid}}} {{{bordercolor|#000000}}}; width: {{{width}}};"><tr><td>[[Image:{{{image|delayclose.jpg}}}|{{{img_width|100}}}px]]</td><td>'''<span style="color: {{{titlecolor|#000000}}};">{{{title|Award}}}</span>'''


{{{text}}}
{{{text|This is an award. Well done!}}}
</td></tr></table></div></center>
</td></tr></table></div></center>
<noinclude>[[Category: Awards]]</noinclude>
<noinclude>
== Award template ==
Parameters:
* '''title''' - The award title. Default: "Award"
* '''text''' - The award text. Default: "This is an award. Well done!"
* '''image''' - The image on the left of the box. Default: "delayclose.jpg"
** '''img_width''' - The images desired width. Default: "100"
* '''border''' - Colour for the box border. Default: "#000000"
* '''bgcolor''' - Background colour of the box. Default: "#FFFFFF"
* '''width''' - Width of the box. Default: "358?"
* '''textcolor''' - Text color for the box text. Default: "#000000"
[[Category: Awards]]</noinclude>

Revision as of 19:26, 18 March 2009

Award template

Parameters:

  • title - The award title. Default: "Award"
  • text - The award text. Default: "This is an award. Well done!"
  • image - The image on the left of the box. Default: "delayclose.jpg"
    • img_width - The images desired width. Default: "100"
  • border - Colour for the box border. Default: "#000000"
  • bgcolor - Background colour of the box. Default: "#FFFFFF"
  • width - Width of the box. Default: "358?"
  • textcolor - Text color for the box text. Default: "#000000"