Template:diff

Explain xkcd: It's 'cause you're dumb.
(Difference between revisions)
Jump to: navigation, search
m (Waldir moved page Template:Diff to Template:diff: page titles are case-sensitive now)
(mention usage of odlid parameter)
 
Line 4: Line 4:
  
 
'''Examples of usage:'''
 
'''Examples of usage:'''
* <code><nowiki>{{diff|123}}</nowiki></code>                  → {{diff|123}}
+
* <code><nowiki>{{diff|123}}</nowiki></code>                  → {{diff|1234}}
 
* <code><nowiki>{{diff|123|link text}}</nowiki></code>        → {{diff|123|link text}}
 
* <code><nowiki>{{diff|123|link text}}</nowiki></code>        → {{diff|123|link text}}
 
* <code><nowiki>{{diff|123|link text|section}}</nowiki></code> → {{diff|123|link text|section}} (the link contains an anchor to <code>#section</code>)
 
* <code><nowiki>{{diff|123|link text|section}}</nowiki></code> → {{diff|123|link text|section}} (the link contains an anchor to <code>#section</code>)
 +
* <code><nowiki>{{diff|123&oldid{{=}}120|link text}}</nowiki></code> → {{diff|123&oldid{{=}}120|link text}} (diff spanning multiple edits)
 
</noinclude>
 
</noinclude>

Latest revision as of 03:20, 4 December 2012


Use this template to link to diffs.

Examples of usage:

  • {{diff|123}}[1]
  • {{diff|123|link text}}link text
  • {{diff|123|link text|section}}link text (the link contains an anchor to #section)
  • {{diff|123&oldid{{=}}120|link text}}link text (diff spanning multiple edits)
Personal tools
Namespaces

Variants
Actions
Navigation
Tools

It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?