|
|
Line 1: |
Line 1: |
| <noinclude>
| |
| <!--ALWAYS WHEN EDITING: copy the below commented block, paste it on the actual template code, edit that, then copy+paste it back in this comment block.
| |
| IF YOU DO NOT DO THIS, IT WILL BREAK THE TEMPLATE. and that would be sad.
| |
|
| |
|
| {{#ifeq:{{#expr:{{{2|1}}}>24}}|1|ERROR: Cannot claim for more than 1 day|{{#if:{{subst:(}}subst:void{{subst:)}}|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{1|}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} < {{subst:(}}subst:#time:Ymdhis|+{{{2|1}}} hour{{subst:)}}}}|1|<div style="border: 1px #967255 solid; padding: 0.5em; -webkit-border-radius:10px;">[[File:MoaiStatue(badgeYN).png|50px]] Planned to be edited by [[User:{{{1}}}]] until {{subst:(}}subst:#time:h:i|+{{{2|1}}} hour{{subst:)}} UTC. Editing now could cause an [[wikipedia:Help:Edit_conflict|edit conflict]]. If you still wish to edit, it's best to [[User talk:{{{1}}}|speak with them]] first. ''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=purge}} Refresh]''</div>|}}|ERROR: Did not specify a user}}}}}}
| |
|
| |
| -->
| |
| </noinclude>
| |
| <!--This is where a "claim" template is. If it's gone or not needed, delete it. If you want to update or replace it, do {{subst:claim|YourUsername}}.-->
| |
| {{#ifeq:{{#expr:{{{2|1}}}>24}}|1|ERROR: Cannot claim for more than 1 day|{{#if:
| |
| {{subst:void
| |
| }}|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{1|}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} <
| |
| {{subst:#time:Ymdhis|+{{{2|1}}} hour
| |
| }}}}|1|<div style="border: 1px #967255 solid; padding: 0.5em; -webkit-border-radius:10px;">[[File:MoaiStatue(badgeYN).png|50px]] Planned to be edited by [[User:{{{1}}}]] until
| |
| {{subst:#time:h:i|+{{{2|1}}} hour
| |
| }} UTC. Editing now could cause an [[wikipedia:Help:Edit_conflict|edit conflict]]. If you still wish to edit, it's best to [[User talk:{{{1}}}|speak with them]] first. ''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=purge}} Refresh]''</div>|}}|ERROR: Did not specify a user}}}}}}
| |
| <!--Code from the "claim" template ends here. Remember to delete these comments if the template is deleted or re-used!-->
| |