Template:W-shout/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:W-shout (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

[edit] Instructions

  • To greet a user with this template just as it appears above (your signature will automatically replace the ~~~~), place the following wikicode on the user's talk page:
{{subst:w-shout/doc}}
  • To add a message in an additional paragraph before the last sentence, use:
{{subst:w-shout/doc|message}}
Replace message with your desired message. It will be inserted into the greeting before "We're so glad you're here!"
  • To add a border, use:
{{subst:w-shout/doc|border=color}}
Replace color with the name or code of the color you'd like to use. This can be in either named (e.g., DarkOrchid) or hexadecimal (e.g., #9932CC) format. For a list of colors, see web colors.
  • To change the opening to a (level-2) heading, use:
{{subst:w-shout/doc|heading=true}}
  • To change the wording of the heading, use:
{{subst:w-shout/doc|headtext=your text}}
Replace your text with the text you want to appear in the heading.
  • The above options can be combined:
{{subst:w-shout/doc|Wikipedia is far better than Britannica.|border=DarkOrchid|heading=true|headtext=Welcome to Wikipedia}}