Difference between revisions of "User:Tark/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Hazard infobox/Sandbox
+
<div id="template-documentation" style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em; font-family: sans-serif">
  | health      = 33,750 <small>+2,500 for each player in the server past 10</small>
+
<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">
  | damage      = Fire Spell: 20-50 <small>+5 per level</small></br>Melee: 70</br>Grenade: 10-50
+
 
  | backup      = Yes
+
'''Item infobox:'''
  | bonk        = Yes
+
* Update <code>used-by</code>
  | candy-cane  = No
+
** Use {{tlx|Used by}}.
  | targe      = Yes
+
*** <code><nowiki>used-by = [[Spy]]</nowiki></code>/<code><nowiki>used-by = {{used by|Spy}}</nowiki></code>/etc. should be changed to <code>used-by = Spy</code>.
  | dead-ringer = Yes
+
*** Figure out how to handle ''all-except''.
  | gunboats    = No
+
* Update <code>item-kind</code>
  | jumpers    = No
+
** Use {{tlx|item name|item type {{{item-kind}}}}}.
  | mini-crits  = Yes
+
* Change <code>item-description</code> to <code>yes</code>/<code>no</code> values.
  | uber        = Yes
+
** If yes, use the dictionary string.
  | image      = Merasmus.png
+
** If, for some odd reason, the description can't be stored in the dictionary, use <code>item-description-override</code> to display a custom one.
  | 3d-image-= Soldier BLU
+
* Update <code>unusual-effect</code>
  | 3d-image-= Soldier RED
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
  | 3d-button-1 = default_half
+
** Use {{tlx|item name|{{{unusual-effect}}}}}.
  | 3d-button-2 = default_half
+
* Update <code>item-flags</code>
  | 3d-viewname-1 = uhhhh
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
  | 3d-viewname-2 = ehhhh
+
** Maybe keep the English text (e.g., "Not Tradable") instead of the attribute name (e.g., "CannotTrade") for readability.
  | kill-icon-2 = merasmus2
+
* Update <code>att-n-[type]</code>
  | kill-icon-3 = merasmus3
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
  | kill-icon-4 = merasmus4
+
** Use {{tlx|attribute}} (see template documentation).
  | kill-icon-5 = fire
+
 
  | maps        = {{map link|Ghost Fort}}, {{map link|Carnival of Carnage}} (owner and announcer), {{map link|Brimstone|Brimstone (map)}}, {{map link|Gravestone}}, {{map link|Slasher}}, {{map link|Laughter}}
+
<hr>
}}
+
'''WindBOT:'''
 +
 
 +
* Sync <code>used-by</code>
 +
* Sync <code>released</code> & <code>released-major</code>.
 +
** If <code>released-major</code> is set, sync <code>released</code> and <code>released-major</code>.
 +
** If <code>released</code> is set to {{tlx|Patch name}}, sync <code>released</code>.
 +
** Otherwise, skip.
 +
* Sync <code>availability</code>
 +
** {{tlx|avail}} needs to be updated to handle single-use cases (e.g., [[Wiki Cap]], [[Lo-Fi Longwave]], others).
 +
* Sync <code>item-kind</code>
 +
* Sync <code>item-description</code>
 +
* Sync <code>unusual-effect</code>
 +
* Sync <code>item-flags</code>
 +
* Sync <code>att-n-[type]</code>
 +
 
 +
''Note: "Sync" here means that when WindBOT is updating a translated page, e.g., [[Unusual Cap/ru]], it should seek the values of the original template instead, as we assume the English page is the one which is up to date.''

Latest revision as of 12:30, 13 May 2024

Item infobox:

  • Update used-by
    • Use {{Used by}}.
      • used-by = [[Spy]]/used-by = {{used by|Spy}}/etc. should be changed to used-by = Spy.
      • Figure out how to handle all-except.
  • Update item-kind
  • Change item-description to yes/no values.
    • If yes, use the dictionary string.
    • If, for some odd reason, the description can't be stored in the dictionary, use item-description-override to display a custom one.
  • Update unusual-effect
  • Update item-flags
    • See this diff.
    • Maybe keep the English text (e.g., "Not Tradable") instead of the attribute name (e.g., "CannotTrade") for readability.
  • Update att-n-[type]

WindBOT:

  • Sync used-by
  • Sync released & released-major.
    • If released-major is set, sync released and released-major.
    • If released is set to {{Patch name}}, sync released.
    • Otherwise, skip.
  • Sync availability
  • Sync item-kind
  • Sync item-description
  • Sync unusual-effect
  • Sync item-flags
  • Sync att-n-[type]

Note: "Sync" here means that when WindBOT is updating a translated page, e.g., Unusual Cap/ru, it should seek the values of the original template instead, as we assume the English page is the one which is up to date.