24,538 ARTICLES
ON THIS WIKI

Template:ExpandMulti/doc

Lua Logo.svg This template is written in Lua. The full source code can be found at Module:Util.

Expands a template for every value in a list of comma-separated values.

Syntax[edit]

{{ExpandMulti|<template>|<args>}}

Example[edit]

{{ExpandMulti|template=Heart|args=1,2,3,4,5}}
gives...

1 (Half Heart.png)2 (Heart.png)3 (Heart.pngHalf Heart.png)4 (Heart.pngHeart.png)5 (Heart.pngHeart.pngHalf Heart.png)