Difference between revisions of "Template:Award"

From CWCki
Jump to navigation Jump to search
m
(fixed usage sections)
Line 27: Line 27:
text=This is an award. Well done!|}}
text=This is an award. Well done!|}}
=== Usage ===
=== Usage ===
<nowiki>{{Award|
<pre>{{Award|
bordercolor=#000000|
bordercolor=#000000|
bgcolor=#FFFFFF|
bgcolor=#FFFFFF|
Line 36: Line 36:
width=358px|
width=358px|
title=Award|
title=Award|
text=This is an award. Well done!|}}</nowiki>
text=This is an award. Well done!|}}</pre>
== Use in Sidebar ==
== Use in Sidebar ==
<div style="clear:right; float:right; width:220px;">{{Award|
<div style="clear:right; float:right; width:220px;">{{Award|
Line 49: Line 49:
text=This is an award. Well done!|}}</div>
text=This is an award. Well done!|}}</div>
=== Usage ===
=== Usage ===
<nowiki>{{Award|
<pre><div style="clear:right; float:right; width:220px;">{{Award|
bordercolor=#000000|
bordercolor=#000000|
bgcolor=#FFFFFF|
bgcolor=#FFFFFF|
Line 56: Line 56:
image=delayclose.jpg|
image=delayclose.jpg|
img_width=100|
img_width=100|
width=358px|
width=74|
title=Award|
title=Award|
text=This is an award. Well done!|}}</nowiki>
text=This is an award. Well done!|}}</div></pre>
[[Category: Awards]]</noinclude>
[[Category: Awards]]</noinclude>

Revision as of 20:15, 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"
  • bordersize - Size for the box border. Default: "1px solid"
  • bordercolour - 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"

Example

Usage

{{Award|
bordercolor=#000000|
bgcolor=#FFFFFF|
textcolor=#000000|
titlecolor=#000000|
image=delayclose.jpg|
img_width=100|
width=358px|
title=Award|
text=This is an award. Well done!|}}

Use in Sidebar

Usage

<div style="clear:right; float:right; width:220px;">{{Award|
bordercolor=#000000|
bgcolor=#FFFFFF|
textcolor=#000000|
titlecolor=#000000|
image=delayclose.jpg|
img_width=100|
width=74|
title=Award|
text=This is an award. Well done!|}}</div>