Difference between revisions of "Template:Legends ListWhile2"
Revision as of 20:15, 16 April 2024 | Revision as of 22:31, 2 May 2024 | |||
Line 7: | Line 7: | |||
}}{{#vardefine:i|0}}}}</includeonly> | }}{{#vardefine:i|0}}}}</includeonly> | |||
? | <noinclude><!--{{Legends_ParamList|Class|{{{Class}}}}}--> | + | <noinclude>[[Category:Legends-templates]]<!--{{Legends_ParamList|Class|{{{Class}}}}}--> | |
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 an image with a page link above a text link to the same page link. | * Creates an image with a page link above a text link to the same page link. |
Revision as of 22:31, 2 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 an image with a page link above a text link to the same page link.
- Separates each variable iteration with a page break in an inline-block div.
Example:
Category: