Template:Diff/doc: Difference between revisions

m
1 revision
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This template is intended to be useful for creating links to "[[Help:Diff|diffs]]"; that is, links to pages that show the differences between two versions of a wiki page.
This template is intended to be useful for creating links to "[[Help:Diff|diffs]]"; that is, links to pages that show the differences between two versions of a wiki page.


Line 77: Line 77:
== See also ==
== See also ==
* {{tl|oldid}}&nbsp;– simplifies the case for linking to a known old version
* {{tl|oldid}}&nbsp;– simplifies the case for linking to a known old version
* {{tl|diff2}}
* {{tl|diff2}}&nbsp;– same as {{tl|diff}}, but assumes the current page
* {{tl|diffsandbox}}&nbsp;– compares a given page with the sandbox version
* {{tl|Querylink}}&nbsp;– generic template to construct [[query string]]s
* {{tl|Querylink}}&nbsp;– generic template to construct [[query string]]s
* [[diff]]&nbsp;– syntax highlight on wiki pages with [[mw:Extension:SyntaxHighlight GeSHi]]
* [[diff]]&nbsp;– syntax highlight on wiki pages with [[mw:Extension:SyntaxHighlight GeSHi]]
Line 126: Line 127:
</templatedata>
</templatedata>


<includeonly>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Diff templates|{{PAGENAME}}]]
[[Category:Diff templates|{{PAGENAME}}]]
[[Category:Cross-reference templates|{{PAGENAME}}]]
[[Category:Cross-reference templates|{{PAGENAME}}]]
</includeonly>
}}</includeonly>
14,061

edits