Difference between revisions of "Template:Delete"

From Dolphin Emulator Wiki
Jump to: navigation, search
(Removed unnecessary stuff)
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>.
<div class="plainlinks" style="font-size: smaller;"> Page [{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|diff=cur}} edited] <!--
+
 
 +
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 links -->Page information: {{#ifeq: {{NAMESPACE}} | {{ns:6}}| }} [{{fullurl:Special:Log/delete|type=delete&page={{FULLPAGENAMEE}}}} delete log] • [[Special:Whatlinkshere/{{FULLPAGENAMEE}}|link list]] • [{{fullurl:{{FULLPAGENAMEE}}|action=delete&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1}}}"}}}} delete page]</div></small>
+
 
 +
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

[edit] [purge] Template documentation

Example

{{delete}}

Produces:

This page has been nominated for speedy deletion.

Administrators: Please check the page history before deleting.

Other Variations

{{delete|Write something.}}
{{delete|gameid}}
{{delete|gameid|Write something.}}

Produces:

This page has been nominated for speedy deletion.
Reason:
Write something.

Administrators: Please check the page history before deleting.

This is an unconfirmed GameID, likely resorting to a speedy deletion if the GameID is a slightly altered duplication of the existing one - it may be used as a custom ID, or an oversight typo.

Administrators: Please check the page history before deleting.

This is an unconfirmed GameID, likely resorting to a speedy deletion if the GameID is a slightly altered duplication of the existing one - it may be used as a custom ID, or an oversight typo.
Further comment:
Write something.

Administrators: Please check the page history before deleting.