Template:List: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly>{{Array|{{{1}}}|;|* {item}{newline} }}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{Array|{{{1}}}|;|* {item}{newline} }}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude> | <includeonly>{{Array|{{{1}}}|;|{{#switch:{{{2}}}|link=* [[{item}{newline}]] |* {item}{newline} }}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude> | ||
Revision as of 20:23, 16 May 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Creates a list using {{Array}} separated with semicolon ;.
Syntax
{{List|Item1;Item2|mode = link|delim = delimiter}}
Examples
{{List|Rice;Bamboo;Yunguo}} yields: {{Array|Rice;Bamboo;Yunguo|;|
- {item}{newline}
{{List|Rice;Bamboo;Yunguo|mode = link}} yields: {{Array|Rice;Bamboo;Yunguo|;|
- {item}{newline}
{{List|Rice$$Bamboo$$Yunguo|delim = $$}} yields: {{Array|Rice$$Bamboo$$Yunguo|;|
- {item}{newline}
Template Data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| List | 1 | Your list items delimited by semicolon or the delimiter of your choice | String | required |
| Mode | mode | default (plain text) or Link | Unknown | optional |
| Delimiter | delim | Used to define your list items
| Unknown | optional |