Difference between revisions of "Template:Writing/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{docpage}} {{I am writing}}")
 
(Added TemplateData, edits)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{docpage}}
 
{{docpage}}
  
{{I am writing}}
+
{{Ambox
 +
|title = Writing in process...
 +
|text = This article is being edited by the member '''{{{1}}}''' (start date). Other participants are requested to not make any changes while this warning is here.
 +
|background = #BBDEFB
 +
|border = #2196F3
 +
|img = File:Icons Write.png
 +
}}
 +
 
 +
If you are actively editing an article, then a situation may arise when two or more participants simultaneously try to change its text. The consequences are very different: from editing conflicts (the inability to save the text of the article due to simultaneous changes of the article by other participants) to a war of revisions. Adding this template to an article allows you to warn other participants to refrain from editing them until the template is removed.
 +
 
 +
This template is used to substitute the notice that this article is edited by this member, as well as the current date. The article is automatically added to [[:Category:WIP articles]].
 +
 
 +
Use: paste the code <code><nowiki>{{Writing|~~~~}}</nowiki></code> at the beginning of the article.
 +
 
 +
{{sp-begin|TemplateData}}
 +
<templatedata>
 +
{
 +
    "params": {
 +
        "1": {
 +
            "autovalue": "~~~~",
 +
            "required": true
 +
        }
 +
    },
 +
    "description": "Inserts a notice that the current user (you) plans to make changes to the article and requests that other users refrain from editing the article until the notice is removed. Your username and the start date will be automatically filled if no changes are made to parameters. This notice may be removed by a moderator if no changes are made to the article after a period of time."
 +
}
 +
</templatedata>
 +
{{sp-end}}

Latest revision as of 17:56, 2 July 2020

Icons Write.pngWriting in process...
This article is being edited by the member {{{1}}} (start date). Other participants are requested to not make any changes while this warning is here.

If you are actively editing an article, then a situation may arise when two or more participants simultaneously try to change its text. The consequences are very different: from editing conflicts (the inability to save the text of the article due to simultaneous changes of the article by other participants) to a war of revisions. Adding this template to an article allows you to warn other participants to refrain from editing them until the template is removed.

This template is used to substitute the notice that this article is edited by this member, as well as the current date. The article is automatically added to Category:WIP articles.

Use: paste the code {{Writing|~~~~}} at the beginning of the article.