साँचा:W-short/doc

मुक्त ज्ञानकोश विकिपीडिया से

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-short}}
  • To add a message before the last sentence, use:
{{subst:w-short|message}}
Replace message with your desired message. It will be inserted into the greeting before "Happy editing!"
  • To add an additional message specific to anonymous users which recommends creating an account, use:
{{subst:w-short|anon=true}}
  • To add a border, use:
{{subst:w-short|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 "Welcome..." to a level-2 heading), use:
{{subst:w-short|heading=true}}
  • To change the wording of the heading, use:
{{subst:w-short|headtext=your text}}
Replace your text with type in the text you want to replace "Welcome..." with.
  • The above options can be combined:
{{subst:w-short|One more thing:|border=DarkOrchid|heading=true|headtext=Welcome to Wikipedia}}

See also[संपादित करें]