Template:W-link/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:W-link. 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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
- 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-link}}
- To add a message in an additional line before the last line, use:
{{subst:W-link|message}}
- Replace message with your desired message. It will be inserted into the greeting before "Happy editing!"
- To add a border, use:
{{subst:W-link|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 add a heading to the greeting (changes "Greetings..." to a level-2 heading), use:
{{subst:W-link|heading=true}}
- To change the wording of the heading, use:
{{subst:W-link|headtext=your text}}
- Replace your text with type in the text you want to replace "Greetings..." with.
- The above options can be combined:
{{subst:W-link|One more thing:|border=DarkOrchid|heading=true|headtext=Welcome to Wikipedia}}
See also