Difference between revisions of "Template:DiffPages"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
{{#if:{{{page1|}}}|<!-- ok1 -->|''No {{para|page1}} entered''. }}<!--
+
{{#if:{{{page1|}}}|<!-- ok1 -->|''No {{para|page1}} entered''.&#x20;}}<!--
-->{{#if:{{{page2|}}}|<!-- ok2 -->|''No {{para|page2}} entered''. }}<!--
+
-->{{#if:{{{page2|}}}|<!-- ok2 -->|''No {{para|page2}} entered''.&#x20;}}<!--
 
-->[//en.wikipedia.org/wiki/Special:ComparePages?page1={{urlencode:{{{page1|x}}}}}&rev1=&page2={{urlencode:{{{page2|x}}}}}&rev2=&action=&diffonly=&unhide= {{#if:{{{label|}}}|{{{label|}}}|compare}}] {{yesno|{{{listpages|no}}}|yes=(pages: [[{{{page1|Main page}}}]], [[{{{page2|Main page}}}]])
 
-->[//en.wikipedia.org/wiki/Special:ComparePages?page1={{urlencode:{{{page1|x}}}}}&rev1=&page2={{urlencode:{{{page2|x}}}}}&rev2=&action=&diffonly=&unhide= {{#if:{{{label|}}}|{{{label|}}}|compare}}] {{yesno|{{{listpages|no}}}|yes=(pages: [[{{{page1|Main page}}}]], [[{{{page2|Main page}}}]])
 
}}<!--
 
}}<!--
Line 6: Line 6:
 
--><noinclude>
 
--><noinclude>
 
{{documentation|content=This template compares pages named page1 and page2, in their current versions.
 
{{documentation|content=This template compares pages named page1 and page2, in their current versions.
 +
{{para|page1}}: required. Add namespace.
 +
{{para|page2}}: required. Add namespace.
 
{{para|label|any text}}  will overwrite the "compare" text.
 
{{para|label|any text}}  will overwrite the "compare" text.
 +
 +
{{para|listpages|yes}} will return the entered pages:
 +
 
===See also===
 
===See also===
 
* {{tl|Diff}}
 
* {{tl|Diff}}

Revision as of 12:45, 18 March 2017

No |page1= entered. No |page2= entered. compare

Template documentation

This template compares pages named page1 and page2, in their current versions. |page1=: required. Add namespace. |page2=: required. Add namespace. |label=any text will overwrite the "compare" text.

|listpages=yes will return the entered pages:

See also