Template:Thanks/doc
This is a documentation subpage for Template:Thanks. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:Thanks}} ). Any accidental transclusions will be automatically substituted by a bot. |
Usage
[edit]This template is primarily intended as a substitute for the built-in "Thank" feature for use with unregistered editors. To use it, add {{subst:thanks}}
~~~~
to the user's talk page.
To link to a specific page that the user edited, use the parameter page
. To link to a specific diff at that page, use the parameter diff
. Note that diff
will be ignored if page
is not specified.
{{subst:thanks|page=Main Page}}
produces
- Hello, and thank you for your contributions to Main Page! If you are interested in editing more often, I suggest you create an account to gain additional privileges. Happy editing!
{{subst:thanks|page=Main Page|diff=139992}}
produces
- Hello, and thank you for your contributions to Main Page! If you are interested in editing more often, I suggest you create an account to gain additional privileges. Happy editing!
To exclude the green box image add no
as an unnamed parameter, e.g. {{subst:Thanks|no}}
or {{subst:thanks|no|page=Main Page|diff=139992}}
. Note there is no happy face to the right of this paragraph.
Wrapper
[edit]Use {{subst:Thanks-autosign}}
to invoke this template with an automatic signature.
TemplateData
[edit]Short message that thanks an IP for a contribution and encourages them to create an account
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | page article | Page to which the IP has contributed | Page name | suggested |
diff | diff | Diff of helpful edit made by the IP | Number | suggested |
Image? | 1 | Set to "no" to remove image
| Unknown | optional |
See also
[edit]- {{Welcome-anon}} – encourages anonymous user to get a username
- {{Welcome}} – standard template for registered users
- Wikipedia:Welcome templates