User:DeadBot/Tags
Overview
WORK IN PROGRESS, Deadbot uploader is not yet programmed, this is pre-emptive documentation for prototyping the process. All concepts and procedures are experimental.
Deadbot Tags are indicators used by https://github.com/deadlock-wiki/deadbot that uploads data to the wiki. It tells it where human-edited sections are so that it doesn't edit them.
What does a tag look like?
A tag looks like the following. Note that <!--this-->
is how text is commented out in wikitext.
<!--[[Deadbot Tag]]: Update history Start-->
What do tags do?
Content inside of a tag Start and End are edited manually, not by Deadbot.
For example, if a page's source is
<page start> <deadbot written code> <!--[[Deadbot Tag]]:Introduction Start--> '''Abrams''' is hard-boiled, hard-hitting bruiser of a character that focuses on engaging groups of enemies and relying on his fortitude and life drain to stay in the fight. With a powerful area stun and a devastating shoulder charge, Abrams can isolate fragile targets from the rest of the team and set-up his more damaging allies to finish them off. A capable and well-known detective of New York, Abrams solved crimes ranging from kidnappings to ritual murders. One day, a mysterious Tome was left on his desk with a note of "Don't let them have it" scrolled in Onyx blood; followed by car bombings and break-ins to his office. Now, Abrams is trying to figure out just what the hell is going on. <!--[[Deadbot Tag]]:Introduction End--> <more deadbot written code> <page end>
With the above example, all content between Introduction Start
and Introduction End
is written manually.
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 <deadbot written code>
and <more deadbot written code>
.
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.
Editing untagged content
If untagged content is edited, Deadbot will see it as different than expected and repair that section in the page, removing any edits made. This repair does not affect manually written tagged content.
Editing tags
Do NOT edit the tag.
If a tag is edited, such as, changing Update history Start
to Update History Start
, it will not be recognized by Deadbot anymore. As a result, all of the enclosed content is subject to being wiped out and re-initialized by Deadbot. All other tagged content will not be edited, however.
I have a suggestion for untagged content
Bring your ideas and suggestions for writing better content or code between tags, mention it in the #wiki channel in the Discord community server. 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).