|
|
(34 intermediate revisions by 18 users not shown) |
Line 1: |
Line 1: |
| <span class="plainlinks">[{{fullurl:{{{page|{{{1|Main Page}}}}}}|diff={{{diff|{{{2|cur}}}}}}&oldid={{{oldid|{{{3|}}}}}}}} <span style="color:#002bb8">{{{label|{{{4|Last change to '''Main Page'''}}}}}}</span>]</span><noinclude> | | <span class="plainlinks">[{{#if:{{{title|{{{page|{{{1|}}}}}}}}} |
| | | |{{fullurl:{{{title|{{{page|{{{1}}}}}}}}}|{{#if:{{{diff|{{{2|}}}}}} |
| | | |diff={{trim|{{{diff|{{{2}}}}}}}}& |
| | | }}oldid={{trim|{{{oldid|{{{3|}}}}}}}}}} |
| ===Usage===
| | |{{SERVER}}{{SCRIPTPATH}}/index.php?title={{#if:{{{diff|{{{2|}}}}}} |
| | | |&diff={{trim|{{{diff|{{{2}}}}}}}} |
| '''{{diff|1='''''page'''''|2='''''diff'''''|3='''''oldid'''''|4='''''label'''''}}'''
| | }}&oldid={{trim|{{{oldid|{{{3|}}}}}}}} |
| | | }}{{#ifeq:{{{diffonly|}}}|yes|&diffonly=1}} {{{label|{{{4|}}}}}}]</span><noinclude> |
| ;Current default:'''{{|1='''Main Page'''|2='''cur'''|3=|4='''<nowiki>Last change to '''Main Page'''</nowiki>'''}}''' → {{diff|1=Main Page|2=cur|3=|4=Last change to '''Main Page'''}}
| | {{documentation}} |
| | |
| ;You can also use the named variables "page", "diff", "oldid", and "label".:'''{{diff|page='''Main Page'''|diff='''cur'''|oldid=|label='''<nowiki>Last change to '''Main Page'''</nowiki>'''}}''' → {{diff|page=Main Page|diff=cur|oldid=|label=Last change to '''Main Page'''}}
| |
| | |
| ;As long as the values do not contain equals signs, you can skip the variable names/numbers.:'''{{diff|'''Main Page'''|'''cur'''||'''<nowiki>Last change to '''Main Page'''</nowiki>'''}}''' → {{diff|Main Page|cur||Last change to '''Main Page'''}}
| |
| | |
| | |
| </noinclude> | | </noinclude> |