Template:List: Difference between revisions
Appearance
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Array|{{{1}}}|;|{{#switch:{{{mode}}}|link=* [[{item}]]{newline} |#default=* | <includeonly>{{Array|{{{1}}}|delim={{{delim|;}}}|format=<!-- | ||
-->{{#switch:{{{mode}}}<!-- | |||
-->|link=* [[{item}]]{newline} <!-- | |||
-->|#default=* {item}{newline} <!-- | |||
-->}}}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude> | |||
Latest revision as of 11:54, 2 September 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
[edit source]{{List|Item1;Item2|mode = link|delim = delimiter}}
Examples
[edit source]{{List|Rice;Bamboo;Yunguo}} yields:
- Rice
- Bamboo
- Yunguo
{{List|Rice;Bamboo;Yunguo|mode = link}} yields:
{{List|Rice$$Bamboo$$Yunguo|delim = $$}} yields:
- Rice
- Bamboo
- Yunguo
Template Data
[edit source]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 |