Template:Block/doc

This template is for the use of administrators to notify users that they have been blocked, on their talk pages. Its use is not compulsory but is useful given the multi-lingual nature of Wikidata.

The basic syntax, in English, is {{subst:Block|1=|2=}} where both parameters are optional. The 1 parameter is the block duration, and accepts any string that signifies an amount of time. Setting it to indefinite changes the English version to a version that reflects an indefinite block - different translations of this template may use different words. The 2 parameter is the reason of the block and completes the sentence "You have been blocked from editing Wikidata temporarily for...", and if omitted, defaults to "abuse of editing privileges".

To create a new language version of this template, create Template:Block/<language code> with the following:

{{Block/layout |text=<translated text> |lang=<language code> |1={{{1|}}} }}

The translated text must include a {{{2|}}} parameter for the block reason. Add a link to your translation at Template:Block/lang when you're done. If you wish to use a word other than "indefinite" for an indefinite block, add it to the switch in Template:Block/layout.