Template:Barnstar documentation

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Purpose

This template is used to provide generic documentation for most of the barnstar templates.

Parameters available

  • |for= Used to briefly describe what the award is for.
  • |alt= set to yes if there is an alt parameter which is used to show an alternative image.
  • |nomessage= set to yes if there is not any option to customise the awards message.
  • |autosign= set to yes if the template automatically signs the message.
  • |header= Used to add any header notes to docs. Add things such as shortcut links here.
  • |footer= Used to add any footer notes to docs.
  • |usage= Used to replace the standard Usage-section with a user defined.
  • |autosubst= set to yes if you wish for a bot to automatically substitute the template.
  • Categorization:

Templates beginning with The like {{The Jupiter Barnstar}} should include a {{DEFAULTSORT}} (in this case: {{DEFAULTSORT:Jupiter Barnstar, The}}).

Usage (of this template)

  • Like the general {{Documentation}} template, place {{Barnstar documentation}} between <noinclude> tags below the barnstar template code. Be sure to place the first tag, <noinclude> (the opening tag), after the very last code of the barnstar template. If the opening tag is placed on its own line below the template code, then it will introduce undesirable whitespace below the end-product barnstar template.