Template:NamedList: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{{1}}}
<includeonly>{{#arraydefine:groups| {{{1}}} |;|}}{{#arrayprint:groups|<br />|@@@@|{{NamedGroup|@@@@|{{{2|List}}}|:{{!!}}|, }}}}</includeonly>
 
<noinclude>{{NamedList | title { element 1, element 2 }; title2 {element 2, element 3} | {{!}} class="infobox-parameter" {{!}}}}
DEFINE ARRAY
****
 
{{NamedList | one thing here | {{!}} class="infobox-parameter" {{!}}}}
{{#arraydefine:groups| {{{1}}} |;|}}
****
 
{{NamedList | 1a, 1b; 2a, 2b, 2c; 3a | {{!}} class="infobox-parameter" {{!}}}}
PRINT ARRAY
</noinclude>
 
{{#arrayprint:groups}}
 
END
 
<noinclude>{{{NamedList | title { element 1, element 2 }; title2 {element 2, element 3} }}}</noinclude>

Revision as of 20:12, 13 April 2022

List:||title { element 1,element 2 }
List:||title2 {element 2,element 3}

List:||one thing here

List:||1a,1b
List:||2a,2b,2c
List:||3a


Cookies help us deliver our services. By using our services, you agree to our use of cookies.