Difference between revisions of "Template:DiffPages"
Jump to navigation
Jump to search
Template documentation
imported>DePiep |
imported>Ans (+{{tl|Diffsandbox}}) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if:{{{page1|}}}|<!-- ok1 -->|''No {{para|page1}} entered''. }}<!-- | + | {{#if:{{{page1|}}}|<!-- ok1 -->|''No {{para|page1}} entered''. }}<!-- |
| − | -->{{#if:{{{page2|}}}|<!-- ok2 -->|''No {{para|page2}} entered''. }}<!-- | + | -->{{#if:{{{page2|}}}|<!-- ok2 -->|''No {{para|page2}} entered''. }}<!-- |
-->[//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}}}]]) | ||
}}<!-- | }}<!-- | ||
| − | --><noinclude> | + | --><noinclude>{{documentation|content= |
| − | {{documentation|content=This template compares pages named page1 and page2, in their current versions. | + | 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}} | ||
| − | }} | + | * {{tl|Diffsandbox}} |
| + | * [[Special:ComparePages]] | ||
[[Category:Wikipedia formatting and function templates]] | [[Category:Wikipedia formatting and function templates]] | ||
| − | </noinclude> | + | [[Category:Diff templates]] |
| + | }}</noinclude> | ||
Latest revision as of 09:36, 17 December 2018
No |page1= entered. No |page2= entered. compare
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
- {{Diff}}
- {{Diffsandbox}}
- Special:ComparePages
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |