User:Deadbot/Tags: Difference between revisionsGive feedback
initial |
m Saag moved page User:DeadBot/Tags to User:Deadbot/Tags: Automatically moved page while renaming the user "DeadBot" to "Deadbot" |
||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
<i>WORK IN PROGRESS, Deadbot uploader is not yet programmed, this is pre-emptive documentation for prototyping the process.</i> | <i>WORK IN PROGRESS, Deadbot uploader is not yet programmed, this is pre-emptive documentation for prototyping the process. All concepts and procedures are experimental.</i> | ||
Deadbot | 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?= | =What does a tag look like?= | ||
A tag | 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--> | ||
</pre> | </pre> | ||
''Note: Not to be confused with [[Changelogs|Changelog Tags]]'' | |||
=What do tags do?= | =What do tags do?= | ||
Tags mark content that are edited manually, as opposed to being edited by Deadbot. | |||
<br> | <br> | ||
For example, if a page's source is | For example, if a page's source is | ||
| Line 22: | Line 20: | ||
<pre> | <pre> | ||
<page start> | <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> | <page end> | ||
</pre> | </pre> | ||
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= | |||
<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. | |||
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, | 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. | ||
= | =Feedback and suggestions= | ||
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]. | |||
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! | |||
<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]]! | |||
The | <br>The wiki is constantly growing, with lots of room for expansion. No idea is foolish, so always be willing to share! | ||