mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
IF YOU DO NOT DO THIS, IT WILL BREAK THE TEMPLATE. and that would be sad. | 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 # | {{#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. If you wish to edit during this period, 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> | </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| | <!--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: | {{#ifeq:{{#expr:{{{2|1}}}>24}}|1|ERROR: Cannot claim for more than 1 day|{{#if: | ||
{{subst:void | {{subst:void | ||
}}|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{1|}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} < | }}|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{1|}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} < | ||
{{subst:#time:Ymdhis|+{{{2|1}}} hour | {{subst:#time:Ymdhis|+{{{2|1}}} hour | ||
}}}}|1|<div style="border: 1px # | }}}}|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 | {{subst:#time:h:i|+{{{2|1}}} hour | ||
}} UTC. If you wish to edit during this period, 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}}}}}} | }} UTC. If you wish to edit during this period, 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!--> | <!--Code from the "claim" template ends here. Remember to delete these comments if the template is deleted or re-used!--> |
Revision as of 05:02, 8 July 2023
ERROR: must substitute the template