Template:Delete: Difference between revisions
(Removed unnecessary stuff) |
No edit summary |
||
Line 3: | Line 3: | ||
<small>'''Administrators:''' Please check the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} page history] before [{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1}}}"}}|}}}} deleting]</span>. | <small>'''Administrators:''' Please check the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} page history] before [{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1}}}"}}|}}}} deleting]</span>. | ||
Page [{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|diff=cur}} edited] <!-- | |||
* Link to action=purge -->[{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|action=purge}} <!-- | * Link to action=purge -->[{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|action=purge}} <!-- | ||
* Test for invalid time difference -->{{#ifexpr: {{LOCALTIMESTAMP}} < {{REVISIONTIMESTAMP}} | ? | <!-- | * Test for invalid time difference -->{{#ifexpr: {{LOCALTIMESTAMP}} < {{REVISIONTIMESTAMP}} | ? | <!-- | ||
* If difference >10min mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''<span style="font-size:110%;"> }}<!-- | * If difference >10min mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''<span style="font-size:110%;"> }}<!-- | ||
* If valid: Show hours&minutes -->{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }} }} {{PLURAL:{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }}|minute|minutes}}] <!-- | * If valid: Show hours&minutes -->{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }} }} {{PLURAL:{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }}|minute|minutes}}] <!-- | ||
* If difference >10min end mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''</span> }} ago by {{#if: {{REVISIONUSER}} | [[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[{{ns:3}}:{{REVISIONUSER}}|talk]] • [[Special:Contributions/{{REVISIONUSER}}|contrib]] • [[Special:Log/{{REVISIONUSER}}|log]]) }}. | * If difference >10min end mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''</span> }} ago by {{#if: {{REVISIONUSER}} | [[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[{{ns:3}}:{{REVISIONUSER}}|talk]] • [[Special:Contributions/{{REVISIONUSER}}|contrib]] • [[Special:Log/{{REVISIONUSER}}|log]]) }}. | ||
Page information: {{#ifeq: {{NAMESPACE}} | {{ns:6}}| }} [{{fullurl:Special:Log/delete|type=delete&page={{FULLPAGENAMEE}}}} delete log] • [[Special:Whatlinkshere/{{FULLPAGENAMEE}}|link list]]</small> | |||
</div>{{{category|[[Category:Deleteme]]}}}</includeonly><noinclude>{{documentation}}</noinclude> | </div>{{{category|[[Category:Deleteme]]}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 08:41, 30 March 2017
Example
{{delete}}
Produces:
This page has been nominated for speedy deletion. If you object, remove the template and discuss on the talk page.
Administrators: Please check the page history before deleting.
Page edited 3709785 minutes ago by Lucario (talk • contrib • log).
Page information: delete log • link list
Other Variations
{{delete|Write something.}} {{delete|gameid}} {{delete|gameid|Write something.}}
Produces:
This page has been nominated for speedy deletion. If you object, remove the template and discuss on the talk page.
Administrators: Please check the page history before deleting.
Page edited 3709785 minutes ago by Lucario (talk • contrib • log).
Page information: delete log • link list
This page has been nominated for speedy deletion. If you object, remove the template and discuss on the talk page.
Administrators: Please check the page history before deleting.
Page edited 3709785 minutes ago by Lucario (talk • contrib • log).
Page information: delete log • link list
This page has been nominated for speedy deletion. If you object, remove the template and discuss on the talk page.
Administrators: Please check the page history before deleting.
Page edited 3709785 minutes ago by Lucario (talk • contrib • log).
Page information: delete log • link list
The above documentation is transcluded from Template:Delete/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |