Difference between revisions of "Template:Tr"

From Team Fortress Wiki
Jump to: navigation, search
(made the template!)
 
m
 
(17 intermediate revisions by 4 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 {{PAGENAME}}, your [https://wiki.tf/d/{{{1}}} 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>
{{{2|}}}
 
<noinclude>{{{2}}}</noinclude>
 
<noinclude>
 
 
{{doc begin}}
 
{{doc begin}}
This template can be used on user pages to notify users 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).
 
   
 
   
 
== Usage ==
 
== Usage ==
 
   
 
   
:<code><nowiki>{{subst:Tr|1|2}}</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.
;:Please only use it with the subst template.
+
;:This template should ''always'' be substituted.
 
 
== Parameters ==
 
== Parameters ==
 
; Parameter 1
 
; Parameter 1
: {{tooltip|The diff number|When viewing the edit, go to the URL and select the first set of letters in the URL.}}
+
: Name of the user; if left blank it will use the page name.
 
; Parameter 2
 
; Parameter 2
: Optional: Your own extra text, used for anything.
+
: 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 "history" and compare the two revisions. Go to the URL and look for <code>&diff=num</code>, with "num" being the diff ID.
 +
[[Category:Help templates|Tr]]
 +
[[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.