Module:Loop/doc: Difference between revisions
Jump to navigation
Jump to search
PathfinderWiki>Virenerus mNo edit summary |
m 1 revision imported |
(No difference)
|
Latest revision as of 01:05, 14 February 2025
This loop implementation loops over arguments in the form of somename1, somename2. It only expands wikitext afterwards which makes it safe to use with categories and other templates.
Usage:
{{ #invoke:Loop | arguments | myArgumentName | [[Category:{{{myArgumentName$n$}}}]] }}
resulting in effectively
{{#if: {{{myArgumentName1|}}}|[[Category:{{{myArgumentName1}}}]]| }}
{{#if: {{{myArgumentName2|}}}|[[Category:{{{myArgumentName2}}}]]| }}...