Difference between revisions of "Template:Diffsandbox"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
 
[//en.wikipedia.org/wiki/Special:ComparePages?page1={{urlencode:{{{1|x}}}}}&rev1=&page2={{urlencode:{{{1|x}}}}}%2Fsandbox&rev2=&action=&diffonly=&unhide= {{#if:{{{label|}}}|{{{label|}}}|compare}}]<!--
 
[//en.wikipedia.org/wiki/Special:ComparePages?page1={{urlencode:{{{1|x}}}}}&rev1=&page2={{urlencode:{{{1|x}}}}}%2Fsandbox&rev2=&action=&diffonly=&unhide= {{#if:{{{label|}}}|{{{label|}}}|compare}}]<!--
  
--><noinclude>
+
--><noinclude>{{documentation}}</noinclude>
{{documentation|content=This template compares the page named by parameter 1 with the /sandbox version.
 
{{para|label|any text}}  will overwrite the "compare" text.
 
===See also===
 
* {{tl|Diff}}
 
}}
 
[[Category:Wikipedia formatting and function templates]]
 
</noinclude>
 

Revision as of 09:02, 22 June 2017

compare

50px Template documentation[view] [edit] [history] [purge]

This template gives a link to compare a template page and its /sandbox page.

Usage

{{Diffsandbox|Template:Infobox building}}compare
  • |rev1=page id
  • |rev2=page id
  • |label=any text will overwrite the "diff" text.

See also