Difference between revisions of "Template:Legends ShipData"
Revision as of 14:21, 14 November 2024 | Revision as of 16:13, 29 November 2024 | |||
Line 302: | Line 302: | |||
|fr_dd_pr_tier4=Cyclone,Siroco, | |fr_dd_pr_tier4=Cyclone,Siroco, | |||
|fr_dd_tt_tier5=Guépard, | |fr_dd_tt_tier5=Guépard, | |||
? | |fr_dd_pr_tier5=Guépard W,Aigle, | + | |fr_dd_pr_tier5=Guépard W,Aigle,Le Glorieux, | |
|fr_dd_tt_tier6=Vauquelin, | |fr_dd_tt_tier6=Vauquelin, | |||
|fr_dd_pr_tier6=Le Terrible,Le Terrible B, | |fr_dd_pr_tier6=Le Terrible,Le Terrible B, | |||
Line 466: | Line 466: | |||
|peu_cc_show_ships=yes | |peu_cc_show_ships=yes | |||
|peu_cc_tt_show_ships=yes | |peu_cc_tt_show_ships=yes | |||
? | |peu_cc_pr_show_ships= | + | |peu_cc_pr_show_ships=yes | |
|peu_dd_show_ships=yes | |peu_dd_show_ships=yes | |||
|peu_dd_tt_show_ships=yes | |peu_dd_tt_show_ships=yes | |||
Line 489: | Line 489: | |||
|peu_cc_pr_tier6= | |peu_cc_pr_tier6= | |||
|peu_cc_tt_tier7= | |peu_cc_tt_tier7= | |||
? | |peu_cc_pr_tier7= | + | |peu_cc_pr_tier7=La Perla Azul, | |
|peu_cc_tt_tier8= | |peu_cc_tt_tier8= | |||
|peu_cc_pr_tier8= | |peu_cc_pr_tier8= |
Revision as of 16:13, 29 November 2024
Documentation
Usage
This templete data will add ships to the following pages:
- Cruisers, Destroyers, Battleships, Aircraft Carriers, Premium Ships, Legendary Ships, All Ships
- United States, Japan, United Kingdom, Germany, France, U.S.S.R., Italy, Pan-Europe, Pan-Asia, Commonwealth, Pan-America, Netherlands
On this template, there are 2 sections for each nation: "Show" and "List"
Show Category Instructions:
- If show is blank for a category, then that category will NOT display on the pages listed above. For example, if a Legends Update adds Italian Tech Tree CVs, then you would need to add "yes" to show tech tree CVs; and then add the CV ship name(s) to the list section as described below.
Ship List Instructions:
- Ship Lists are segmented by Nation, Class and Type (i.e., TechTree, Legendary, Premium) and Tier.
- For example, US, Cruiser, Premium, Tier6 ships are listed as: |usa_cc_pr_tier6=Atlanta,Atlanta B,Boise,Flint,Indianapolis,Indianapolis B,
- The ship list names must be separated with a comma no spaces between ship names.
- A space is ok within the ship name, for example: Ship Name1,ShipName2,Ship Name3,
- The last ship name in a row must also end with a comma.
Examples of use
The following examples use a whileloop template to iterate a display for each ship in the list:
{{Legends_ListWhile|Tier=t6|list={{Legends_ShipData|usa_cc_tt_tier6|}}}}
Typically an if statement is used to only display the list if content exists:
{{#if:{{Legends_ShipData|usa_cc_tt_tier6}}}|{{Legends_ListWhile|Tier=t6|list={{Legends_ShipData|usa_cc_tt_tier6|}}}}}}
- Example 1: A Ship List for USA-Cruiser-TechTree-Tier1-7 as links
- This example uses Template:Legends_ListWhile
USA Cruisers
I
Albany,
II
St. Louis,
III
Phoenix,
IV
Omaha,
V
Pensacola,
V
Dallas,
VI
New Orleans,
VI
Helena,
VII
Baltimore,
VII
Cleveland,
- Example 2: A Ship List for USA-Cruiser-TechTree-Tier1-7 as images and links
- This example uses Template:Legends_ListWhile2, but sources from the same ShipData list
Category: