Difference between revisions of "User:Tark/Sandbox"
m |
m |
||
(55 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <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"> | |
− | + | <div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | '''Item infobox:''' | |
+ | * Update <code>used-by</code> | ||
+ | ** Use {{tlx|Used by}}. | ||
+ | *** <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>. | ||
+ | *** Figure out how to handle ''all-except''. | ||
+ | * Update <code>item-kind</code> | ||
+ | ** Use {{tlx|item name|item type {{{item-kind}}}}}. | ||
+ | * Change <code>item-description</code> to <code>yes</code>/<code>no</code> values. | ||
+ | ** If yes, use the dictionary string. | ||
+ | ** 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. | ||
+ | * Update <code>unusual-effect</code> | ||
+ | ** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff]. | ||
+ | ** Use {{tlx|item name|{{{unusual-effect}}}}}. | ||
+ | * Update <code>item-flags</code> | ||
+ | ** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff]. | ||
+ | ** Maybe keep the English text (e.g., "Not Tradable") instead of the attribute name (e.g., "CannotTrade") for readability. | ||
+ | * Update <code>att-n-[type]</code> | ||
+ | ** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff]. | ||
+ | ** Use {{tlx|attribute}} (see template documentation). | ||
− | + | <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.'' | |
− | |||
− | |||
− | '' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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 toused-by = Spy
.- Figure out how to handle all-except.
- Use
- Update
item-kind
- Use
{{item name|item type {{{item-kind}}}}}
.
- Use
- Change
item-description
toyes
/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, syncreleased
andreleased-major
. - If
released
is set to{{Patch name}}
, syncreleased
. - Otherwise, skip.
- If
- Sync
availability
{{avail}}
needs to be updated to handle single-use cases (e.g., Wiki Cap, Lo-Fi Longwave, others).
- 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.