Difference between revisions of "Template:Tf diff"

From Team Fortress Wiki
Jump to: navigation, search
m (hurrr)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
+
'''[[{{{p}}}]]''' (<span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}|action=history}} previous patches]</span>)
| + = <div style="background:#D9FFD9; color:#008000;">+ {{{2}}}</div>
+
<div class="diff-file" style="border-top:1px solid #E0E0E0; width:90%; height:auto; max-height:500px; padding-bottom:1em; padding-right:1em; overflow-y:auto; overflow-x:hidden;">{{ {{#ifexist:Template:PatchDiff/{{{pname|{{{p|}}}}}}/tf/resource/{{lc:{{PAGENAME}}}}
| - = <div style="background:#FFD9D9; color:#CC0000;">- {{{2}}}</div>
+
| PatchDiff/{{{pname|{{{p|}}}}}}/tf/resource/{{lc:{{PAGENAME}}}}
| @ = <div style="background:#F9F9F9; color:#696969; font-weight:bold;">@@ {{{2}}}</div>
+
| 1
| c = <div style="background:#F9F9F9; color:#696969;">&nbsp;&nbsp;{{{2}}}</div>
+
}}
| #default = <div style="font-family:monospace,sans-serif; height:400px; overflow-y:auto; overflow-x:scroll; white-space:nowrap; {{{style|}}}">
+
| No changes (or diff is missing).
}}</includeonly>
+
}}</div><noinclude>
 +
{{doc begin}}
 +
A template used on the localization pages to display the diff since the last patch.
 +
== Parameters ==
 +
<code>p</code> or <code>pname</code>: the english name of the last patch.
 +
 
 +
</noinclude>

Latest revision as of 21:40, 23 December 2014

[[{{{p}}}]] (previous patches)

No changes (or diff is missing).

Documentation for Tf diff

A template used on the localization pages to display the diff since the last patch.

Parameters

p or pname: the english name of the last patch.