×
Create a new article
Write your page title here:
We currently have 3,053 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,053Articles

Template:Claim: Difference between revisions

(Created page with "<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: {{CU...")
 
m (typo)
Line 18: Line 18:




<noinclude>{{documentation}}</noinclude>>
<noinclude>{{documentation}}</noinclude>

Revision as of 05:32, 8 July 2023


ERROR: must substitute the template


Documentation (for the above template, sometimes hidden or invisible)

Description

This template allows you to "claim" pages you want to edit for up to 72 hours (3 days).

Syntax

{{subst:claim|Username}}
{{subst:claim|Username|Hours}}

You must substitute this template. Transcluding it normally will not work.

Usage

The claim warning is used to prevent edit conflicts. It places a box explaining that a user (should be yourself) is wanting to edit a page, and is wanting to be the only editor until a specified time. The template hides itself after this time.

It is best to use this template at the very start of a page. The idea is for people to see it then wait for your submission before they start editing.

The purpose of limiting the time is that the claim template is supposed to be used directly before the user starts typing out the actual edit. The maximum time is 72 hours, but keep the time at a minumum.

Parameters

Put a box warning users that you are editing the page.

Template parameters

ParameterDescriptionTypeStatus
Username1

Your username. Your user page and user talk page will both be linked in the template.

Example
Masada
Linerequired
Hours claimed2

The length of the claim in hours. Can be any number 1-72.

Default
1 hour
Example
5
Numberoptional

Sample

The following input:

{{subst:claim|ZASNK}}

Produces:

Note: this example is rigged to never disappear, despite it being out of date.



Visit Template:Claim/doc to edit this text! (How does this work?)