Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:Legends ShipData"

Jump to: navigation, search
Revision as of 07:09, 2 May 2024Revision as of 07:21, 2 May 2024
Line 728:Line 728:
 <noinclude> <noinclude>
 [[Category:Legends-templates]] [[Category:Legends-templates]]
?* [[Template:Legends ShipData]] - Update the ShipData template for "Show" categories and "List" names. This will add the ship to the following pages:+ 
 +This templete will add the ships to the following pages:
 ** Ship Type pages: [[Navy:Cruisers|Cruisers]], [[Navy:Destroyers|Destroyers]], [[Navy:Battleships|Battleships]], [[Navy:Aircraft Carriers|Aircraft Carriers]], [[Navy:Premium_Ships|Premium Ships]], [[Navy:Legendary_Ships|Legendary Ships]], [[Navy:All_Ships|All Ships]] ** Ship Type pages: [[Navy:Cruisers|Cruisers]], [[Navy:Destroyers|Destroyers]], [[Navy:Battleships|Battleships]], [[Navy:Aircraft Carriers|Aircraft Carriers]], [[Navy:Premium_Ships|Premium Ships]], [[Navy:Legendary_Ships|Legendary Ships]], [[Navy:All_Ships|All Ships]]
 ** Nation pages: [[Navy:United States|United States]], [[Navy:Japan|Japan]], [[Navy:United Kingdom|United Kingdom]], [[Navy:Germany|Germany]], [[Navy:France|France]], [[Navy:USSR|U.S.S.R.]], [[Navy:Italy|Italy]], [[Navy:Pan-Europe|Pan-Europe]], [[Navy:Pan-Asia|Pan-Asia]], [[Navy:Commonwealth|Commonwealth]], [[Navy:Pan-America|Pan-America]] ** Nation pages: [[Navy:United States|United States]], [[Navy:Japan|Japan]], [[Navy:United Kingdom|United Kingdom]], [[Navy:Germany|Germany]], [[Navy:France|France]], [[Navy:USSR|U.S.S.R.]], [[Navy:Italy|Italy]], [[Navy:Pan-Europe|Pan-Europe]], [[Navy:Pan-Asia|Pan-Asia]], [[Navy:Commonwealth|Commonwealth]], [[Navy:Pan-America|Pan-America]]
 +On this template, there are 2 sections for each nation "Show" and "List". If show is blank for a category, then that category won't show on the other pages. For example, if a Legends Update adds Italian CVs, the you would need to add the ship to list and add "yes" to show techtree CVs.
 +
 +ship list names must be separated with a comma and no spaces between ships. End the last ship with a comma.
 +show_ships=yes [Add "yes" if the nation has ships for the type to display them on ship pages]
 +show_ships= [Leave blank if the ship type should not be displayed on ship pages]
 +
 +
 ** This does NOT update ships on the In-Game Categories page. ** This does NOT update ships on the In-Game Categories page.
  
 </noinclude> </noinclude>

Revision as of 07:21, 2 May 2024


This templete will add the ships to the following pages:

On this template, there are 2 sections for each nation "Show" and "List". If show is blank for a category, then that category won't show on the other pages. For example, if a Legends Update adds Italian CVs, the you would need to add the ship to list and add "yes" to show techtree CVs.

ship list names must be separated with a comma and no spaces between ships. End the last ship with a comma. show_ships=yes [Add "yes" if the nation has ships for the type to display them on ship pages] show_ships= [Leave blank if the ship type should not be displayed on ship pages]


    • This does NOT update ships on the In-Game Categories page.