Difference between revisions of "Template:Tr"
GrampaSwood (talk | contribs) (Fixed cus I'm retarr) |
(Add IF statement to parameter 1, fix duplicated use of parameter 2 → 3, improve documentation) |
||
Line 1: | Line 1: | ||
<includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{Template:Tr}}</nowiki> to <nowiki>{{subst:Tr}}</nowiki>'''</span>}}</includeonly> | <includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{Template:Tr}}</nowiki> to <nowiki>{{subst:Tr}}</nowiki>'''</span>}}</includeonly> | ||
− | Hi {{1|{{PAGENAME}}}}, your [https://wiki.tf/d/{{{2}}} recent addition of trivia] has been reverted because it did not meet our trivia guidelines. In short, trivia entries should... | + | Hi {{#if:{{{1}}}|{{PAGENAME}}}}, your [https://wiki.tf/d/{{{2}}} recent addition of trivia] has been reverted because it did not meet our trivia guidelines. In short, trivia entries should... |
* ... be facts, not speculation. | * ... be facts, not speculation. | ||
* ... be about the released content only. | * ... be about the released content only. | ||
Line 9: | Line 9: | ||
For a full explanation including examples, check out our [[Help:Style guide/Trivia|trivia style guide]]!<br> | For a full explanation including examples, check out our [[Help:Style guide/Trivia|trivia style guide]]!<br> | ||
− | {{{ | + | {{{3|}}} |
− | <noinclude>{{{ | + | <noinclude>{{{3}}}</noinclude> |
<noinclude> | <noinclude> | ||
{{doc begin}} | {{doc begin}} | ||
− | This template | + | This template should be used on users' talk pages to notify them that their trivia additions have been reverted (Tr = Trivia revert). |
== Usage == | == Usage == | ||
− | :<code><nowiki>{{subst:Tr|1|2|3}}</nowiki></code> | + | :<code><nowiki>{{subst:Tr|1=<Username>|2=<Diff ID>|3=<Custom message>}}</nowiki></code> |
− | + | ;The first parameter is set to fetch the user's name by default and should primarily be used on "Flow" talk pages or in case <nowiki>{{PAGENAME}}</nowiki> fails. | |
− | ;: | + | ;:This template should ''always'' be substituted. |
− | |||
== Parameters == | == Parameters == | ||
; Parameter 1 | ; Parameter 1 | ||
− | : Name of the user | + | : Name of the user; if left blank it will use the page name. |
; Parameter 2 | ; Parameter 2 | ||
− | : | + | : The diff ID: In order to acquire the diff ID of an edit one must navigate to the revision either through RecentChanges or its page history. |
+ | *Navigate to [[Special:RecentChanges|RecentChanges]], find the edit you reverted and click "prev" to view the changes. Go to the URL and look for <code>&diff=num</code>, with "num" being the diff ID. | ||
; Parameter 3 | ; Parameter 3 | ||
: Optional: Your own extra text, used for anything. | : Optional: Your own extra text, used for anything. | ||
</noinclude> | </noinclude> |
Revision as of 17:53, 4 September 2019
Hi Tr, your recent addition of trivia has been reverted because it did not meet our trivia guidelines. In short, trivia entries should...
- ... be facts, not speculation.
- ... be about the released content only.
- ... not be obvious for somebody who has played Team Fortress 2 for a small amount of time.
- ... make the reader say "Wow! I did not know that!"
- ... not be information that belongs in other parts of the page.
For a full explanation including examples, check out our trivia style guide!
{{{3}}}
Documentation for Tr
This template should be used on users' talk pages to notify them that their trivia additions have been reverted (Tr = Trivia revert).
Usage
{{subst:Tr|1=<Username>|2=<Diff ID>|3=<Custom message>}}
- The first parameter is set to fetch the user's name by default and should primarily be used on "Flow" talk pages or in case {{PAGENAME}} fails.
- This template should always be substituted.
Parameters
- Parameter 1
- Name of the user; if left blank it will use the page name.
- Parameter 2
- The diff ID: In order to acquire the diff ID of an edit one must navigate to the revision either through RecentChanges or its page history.
- Navigate to RecentChanges, find the edit you reverted and click "prev" to view the changes. Go to the URL and look for
&diff=num
, with "num" being the diff ID.
- Parameter 3
- Optional: Your own extra text, used for anything.