Wargaming.net 위키에 오신 것을 환영합니다!
문서
토론
변수
보기
소스
기존 내역 보기
검색
예시:
게임
World of Tanks
World of Warplanes
World of Warships
WoT Generals
WoT Blitz
WoT XBOX
둘러보기
대문
Wiki discussion
Purge page cache
임의 문서로
최근 바뀜
도움말
World of Tanks Portal
World of Warplanes Portal
World of Warships Portal
World of Tanks Blitz Portal
World of Tanks: Xbox 360 Edition Portal
도구
여기를 가리키는 문서
가리키는 글의 바뀜
특수 문서 목록
문서 정보
홈페이지
/
Widget Guide
Widget Guide 문서 원본 보기
←
Widget Guide
이동:
둘러보기
,
검색
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 중 하나의 권한을 가진 사용자에게만 가능합니다:
사용자
,
참여자
글을 수정하려면 Wargaming.net의 게임에서 전투 100 미만을 누적해야 합니다.
문서의 원본을 보거나 복사할 수 있습니다:
{| align="center" border=0 cellpadding="0" cellspacing="4" style="background: none;margin-bottom:35px;clear:both;" | [[File: metalfile.png | 50px]] |'''Article requires additional modification''' <br /> The design and content of the article does not meet the project requirements. {{{1|}}} |} [[Category: Append | {{PAGENAME}}]] == Global Wiki: Widgets == === General info === Extension allows us use the preset widgets . Widgets are adapted for GlobalWiki skining and may contain logic. <pre> <nowiki> {{#gw_vehicle_list: nation = germany | class = mediumTank | gold = 0 | order = level | style = text | divider = • }} </nowiki> </pre> All the widgets have "gw_" in front. Example: <pre> <nowiki> {{#gw_super_widget:parameter_1|parameter_2|parameter_3}} </nowiki> </pre> === General codes === ==== Nations ==== 'ussr', 'germany', 'usa', 'france', 'china', 'uk', 'japan' ==== Tanks type ==== 'lighttank', 'mediumtank', 'heavytank', 'at-spg', 'spg' ==== Supported languages==== wot: 'cs', 'da', 'de', 'en', 'es', 'et', 'fi', 'fr', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'ms', 'nl', 'no', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sr', 'sv', 'th', 'tr', 'vi', 'zh-cn', 'zh-tw' wowp: 'cs', 'de', 'en', 'es', 'es-ar', 'fr', 'pl', 'ru', 'tr' === Widgets. Explanations... === ==== gw_article_scroll ==== Allows to add scroll function of selected articles to the page: article is fully added to the page and you can switch articles by using arrows. Parameters: * titles of pages through a comma. * placeholder [not necessary] (the whole word can be omitted, add only parametrs) [none, auto, height in pixels(400), width x height ( 300x200)] (by default auto) — size of placeholder, i mean area which is dispalayed to a user during loading. * none — placeholder height is taken from height of widget content (but not less than heght of loader 32px) (use it for text articles) * auto — height is taken from the ratio of the video as agreed with designers (500x350). Articles with video. * height in px — can be any, but not less than loader. * width x height — any ratio of the width to the height of the loader. This is not the size, but data to calculate the ratio. * nodots [not necessary] [0,1] (by default, 0) — use 1 for all except for articles with video. JS-code is used. Max number of articles - 10. Should only be used in predefined containers: <pre> <nowiki> <div class="b-info clearfix"> <div class="b-info_item"> <div class="l-info_inner"> <h2>Good articles</h2>{{#gw_article_scroll:Хорошая статья2|placeholder=none|nodots=1}}[[Special:Categories/good_articles|class=b-info_more|Next section»]] </div> </div> <div class="b-info_item"> <div class="l-info_inner"> <h2>Video guides</h2>{{#gw_article_scroll:First steps,for new players|500x350}}[[Special:Categories/Video guide|class=b-info_more|Next section »]] </div> </div> </div> </nowiki> </pre> Sample page - [[Gw_article_scroll_sample]] ==== gw_games_menu ==== Added to the game menu page. Can have unlimited number of games. <pre> <nowiki> {{#gw_games_menu:World_of_Tanks|World_of_Warplanes|World_of_Warships|WoT_Generals}} </nowiki> </pre> Sample page - [[Gw games menu sample]] ==== gw_art_list ==== Forms designer list on the page . As an element of the list picture is used. Images can be found here (link to come) <pre> <nowiki> {{#gw_art_list: World_of_Tanks:Crew#menu_icon_crew.png| World_of_Tanks:Ammo#menu_icon_gun.png| World_of_Tanks:Ammoе#menu_icon_ammo.png| World_of_Tanks:Equipment#menu_icon_equipment.png| World_of_Tanks:Icon view#menu_icon_view.png }} </nowiki> </pre> Sample page - [[Gw art list sample]] ==== gw_info_block ==== Preset formatting of information blocks. Takes into account a significance and text content. <pre> <nowiki> {{#gw_info_block:|test text}} {{#gw_info_block:red|test text}} {{#gw_info_block:green|test text}} {{#gw_info_block:blue|test text}} </nowiki> </pre> Sample page - [[Gw info block sample]] ==== gw_separator ==== Preset formatting for Separator <pre> <nowiki> {{#gw_separator:}} </nowiki> </pre> Sample page - [[Gw separator sample]] ==== gw_vehicle_equipments ==== Preset formatting for equipment list. <pre> <nowiki> {{#gw_vehicle_equipments:MS-1}} </nowiki> </pre> Sample page- [[Gw vehicle equipments sample]] ==== gw_vehicle_devices ==== Preset formatting for vehicle devices list. <pre> <nowiki> {{#gw_vehicle_devices:MS-1}} </nowiki> </pre> Sample page - [[Gw vehicle devices sample]] ==== gw_switcher ==== Switcher for the content. Can be used as map switcher: * menu = top | bottom (by default bottom) * align=right | left (by default left) * float = 0 | 1 (by default 0) * background=[[File:File_name.png|150x150px|link=|Caption]] * style=1|2 (by default 1) Name of the bookmark must be separated by #. <pre> <nowiki> {{#gw_switcher:menu=top|style=2|Button1#Content1|Button2#Content2}} {{#gw_switcher: |Button1@icon-tabs-table.png# Content1 |Button2@icon-tabs-tree.png# Content2 }} {{#gw_switcher:|align=right|float=1|background=[[File:Lassvil_minimap.jpg|150x150px]] |Original# |Button1# [[File:Lassvil_minimap_tags.jpg|150x150px|link=|guns ваып]] |Button2# [[File:Device_stereoscope.png|150x150px|link=|guns ваdfgп]] }} </nowiki> </pre> Sample page - [[Gw switcher sample]] ==== gw_skills ==== Preset formatting for skills and perks (crew): crew member#skill/perk display name| crew member#skill/perk code or translation* separated by , If you want to show that some of the perks is not necessary add ? after it <nowiki>*</nowiki> — Translated as in game client. Первый параметр в нижеследующем примере. <pre> <nowiki> {{#gw_skills: Commander#Sixth Sence,Repair,Camo,Tutor?| commander#commander_sixthSense?,repair?,camouflage,commander_tutor }} </nowiki> </pre> ===== Crew members code array. ===== ''''commander'''' * 0 => 'repair' * 1 => 'fireFighting' * 2 => 'camouflage' * 3 => 'brotherhood' * 4 => 'commander_tutor' * 5 => 'commander_expert' * 6 => 'commander_universalist' * 7 => 'commander_sixthSense' * 8 => 'commander_eagleEye' ''''radioman'''' * 0 => 'repair', * 1 => 'fireFighting', * 2 => 'camouflage', * 3 => 'brotherhood', * 4 => 'radioman_finder', * 5 => 'radioman_inventor', * 6 => 'radioman_lastEffort', * 7 => 'radioman_retransmitter', ''''driver'''' * 0 => 'repair', * 1 => 'fireFighting', * 2 => 'camouflage', * 3 => 'brotherhood', * 4 => 'driver_tidyPerson', * 5 => 'driver_smoothDriving', * 6 => 'driver_virtuoso', * 7 => 'driver_badRoadsKing', * 8 => 'driver_rammingMaster', ''''gunner'''' * 0 => 'repair', * 1 => 'fireFighting', * 2 => 'camouflage', * 3 => 'brotherhood', * 4 => 'gunner_smoothTurret', * 5 => 'gunner_gunsmith', * 6 => 'gunner_sniper', * 7 => 'gunner_rancorous', * 8 => 'gunner_woodHunter', ''''loader'''' * 0 => 'repair', * 1 => 'fireFighting', * 2 => 'camouflage', * 3 => 'brotherhood', * 4 => 'loader_pedant', * 5 => 'loader_desperado', * 6 => 'loader_intuition', ==== gw_nav_table ==== Preset formatting for navigation table. Parameters: o name — name of the block o icon — code for icon[lighttank, mediumtank, heavytank, at-spg, spg, ussr, germany, usa, france, china, uk, japan, premium] (by default, without icon) o <Name of the table>#<Content> gw_nav_table must be inserted into construction <pre><nowiki><div class="b-tech-nav"> ... </div></nowiki></pre>, as below. <pre> <nowiki> <div class="b-tech-nav"> {{#gw_nav_table: name = Germany | Light Tanks#{{#gw_vehicle_list: nation = germany | class = lightTank | gold = 0 | order = level | style = text | divider = • }} | Heavy Tanks#{{#gw_vehicle_list: nation = germany | class = heavyTank | gold = 0 | order = level | style = text | divider = • }} }} {{#gw_nav_table: name = Maps | icon = | Summer maps#{{#gw_arena_list: summer}} | Winter maps#{{#gw_arena_list: winter | divider = *}} | Desert maps#{{#gw_arena_list: desert}} }} </div> </nowiki> </pre> ==== gw_vehicle_list ==== Preset formatting for vehicle lists. Parameters and attendant variables need to be separated from other parameters by |. Not all parameters need to be listed, will display default if not. * game - defaults to wot, only one can be used, must be between gw_vehicle_list: and any following parameters. ::[wot:] ::[wowp:] * nation — defaults to all nations, several can be used but must be separated by comma. ::[wot: china, germany, ussr, france, uk, usa, japan] ::[wowp: germany, ussr, uk, usa, japan] * class — defaults to all types, several can be used but must be separated by comma. ::[wot: lightTank, mediumTank, heavyTank, AT-SPG, SPG] ::[wowp: fighter, fighterheavy, assault] * gold — defaults to both. ::show only premium [1] ::show only non premium [0] * order — attribute codes, defaults to level (tier), several can be used but must be separated by comma. ::[wot: 'mark', 'shortMark', 'description', 'nation', 'notInShop', 'price', 'gold', 'level', 'class', 'speedForward', 'speedBack', 'hullWeight', 'hullHealth', 'health', 'loadLimit', 'power', 'traverseSpeed', 'signalRange', 'viewRange', 'armorHullFront', 'armorHullSide', 'armorHullBack', 'armorTurretFront', 'armorTurretSide', 'armorTurretBack', 'weight', 'gun', 'turretTraverse', 'traverseLeft', 'traverseRight', 'elevationSpeed', 'maxAmmo', 'reloadTime', 'elevation', 'depression', 'penetration1', 'damage1', 'penetration2', 'damage2', 'penetration3', 'damage3', 'isTurret'] ::[wowp: rate_of_climbing, speed_factor, controllability, dps, hp, average_turn_time, binds_id, stall_speed, roll_maneuverability, is_default, maneuverability, max_speed, mass, vehicle, speed_at_the_ground, optimal_maneuver_speed, dive_speed, optimal_height, name, price_gold, level, nation, price_credit, full_name, vehicle_type, description] * style — defaults to text ::[image, text] * divider — defaults to • <pre> <nowiki> {{#gw_vehicle_list: nation = germany | class = mediumTank | gold = 0 | order = level | style = text | divider = • }} {{#gw_vehicle_list:wowp: nation = ussr,germany | class = fighter,fighterheavy,assault| gold = 0 | order = level | style = image }} </nowiki> </pre> ==== gw_arena_list ==== Preset formatting for maps list : o Type [summer, winter, desert] (by default, all) o divider — (by default, •) <pre> <nowiki> {{#gw_arena_list: winter,desert | divider = *}} </nowiki> </pre> ==== gw_vehicle_annotation ==== Preset formatting for tank annotations o Tank code o 3d — show or not [0, 1] (by default, 0) <pre> <nowiki> <div class="b-description"> {{#gw_vehicle_annotation: T29 | 3d=1 }} Description text </div> {{#gw_vehicle_annotation:T29}} </nowiki> </pre> ==== gw_rank_table ==== Preset formatting for crew ranks: o Nations list (by default shows all) Note! Japanese nation is not fully supported <pre> <nowiki> {{#gw_rank_table:usa,ussr}} {{#gw_rank_table:}} </nowiki> </pre> ==== gw_achievments_set ==== Preset formatting for Battle achievements: o Achievements = explanation. If they have several explanations (class rewards) # must be used: markOfMastery#4 [# Battle achievements. 'warrior', 'invader', 'sniper', 'defender', 'steelwall', 'supporter', 'scout', 'evileye', # Medal with classes (1st-4th). // Т.е. использовать надо так: medalKay#2 - для отображения медали второй степени, например. 'medalKay', 'medalCarius', 'medalKnispel', 'medalPoppel', 'medalAbrams', 'medalLeClerc', 'medalLavrinenko', 'medalEkins', 'markOfMastery', # Epic achievements. 'medalWittmann', 'medalOrlik', 'medalOskin', 'medalHalonen', 'medalBurda', 'medalBillotte', 'medalKolobanov', 'medalFadin', 'medalRadleyWalters', 'medalLafayettePool', 'medalBrunoPietro', 'medalTarczay', 'medalPascucci', 'medalDumitru', 'medalLehvaslaiho', 'medalNikolas', 'heroesOfRassenay', 'medalDeLanglade', 'medalTamadaYoshio', # Special achievements. 'kamikaze', 'raider', 'mousebane', 'beasthunter', 'sinai', 'pattonValley', 'bombardier', 'huntsman', 'sturdy', 'ironMan', 'luckyDevil', 'tankExpert', 'tankExpert0', 'tankExpert1', 'tankExpert2', 'tankExpert3', 'tankExpert4', 'tankExpert5', // Нумерация по нациям 'mechanicEngineer', 'mechanicEngineer0', 'mechanicEngineer1', 'mechanicEngineer2', 'mechanicEngineer3', 'mechanicEngineer4', 'mechanicEngineer5', // Нумерация по нациям # group achievements 'medalCrucialContribution', 'medalBrothersInArms', # Series achievements. 'titleSniper', 'invincible', 'diehard', 'handOfDeath', 'armorPiercer', # client specific achievements 'whiteTiger' ]; <pre> <nowiki> {{#gw_achievments_set:whiteTiger= why not | warrior = as I can | markOfMastery#4 = easy to do }} </nowiki> </pre> ==== gw_vehicle_menu_nations ==== Preset formatting for nation list. <pre> <nowiki> <div class="b-vehicles clearfix b-vehicles__nation js-vehicles_by_nations b-vehicles__not-active"> {{#gw_vehicle_menu_nations: }} </div> </nowiki> </pre> ==== gw_vehicle_menu_types ==== Preset formatting for vehicles by types <pre> <nowiki> <div class="b-vehicles clearfix js-vehicles_by_types"> {{#gw_vehicle_menu_types: }} </div> </nowiki> </pre> ==== gw_levels_bar ==== Preset formatting for battle level list <pre> <nowiki> {{#gw_levels_bar:total=10|from=1|to=5}} </nowiki> </pre> ==== gw_info_panel ==== Preset formatting for information panels about the main subject of the article. Panel is located to the right on the page and contains the main characteristics of the object. <pre> <nowiki> {{#gw_info_panel:title=Название объекта|image=1315308978_winter_01.jpg |annotation=Short description |content=Detailed info |appendix=last info }} {{#gw_info_panel:title=Название объекта|image=1315308978_winter_01.jpg |annotation=Short description |content={{#gw_vehicle_params:t-34|data=price,health|title=General info}} }} {{#gw_info_panel:title=T-34|image=1315308978_winter_01.jpg |annotation= [[Medium Tank|class=b-performance_position-link|]][[Germany|class=b-performance_position-link|]][[V ур.|class=b-performance_position-link|]] |content= {{#gw_vehicle_params:t-34|data=«Pazic»|title=Name in the game}} {{#gw_vehicle_params:t-34|data=price,health,weight,power,speed,traverseSpeed|title=General info}} {{#gw_vehicle_params:t-34|data=crew|title=Crew}} {{#gw_vehicle_params:t-34|data=armorHull,armorTurret|title=Armor}} {{#gw_vehicle_params:t-34|data=damage,penetration,reloadTime,turretTraverse|title=Ammunition}} {{#gw_vehicle_params:t-34|data=viewRange}} {{#gw_vehicle_params:t-34|data=signalRange}} <div class="b-battles-levels">[[Battle level|class=b-performance_title b-performance_title__link|]] {{#gw_levels_bar:total=10|from=5|to=5}}</div> |appendix= {{#gw_vehicle_relatives:t-34}} <div class="b-performance_info"><p>100% crew characteristics.</p></div> }} {{#gw_info_panel:title=Ил-2-1|image=1315308978_winter_01.jpg |annotation=Good plane |content= {{#gw_vehicle_params:wowp:il-2-1|data=«Motorchik»|title=Name in the game}} {{#gw_vehicle_params:wowp:il-2-1|data=rate_of_climbing,speed_factor,controllability,dps,hp,average_turn_time,stall_speed,roll_maneuverability,maneuverability,max_speed,mass,speed_at_the_ground,optimal_maneuver_speed,dive_speed,optimal_height,level,price|title=All}} }} </nowiki> </pre> ==== gw_vehicle_params ==== Preset formatting for vehicle parameters. Main usagе - add to gw_info_panel info about specifications. o Vehicle code o data - code list separated by comma o title data for tank - price,health,weight,power,speedForward,traverseSpeed,armorHull,armorTurret,damage,penetration,reloadTime,turretTraverse,viewRange,signalRange. date for plane - rate_of_climbing,speed_factor,controllability,dps,hp,average_turn_time,stall_speed,roll_maneuverability,maneuverability,max_speed,mass,speed_at_the_ground,optimal_maneuver_speed,dive_speed,optimal_height,level,price. Parameter crew of the tank can be combined with other parameters, but it must be an only value of the attribute of the data. <pre> <nowiki> {{#gw_vehicle_params:t-34|data=price,health,weight,power,speedForward,traverseSpeed|title=General info}} {{#gw_vehicle_params:t-34|data=crew|title=Экипаж}} {{#gw_vehicle_params:t-34|data=armorHull,armorTurret|title=Armor}} {{#gw_vehicle_params:t-34|data=damage,penetration,reloadTime,turretTraverse|title=Ammo}} {{#gw_vehicle_params:t-34|data=viewRange}} {{#gw_vehicle_params:wot:t-34|data=signalRange}} {{#gw_vehicle_params:wot:t-34|data=«Pazik»|title=Nickname in game}} {{#gw_vehicle_params:wowp:il-2-1|data=rate_of_climbing,speed_factor,controllability|title=All}} </nowiki> </pre> ==== gw_vehicle_relatives ==== Preset formatting for info about previous and next tanks in tech tree. Used for - adding info to gw_info_panel with tank characteristics. o Tank Code <pre> <nowiki> {{#gw_vehicle_relatives:t-34}} </nowiki> </pre> ==== gw_vehicle_modules ==== Preset formatting for info about tank modules. o Tank code <pre> <nowiki> {{#gw_vehicle_modules: MT25}} {{#gw_vehicle_modules:wowp: il-2-1}} </nowiki> </pre> ==== Info in the widget is Preset : ==== Displayed Parameters 'wot' 'turret' = 'level', 'mark', 'turretArmor', 'turretTraverse', 'viewRange', 'experienceCost', 'weight', 'price' 'gun' = 'level', 'mark', 'penetration', 'damage', 'fireRate', 'shotDispersionRadius', 'aimingTime', 'experienceCost', 'weight', 'price' 'engine' = 'level', 'mark', 'power', 'fireStartingChance', 'experienceCost', 'weight', 'price' 'chassis' = 'level', 'mark', 'loadLimit', 'traverseSpeed', 'experienceCost', 'weight', 'price' 'radio' = 'level', 'mark', 'distance', 'experienceCost', 'weight', 'price' 'wowp' 'engine' = 'level', 'full_name', 'power', 'equipment_type', 'thrust', 'mass', 'price' 'planer' = 'level', 'full_name', 'hp', 'mass', 'price' 'gun' = 'level', 'full_name', 'caliber', 'bullet_velocity', 'dps', 'rpm', 'mass', 'price' 'turret' = 'level', 'full_name', 'caliber', 'bullet_velocity', 'weapon_count', 'dps', 'rpm', 'mass', 'price' 'rocket' = 'level', 'full_name', 'explosion_radius', 'explosion_damage_max', 'mass', 'price' 'bomb' = 'level', 'full_name', 'explosion_radius', 'explosion_damage_max', 'mass', 'price' [[Category:Wiki Resources]]
Widget Guide
문서로 돌아갑니다.
소속 지역:
로그인하려면 회원 가입한 지역을 선택해 주십시오
유럽
북아메리카
아시아
또는 Microsoft를 이용하여 월드 오브 탱크 Xbox 게임에 로그인해 주십시오
로그인
대화창 다시 표시하지 않기