Difference between revisions of "Template:Legends ListWhile"
Revision as of 17:12, 16 May 2024 | Revision as of 17:13, 16 May 2024 | |||
Line 8: | Line 8: | |||
A "while" statement is like saying, "keep doing this action until a certain condition is no longer true." This template processes a comma separated list, one item at a time, until there are no more items in the list. | A "while" statement is like saying, "keep doing this action until a certain condition is no longer true." This template processes a comma separated list, one item at a time, until there are no more items in the list. | |||
* Creates a list of page link text separated inline with a comma | * Creates a list of page link text separated inline with a comma | |||
? | * The primary use is | + | * The primary use is to create ship list on pages based on names in Template:Legends_ShipList | |
<br> | <br> | |||
Revision as of 17:13, 16 May 2024
A "while" statement is like saying, "keep doing this action until a certain condition is no longer true." This template processes a comma separated list, one item at a time, until there are no more items in the list.
- Creates a list of page link text separated inline with a comma
- The primary use is to create ship list on pages based on names in Template:Legends_ShipList
Example:
Category: