Difference between revisions of "User:Tark/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Navbox
+
<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">
| state = {{{state|uncollapsed}}}
+
<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">
| name  = Maps Nav
 
| title = [[List of maps{{if lang}}|{{lang
 
  | en = Official maps
 
  | ar = المابات الرسمية
 
  | cs = Oficiální mapy
 
  | da = Officielle baner
 
  | de = Offizielle Karten
 
  | es = Mapas oficiales
 
  | fi = Viralliset kartat
 
  | fr = Cartes officielles
 
  | hu = Hivatalos pályák
 
  | it = Mappe ufficiali
 
  | ja = 公式マップ
 
  | ko = 공식 맵
 
  | no = Offisielle kart
 
  | pl = Oficjalne mapy
 
  | pt = Mapas oficiais
 
  | pt-br = Mapas oficiais
 
  | ro = Harţi Oficiale
 
  | ru = Официальные карты
 
  | sv = Officiella Kartor
 
  | tr = Resmî Haritalar
 
  | zh-hans = 官方地图
 
  | zh-hant = 官方地圖
 
  }}]]
 
  
| group1 = [[Arena{{if lang}}|{{Common string|arena}}]]
+
'''Item infobox:'''
| list1  = {{map link|Badlands|Badlands (Arena)}}<!--
+
* Update <code>used-by</code>
-->{{md}}{{map link|Byre}}<!--
+
** Use {{tlx|Used by}}.
-->{{md}}{{map link|Granary|Granary (Arena)}}<!--
+
*** <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>.
-->{{md}}{{map link|Lumberyard}}<!--
+
*** Figure out how to handle ''all-except''.
--> ({{map link|Graveyard}})<!--
+
* Update <code>item-kind</code>
-->{{md}}{{map link|Nucleus|Nucleus (Arena)}}<!--
+
** Use {{tlx|item name|item type {{{item-kind}}}}}.
-->{{md}}{{map link|Offblast}}<!--
+
* Change <code>item-description</code> to <code>yes</code>/<code>no</code> values.
-->{{md}}{{map link|Ravine}}<!--
+
** If yes, use the dictionary string.
-->{{md}}{{map link|Sawmill|Sawmill (Arena)}}<!--
+
** 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.
-->{{md}}{{map link|Watchtower}}<!--
+
* Update <code>unusual-effect</code>
-->{{md}}{{map link|Well|Well (Arena)}}
+
** 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).
  
| group2 = [[Capture the Flag{{if lang}}|{{Common string|capture the flag}}]]
+
<hr>
| list2 = {{map link|2Fort}}<!--
+
'''WindBOT:'''
--> ({{map link|Invasion|2Fort Invasion}})<!--
 
-->{{md}}{{map link|Crasher}}<!--
 
-->{{md}}{{map link|Double Cross}}<!--
 
--> ({{map link|Doublefrost}})<!--
 
-->{{md}}{{map link|Frosty}}<!--
 
-->{{md}}{{map link|Helltrain}}<!--
 
-->{{md}}{{map link|Landfall}}<!--
 
--> ({{map link|Snowfall}})<!--
 
-->{{md}}{{map link|Sawmill|Sawmill (Capture the Flag)}}<!--
 
-->{{md}}{{map link|Turbine}}<!--
 
