Difference between revisions of "User:Tark/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{{Map credits|cp_fastlane}}
+
<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">
{{Map credits|ctf_turbine}}
+
<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">
{{Map credits|cp_steel}}
+
 
{{Map credits|cp_egypt_final}}
+
'''Item infobox:'''
{{Map credits|cp_junction_final}}
+
* Update <code>used-by</code>
{{Map credits|arena_watchtower}}
+
** Use {{tlx|Used by}}.
{{Map credits|pl_hoodoo_final}}
+
*** <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>.
{{Map credits|arena_offblast_final}}
+
*** Figure out how to handle ''all-except''.
{{Map credits|cp_yukon_final}}
+
* Update <code>item-kind</code>
{{Map credits|koth_harvest_final}}
+
** Use {{tlx|item name|item type {{{item-kind}}}}}.
{{Map credits|cp_freight_final1}}
+
* Change <code>item-description</code> to <code>yes</code>/<code>no</code> values.
{{Map credits|cp_coldfront}}
+
** If yes, use the dictionary string.
{{Map credits|cp_mountainlab}}
+
** 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.
{{Map credits|cp_manor_event}}
+
* Update <code>unusual-effect</code>
{{Map credits|plr_nightfall_final}}
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
{{Map credits|plr_nightfall}}
+
** Use {{tlx|item name|{{{unusual-effect}}}}}.
{{Map credits|pl_frontier_final}}
+
* Update <code>item-flags</code>
{{Map credits|pl_frontier}}
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
{{Map credits|koth_lakeside_final}}
+
** Maybe keep the English text (e.g., "Not Tradable") instead of the attribute name (e.g., "CannotTrade") for readability.
{{Map credits|koth_lakeside}}
+
* Update <code>att-n-[type]</code>
{{Map credits|cp_gullywash_final1}}
+
** See [https://wiki.teamfortress.com/w/index.php?title=Template%3AItem_infobox%2FSandbox&type=revision&diff=3610124&oldid=3610122 this diff].
{{Map credits|koth_king}}
+
** Use {{tlx|attribute}} (see template documentation).
{{Map credits|cp_process_final}}
+
 
{{Map credits|cp_standin_final}}
+
<hr>
{{Map credits|cp_snakewater_final1}}
+
'''WindBOT:'''
{{Map credits|cp_snowplow}}
+
 
{{Map credits|pl_borneo}}
+
* Sync <code>used-by</code>
{{Map credits|koth_suijin}}
+
* Sync <code>released</code> & <code>released-major</code>.
{{Map credits|ctf_2fort_invasion}}
+
** If <code>released-major</code> is set, sync <code>released</code> and <code>released-major</code>.
{{Map credits|pd_watergate}}
+
** If <code>released</code> is set to {{tlx|Patch name}}, sync <code>released</code>.
{{Map credits|arena_byre}}
+
** Otherwise, skip.
{{Map credits|koth_probed}}
+
* Sync <code>availability</code>
{{Map credits|cp_gorge_event}}
+
** {{tlx|avail}} needs to be updated to handle single-use cases (e.g., [[Wiki Cap]], [[Lo-Fi Longwave]], others).
{{Map credits|cp_sunshine_event}}
+
* Sync <code>item-kind</code>
{{Map credits|koth_moonshine_event}}
+
* Sync <code>item-description</code>
{{Map credits|pl_millstone_event}}
+
* Sync <code>unusual-effect</code>
{{Map credits|pl_snowycoast}}
+
* Sync <code>item-flags</code>
{{Map credits|cp_vanguard}}
+
* Sync <code>att-n-[type]</code>
{{Map credits|ctf_landfall}}
+
 
{{Map credits|koth_highpass}}
+
''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.''
{{Map credits|cp_sunshine}}
 
{{Map credits|cp_metalworks}}
 
{{Map credits|pl_swiftwater_final1}}
 
{{Map credits|koth_maple_ridge_event}}
 
{{Map credits|pl_fifthcurve_event}}
 
{{Map credits|pd_pit_of_death_event}}
 
{{Map credits|pd_pit_of_death}}
 
{{Map credits|cp_mossrock}}
 
{{Map credits|koth_lazarus}}
 
{{Map credits|plr_bananabay}}
 
{{Map credits|pl_enclosure_final}}
 
{{Map credits|koth_brazil}}
 
{{Map credits|koth_bagel_event}}
 
{{Map credits|pl_rumble_event}}
 
{{Map credits|pd_monster_bash}}
 
{{Map credits|koth_slasher}}
 
{{Map credits|pd_cursed_cove_event}}
 
{{Map credits|koth_slaughter_event}}
 
{{Map credits|pl_precipice_event_final}}
 
{{Map credits|koth_megalo}}
 
{{Map credits|pl_hasslecastle}}
 
{{Map credits|pl_bloodwater}}
 
{{Map credits|koth_undergrove_event}}
 
{{Map credits|pl_pier}}
 
{{Map credits|pd_snowville_event}}
 
{{Map credits|ctf_snowfall_final}}
 
{{Map credits|pl_wutville_event}}
 
{{Map credits|pd_farmageddon}}
 
{{Map credits|koth_synthetic_event}}
 
{{Map credits|koth_los_muertos}}
 
{{Map credits|arena_lumberyard_event}}
 
{{Map credits|cp_ambush_event}}
 
{{Map credits|pl_terror_event}}
 
{{Map credits|pl_coal_event}}
 
{{Map credits|pl_breadspace}}
 
{{Map credits|pl_chilly}}
 
{{Map credits|koth_cascade}}
 
{{Map credits|cp_altitude}}
 
{{Map credits|ctf_doublecross_snowy}}
 
{{Map credits|koth_sawmill_event}}
 
{{Map credits|ctf_helltrain_event}}
 
{{Map credits|plr_hacksaw_event}}
 
{{Map credits|ctf_crasher}}
 
{{Map credits|pl_sludgepit_event}}
 
{{Map credits|cp_spookeyridge}}
 
{{Map credits|cp_frostwatch}}
 
{{Map credits|pl_frostcliff}}
 
{{Map credits|pl_rumford_event}}
 
{{Map credits|ctf_frosty}}
 
{{Map credits|cp_gravelpit_snowy}}
 
{{Map credits|koth_sharkbay}}
 
{{Map credits|koth_rotunda}}
 
{{Map credits|pl_phoenix}}
 
{{Map credits|pl_cashworks}}
 
{{Map credits|pl_venice}}
 
{{Map credits|cp_reckoner}}
 
{{Map credits|cp_sulfur}}
 
{{Map credits|cp_hardwood_final}}
 
{{Map credits|ctf_pelican_peak}}
 
{{Map credits|pd_selbyen}}
 
{{Map credits|vsh_tinyrock}}
 
{{Map credits|vsh_distillery}}
 
{{Map credits|vsh_skirmish}}
 
{{Map credits|vsh_nucleus}}
 
{{Map credits|arena_perks}}
 
{{Map credits|koth_slime}}
 
{{Map credits|cp_lavapit_final}}
 
{{Map credits|pd_mannsylvania}}
 
{{Map credits|cp_degrootkeep_rats}}
 
{{Map credits|pl_spineyard}}
 
{{Map credits|pl_corruption}}
 
{{Map credits|zi_murky}}
 
{{Map credits|zi_atoll}}
 
{{Map credits|zi_woods}}
 
{{Map credits|zi_sanitarium}}
 
{{Map credits|zi_devastation_final1}}
 
{{Map credits|koth_snowtower}}
 
{{Map credits|koth_krampus}}
 
{{Map credits|ctf_haarp}}
 
{{Map credits|cp_brew}}
 
{{Map credits|plr_hacksaw}}
 
{{Map credits|ctf_turbine_winter}}
 
{{Map credits|cp_carrier}}
 
{{Map credits|pd_galleria}}
 
{{Map credits|pl_emerge}}
 
{{Map credits|pl_camber}}
 
{{Map credits|pass_timbertown}}
 
{{Map credits|pass_district}}
 
{{Map credits|pass_brickyard}}
 
{{Map credits|#default}}
 
{{Map credits|}}
 
{{Map credits|}}
 
{{Map credits|}}
 

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.