Difference between revisions of "Template:Ribbon"

From Geohashing
imported>Relet
imported>Relet
m
Line 7: Line 7:
 
</tr>
 
</tr>
 
</table>[[Category:{{{category}}}]]</includeonly><noinclude>
 
</table>[[Category:{{{category}}}]]</includeonly><noinclude>
This template displays a generic ribbon, which can be customized using the following parameters. It can be used to simplify existing ribbon pages, or to create new ribbons more easily.
+
This template displays a generic ribbon, which can be customized using the following parameters. It can be used to simplify existing ribbon pages, and to create new ribbons more easily. It also helps us to maintain a common layout for all ribbons.
  
 
*icon  = ''The icon image to display in the ribbon.''
 
*icon  = ''The icon image to display in the ribbon.''

Revision as of 19:03, 13 February 2009

This template displays a generic ribbon, which can be customized using the following parameters. It can be used to simplify existing ribbon pages, and to create new ribbons more easily. It also helps us to maintain a common layout for all ribbons.

  • icon = The icon image to display in the ribbon.
  • color = The border colour of the ribbon.
  • user = The user name (or "This user") to be displayed in the ribbon.
  • achievement = Achievement or consolation prize name.
  • action = A free form description of the achieved feature. "reaching the x,y hash..."
  • category = The category name where users having gained this achievement will be put.

Optional Parameters:

  • image = The usual photographic proof (Note: you may want to use the value {{{image|}}} to pass through the possibly blank image parameter from your own ribbon template.)


Example

{{Ribbon
|icon = Landgeohash.png
|color = darkgreen
|user = Mr. Stickman
|achievement = [[Lost in Thought Achievement]]
|action = hurting himself while concentrating on the display of his GPS
|category = Lost in Thought Achievement
}}

will display as:

Landgeohash.png
Mr. Stickman earned the Lost in Thought Achievement
by hurting himself while concentrating on the display of his GPS.