-->{{md}}{{map link|Well|Well (Capture the Flag)}}
 
  
| group3 = [[Control Point (game mode){{if lang}}|{{Common string|control point}}]]
+
* Sync <code>used-by</code>
| list3 = {{navbox subgroup
+
* 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>
  
| groupstyle = background: #FFF2B3;
+
''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.''
 
 
| group1 = {{Common string|attack/defend}}
 
| list1  = {{map link|Altitude}}<!--
 
  -->{{md}}{{map link|Dustbowl}}<!--
 
  -->{{md}}{{map link|Egypt}}<!--
 
  -->{{md}}{{map link|Erebus}}<!--
 
  -->{{md}}{{map link|Frostwatch}}<!--
 
  -->{{md}}{{map link|Gorge}}<!--
 
  --> ({{map link|Gorge Event}})<!--
 
  -->{{md}}{{map link|Gravel Pit}}<!--
 
  --> ({{map link|Coal Pit}})<!--
 
  -->{{md}}{{map link|Junction}}<!--
 
  -->{{md}}{{map link|Mercenary Park}}<!--
 
  -->{{md}}{{map link|Mossrock}}<!--
 
  -->{{md}}{{map link|Mountain Lab}}<!--
 
  --> ({{map link|Mann Manor}})<!--
 
  -->{{md}}{{map link|Snowplow}}<!--
 
  -->{{md}}{{map link|Spookeyridge}}<!--
 
  -->{{md}}{{map link|Steel}}
 
 
 
| group2 = [[Medieval Mode{{if lang}}|{{Common string|medieval mode}}]]
 
| list2  = {{map link|DeGroot Keep}}
 
 
 
| group3 = {{Common string|domination}}
 
| list3  = {{map link|Standin}}
 
 
 
| group4 = {{Common string|symmetric}}
 
| list4  = {{map link|5Gorge}}<!--
 
  -->{{md}}{{map link|Badlands|Badlands (Control Point)}}<!--
 
  -->{{md}}{{map link|Coldfront}}<!--
 
  -->{{md}}{{map link|Fastlane}}<!--
 
  -->{{md}}{{map link|Foundry|Foundry (Control Point)}}<!--
 
  -->{{md}}{{map link|Freight}}<!--
 
  -->{{md}}{{map link|Granary|Granary (Control Point)}}<!--
 
  -->{{md}}{{map link|Gullywash}}<!--
 
  -->{{md}}{{map link|Metalworks}}<!--
 
  -->{{md}}{{map link|Powerhouse}}<!--
 
  -->{{md}}{{map link|Process}}<!--
 
  -->{{md}}{{map link|Snakewater}}<!--
 
  -->{{md}}{{map link|Sunshine}}<!--
 
  --> ({{map link|Sinshine}})<!--
 
  -->{{md}}{{map link|Vanguard}}<!--
 
  -->{{md}}{{map link|Well|Well (Control Point)}}<!--
 
  -->{{md}}{{map link|Yukon}}
 
}}
 
 
 
| group4 = [[King of the Hill{{if lang}}|{{Common string|king of the hill}}]]
 
| list4  = {{map link|Badlands|Badlands (King of the Hill)}}<!--
 
  -->{{md}}{{map link|Brazil}}<!--
 
  -->{{md}}{{map link|Cascade}}<!--
 
  -->{{md}}{{map link|Cauldron}}<!--
 
  -->{{md}}{{map link|Harvest}}<!--
 
  --> ({{map link|Harvest Event}})<!--
 
  -->{{md}}{{map link|Highpass}}<!--
 
  -->{{md}}{{map link|Kong King}}<!--
 
  -->{{md}}{{map link|Lakeside}}<!--
 
  --> ({{map link|Ghost Fort}})<!--
 
  -->{{md}}{{map link|Laughter}}<!--
 
  -->{{md}}{{map link|Lazarus}}<!--
 
  -->{{md}}{{map link|Los Muertos}}<!--
 
  -->{{md}}{{map link|Maple Ridge Event}}<!--
 
  -->{{md}}{{map link|Megalo}}<!--
 
  -->{{md}}{{map link|Moldergrove}}<!--
 
  -->{{md}}{{map link|Moonshine Event}}<!--
 
  -->{{md}}{{map link|Nucleus|Nucleus (King of the Hill)}}<!--
 
  -->{{md}}{{map link|Probed}}<!--
 
  -->{{md}}{{map link|Sawmill|Sawmill (King of the Hill)}}<!--
 
  --> ({{map link|Soul-Mill}})<!--
 
  -->{{md}}{{map link|Sinthetic}}<!--
 
  -->{{md}}{{map link|Slasher}}<!--
 
  -->{{md}}{{map link|Suijin}}<!--
 
  -->{{md}}{{map link|Viaduct}}<!--
 
  --> ({{map link|Eyeaduct}})
 
 
 
| group5 = [[Mannpower{{if lang}}|{{Common string|mannpower}}]]
 
| list5  = {{map link|Foundry|Foundry (Capture the Flag)}}<!--
 
  -->{{md}}{{map link|Gorge|Gorge (Capture the Flag)}}<!--
 
  -->{{md}}{{map link|Hellfire}}<!--
 
  -->{{md}}{{map link|Thunder Mountain|Thunder Mountain (Capture the Flag)}}
 
 
 
| group6 = [[Mann vs. Machine{{if lang}}|{{Common string|mann vs machine}}]]
 
| list6  = {{map link|Bigrock}}<!--
 
  -->{{md}}{{map link|Coal Town}}<!--
 
  --> ({{map link|Ghost Town}})<!--
 
  -->{{md}}{{map link|Decoy}}<!--
 
  -->{{md}}{{map link|Mannhattan}}<!--
 
  -->{{md}}{{map link|Mannworks}}<!--
 
  -->{{md}}{{map link|Rottenburg}}
 
 
 
