|
|
(10 intermediate revisions by the same user 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">
| + | {{Quotation|uoohhhhhh|waaaaaaaaaaaaaaaaaa|sound=Medic hat taunts04.wav}} |
− | <div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">
| |
| | | |
− | '''Item infobox:'''
| + | [[Media:Medic hat taunts04.wav]] |
− | * 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>
| + | [[File:Medic hat taunts04.wav]] |
− | '''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.''
| + | TODO: create [[Module:Major updates]]. Similar layout to [[Module:Map credits]] and [[Module:Map credits/data]] |
| + | |
| + | Should output data to automatically update and replace the following: |
| + | - https://wiki.teamfortress.com/wiki/Team_Fortress_2#External_links |
| + | - https://wiki.teamfortress.com/wiki/Patches (Major updates, Seasonal updates, Content packs) |
| + | - https://wiki.teamfortress.com/wiki/Template:Major_Updates_Nav |
| + | |
| + | Why: easier to manage, keeps everything synchronized automatically and helps outdated language pages |