Difference between revisions of "Template:Tr"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(10 intermediate revisions by 3 users not shown)
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:void|<span style="font-size: large; color: red">'''<nowiki>This template should always be substituted. Please change {{Tr}} to {{subst:Tr}}</nowiki>'''</span>
+
[[Category:Pages with incorrectly transcluded templates]]}}</includeonly>
Hi {{#if:{{{1|}}}|{{{1}}}|<includeonly>{{subst:</includeonly>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 {{{1|{{<includeonly>subst:</includeonly>PAGENAME}}}}}, your {{Diff|{{{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 8: Line 8:
 
* ... not be information that belongs in other parts of the page.
 
* ... not be information that belongs in other parts of the page.
 
   
 
   
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]]!<noinclude>
{{{3|}}}
 
<noinclude>{{{3}}}</noinclude>
 
<noinclude>
 
 
{{doc begin}}
 
{{doc begin}}
 
This template should be used on users' talk page to notify them that their trivia additions have been reverted (Tr = Trivia revert).
 
This template should be used on users' talk page to notify them that their trivia additions have been reverted (Tr = Trivia revert).
Line 17: Line 14:
 
== Usage ==
 
== Usage ==
 
   
 
   
:<code><nowiki>{{subst:Tr|1=<Username>|2=<Diff ID>|3=<Custom message>}}</nowiki></code>
+
:<code><nowiki>{{subst:Tr|1=<Username>|2=<Diff ID>}}</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.
 
;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.
 
;:This template should ''always'' be substituted.
Line 25: Line 22:
 
; 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.
 
: 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.
+
* Navigate to [[Special:RecentChanges|RecentChanges]], find the edit you reverted and click "history" and compare the two revisions. Go to the URL and look for <code>&diff=num</code>, with "num" being the diff ID.
; Parameter 3
+
[[Category:Help templates|Tr]]
: Optional: Your own extra text, used for anything.
+
[[Category:Talk page warning templates|Tr]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:32, 21 October 2023

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!

Documentation for Tr

This template should be used on users' talk page to notify them that their trivia additions have been reverted (Tr = Trivia revert).

Usage

{{subst:Tr|1=<Username>|2=<Diff ID>}}
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 "history" and compare the two revisions. Go to the URL and look for &diff=num, with "num" being the diff ID.