| group7 = [[PASS Time{{if lang}}|{{Common string|pass time}}]]
 
| list7  = {{map link|Brickyard}}<!--
 
  -->{{md}}{{map link|District}}<!--
 
  -->{{md}}{{map link|Timbertown}}
 
 
 
| group8 = [[Payload{{if lang}}|{{Common string|payload}}]]
 
| list8  = {{map link|Badwater Basin}}<!--
 
  --> ({{map link|Bloodwater}})<!--
 
  -->{{md}}{{map link|Barnblitz}}<!--
 
  -->{{md}}{{map link|Borneo}}<!--
 
  -->{{md}}{{map link|Bread Space}}<!--
 
  -->{{md}}{{map link|Brimstone}}<!--
 
  -->{{md}}{{map link|Cactus Canyon}}<!--
 
  -->{{md}}{{map link|Enclosure}}<!--
 
  -->{{md}}{{map link|Frontier}}<!--
 
  -->{{md}}{{map link|Frostcliff}}<!--
 
  -->{{md}}{{map link|Ghoulpit}}<!--
 
  -->{{md}}{{map link|Gold Rush}}<!--
 
  -->{{md}}{{map link|Gravestone}}<!--
 
  -->{{md}}{{map link|Hellstone}}<!--
 
  -->{{md}}{{map link|Hoodoo}}<!--
 
  -->{{md}}{{map link|Pier}}<!--
 
  -->{{md}}{{map link|Polar}}<!--
 
  -->{{md}}{{map link|Precipice}}<!--
 
  -->{{md}}{{map link|Rumford}}<!--
 
  -->{{md}}{{map link|Snowycoast}}<!--
 
  -->{{md}}{{map link|Swiftwater}}<!--
 
  -->{{md}}{{map link|Terror}}<!--
 
  --> ({{map link|Chilly}})<!--
 
  -->{{md}}{{map link|Thunder Mountain}}<!--
 
  -->{{md}}{{map link|Upward}}<!--
 
  --> ({{map link|Hassle Castle}})<!--
 
  -->{{md}}{{map link|Wutville}}
 
 
 
| group9 = [[Payload Race{{if lang}}|{{Common string|payload race}}]]
 
| list9  = {{map link|Banana Bay}}<!--
 
  -->{{md}}{{map link|Bonesaw|Bonesaw (map)}}<!--
 
  -->{{md}}{{map link|Hightower}}<!--
 
  --> ({{map link|Helltower}})<!--
 
  -->{{md}}{{map link|Nightfall}}<!--
 
  -->{{md}}{{map link|Pipeline}}
 
 
 
| group10 = [[Player Destruction{{if lang}}|{{Common string|player destruction}}]]
 
| list10  = {{map link|Cursed Cove}}<!--
 
  -->{{md}}{{map link|Farmageddon}}<!--
 
  -->{{md}}{{map link|Monster Bash}}<!--
 
  -->{{md}}{{map link|Pit of Death}}<!--
 
  -->{{md}}{{map link|SnowVille}}<!--
 
  -->{{md}}{{map link|Watergate}}
 
 
 
| group11 = [[Robot Destruction{{if lang}}|{{Common string|robot destruction}}]]
 
| list11  = {{map link|Asteroid}}
 
 
 
| group12 = [[Special Delivery (game mode){{if lang}}|{{Common string|special delivery}}]]
 
| list12  = {{map link|Doomsday}})<!--
 
  --> ({{map link|Carnival of Carnage}})
 
 
 
| group13 = [[Territorial Control{{if lang}}|{{Common string|territorial control}}]]
 
| list13  = {{map link|Hydro}}
 
 
 
| group14 = [[Training Mode{{if lang}}|{{Common string|training mode}}]]
 
| list14  = {{map link|Dustbowl|Dustbowl (Training)}}<!--
 
  -->{{md}}{{map link|Target|Target}}
 
 
 
| group15 = {{common string|Other}}
 
| list15  = [[Background01{{if lang}}|Background01]]<!--
 
  -->{{md}}[[Cloak (Test Map){{if lang}}|Cloak]]<!--
 
  --> ([[Cloak (Control Point){{if lang}}|{{Common string|control point}}]])<!--
 
  -->{{md}}[[Example{{if lang}}|Example]]<!--
 
  -->{{md}}[[Devtest{{if lang}}|Devtest]]<!--
 
  -->{{md}}[[Itemtest{{if lang}}|Itemtest]]
 
 
 
     
 
}}<noinclude>
 
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
[[Category:Navigational templates|Maps]]
 
</noinclude>
 

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.