Template:Compare pages: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Technical 13 Okay, this should fix it to make having both pages work... |
meta>Technical 13 There... This should produce the warning if either are empty exclusively or implicitly. |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#ifeq:{{{1|}}}|||{{Error|Two pages are needed to compare.}}{{#ifeq:{{{2|}}}|||{{Error|Two pages are needed to compare.}}{{Plainlinks|url={{fullurl:Special:ComparePages|{{#iferror:{{#expr:{{{1|}}}+1}}|page1={{urlencode:{{{1}}}}}|rev1={{{1}}}}}&{{#iferror:{{#expr:{{{2|}}}+1}}|page2={{urlencode:{{{2}}}}}|rev2={{{2}}}}}}}|name=Compare {{{1}}} and {{{2}}}}}}}}}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |