User:Deadbot/Tags: Difference between revisions

Sur (talk | contribs)
m reworked; tags now only exist for content that can be edited, rather than for content that cant be edited.
m Saag moved page User:DeadBot/Tags to User:Deadbot/Tags: Automatically moved page while renaming the user "DeadBot" to "Deadbot"
 
(9 intermediate revisions by one other user not shown)
Line 5: Line 5:


=What does a tag look like?=
=What does a tag look like?=
A tag looks like the following. Note that <code><!--this--></code> is how text is commented out in wikitext.<br>
A tag looks like the following. Note that <code><nowiki><!--this--></nowiki></code> is how text is commented out in wikitext.<br>
<pre>
<pre>
<!--[[Deadbot Tag]]: Update history Start-->
<!--[[Deadbot Tag]]: Update history Start-->
</pre>
</pre>
''Note: Not to be confused with [[Changelogs|Changelog Tags]]''


=What do tags do?=
=What do tags do?=
Content inside of a tag Start and End are edited manually, not by Deadbot.
Tags mark content that are edited manually, as opposed to being edited by Deadbot.


<br>
<br>
Line 30: Line 32:
</pre>
</pre>


With the above example, all content between <code>Introduction Start</code> and <code>Introduction End</code> is written manually. <br>
With the above example, all content between <code>Introduction Start</code> and <code>Introduction End</code> is written manually. For the purposes of this documentation, this is referred to as <b>tagged content</b>. <br>


=What is untagged content=
=What is untagged content=
Untagged content refers to content that is not between a Start and End tag. In the previous example, the untagged content is the <code><deadbot written code></code> and <code><more deadbot written code></code>.
<b>Untagged content</b> refers to content that is not between a Start and End tag. In the previous example, the untagged content is the <code><deadbot written code></code> and <code><more deadbot written code></code>.


For pages that utilize Deadbot, untagged content is automatically uploaded by the bot when the page is created.  
For pages that utilize Deadbot, untagged content is automatically uploaded by the bot when the page is created.  


Pages that utilize Deadbot will have at least 1 Deadbot Tag somewhere on the page. This will at minimum include individual Hero, Ability, and Item pages, such as [[Abrams]], [[Shoulder Bash]], and [[Basic Magazine]].
Pages that utilize Deadbot will have at the very top of the page "[[User:DeadBot]]". Most will also have a Deadbot Tag somewhere on the page. Current pages that utilize DeadBot are individual Hero, Ability, and Item pages, such as [[Abrams]], [[Shoulder Bash]], and [[Basic Magazine]].
 
=Editing untagged content=
If untagged content is edited, Deadbot will see it as different than expected and repair that section in the page, <b>removing any edits made</b>. This repair does not affect manually written tagged content.


=Editing tags=
=Editing tags=
Do <b>NOT</b> edit the tag.
Do <b>NOT</b> edit the tag.


If a tag is edited, i.e. changing <code>Update history Start</code> to <code>Update History Start</code> it will not be recognized by Deadbot anymore. As a result, all of the enclosed content is subject to being <b>wiped</b> out and re-initialized by Deadbot.
If a tag is edited, such as, changing <code>Update history Start</code> to <code>Update History Start</code>, it will not be recognized by Deadbot anymore. As a result, all of the enclosed content is subject to being <b>wiped</b> out and re-initialized by Deadbot. All other tagged content will not be edited, however.


=Editing untagged content=
=Feedback and suggestions=
Occasionally, Deadbot will ensure the integrity of previously uploaded pages by <b>overwriting untagged content</b>.  
Feedback regarding untagged (meaning botted) content is always welcome! However, as discussed in [[User:DeadBot/Tags#Editing untagged content]], edits cannot be made directly, but rather need to come through the {{Discord}} in the #wiki channel or via the [https://github.com/deadlock-wiki/deadbot DeadBot GitHub].


If untagged content is edited, Deadbot will see it as different than expected and repair that section in the page, removing any edits made.
Ideas regarding tagged (meaning manually written) content is also always welcome! Going through the Discord or GitHub is not necessary, though still recommended. To the concerned page, simply create a Start and End tag (exactly as outlined in the example at [[User:DeadBot/Tags#What do tags do?]]), and all enclosed content can be anything you wish!


=I have a suggestion for untagged content=
<br>If it should be a section that's added to all pages of similar nature, i.e. all Hero pages, then reach out in the Discord to have the DeadBot crew help out and make it a permanent change by adding it to the [[User:DeadBot/blueprints]]!
If you have any ideas or suggestions for better writing content or code between tags, mention it in the #wiki channel in the {{Discord}}. We would love to hear your feedback!


The blueprints for pages that use Deadbot tags can be found at [[Deadbot Tag/blueprints]] (not yet written).
<br>The wiki is constantly growing, with lots of room for expansion. No idea is foolish, so always be willing to share!