Template:Diff: Difference between revisions

From All Skies Encyclopaedia
imported>Krinkle
(The "page" logic branch uses "fullurl" which performs url encoding and ensures the link stays together. The other branch however produces raw wikitext. Use {{trim}} to ensure the link doesn't break early into the label value.)
imported>Krinkle
No edit summary
Line 1: Line 1:
<span class="plainlinks">[{{#if:{{{page|{{{1|}}}}}}
<span class="plainlinks">[{{#if:{{{page|{{{1|}}}}}}
|{{fullurl:{{{page|{{{1}}}}}}|{{#if:{{{diff|{{{2|}}}}}}
|{{fullurl:{{{page|{{{1}}}}}}|{{#if:{{{diff|{{{2|}}}}}}
|diff={{{diff|{{{2}}}}}}&
|diff={{trim|{{{diff|{{{2}}}}}}}}&
}}oldid={{{oldid|{{{3|}}}}}}}}
}}oldid={{trim|{{{oldid|{{{3|}}}}}}}}}}
|{{SERVER}}{{SCRIPTPATH}}/index.php?title={{#if:{{{diff|{{{2|}}}}}}
|{{SERVER}}{{SCRIPTPATH}}/index.php?title={{#if:{{{diff|{{{2|}}}}}}
|&diff={{trim|{{{diff|{{{2}}}}}}}}
|&diff={{trim|{{{diff|{{{2}}}}}}}}

Revision as of 17:01, 11 June 2015

[1]