Template:Make list: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#invoke: make list | makelist |{{{1}}}|{{{2|,}}}|{{{3|}}}|{{{4|}}}}}</includeonly><noinclude>Category:Templates Template that allows the creation of a list..." |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: make list | makelist |{{{1}}}|{{{2|,}}}|{{{ | <includeonly>{{#invoke: make list | makelist |{{{1}}}|{{{2|,}}}|{{{style|}}}|{{{class|}}}}}</includeonly><noinclude>[[Category:Templates]] | ||
Template that allows the creation of a list (<code><nowiki><ul>...</ul></nowiki></code>) with potential custom class or style, from a delimited list of strings. | Template that allows the creation of a list (<code><nowiki><ul>...</ul></nowiki></code>) with potential custom class or style, from a delimited list of strings. | ||
Line 6: | Line 6: | ||
{{Make list|Joppa, Kyakukya, Grit Gate}} | {{Make list|Joppa, Kyakukya, Grit Gate}} | ||
{| class="wikitable" | |||
! Parameter | |||
! Description | |||
|- | |||
| 1 | |||
| A delimited list | |||
|- | |||
| 2 | |||
| The delimiter. Comma by default. | |||
|- | |||
| class | |||
| A CSS class to apply to the outer <code><nowiki><ul></nowiki></code>. This should be just the content that goes inside of the class attribute quotes, i.e. <code><nowiki>class="<this stuff>"</nowiki></code>. | |||
|- | |||
| style | |||
| A CSS style to apply to the outer <code><nowiki><ul></nowiki></code>. This should be just the content that goes inside of the style attribute quotes, i.e. <code><nowiki>style="<this stuff>"</nowiki></code>. | |||
|} | |||
</noinclude> | </noinclude> |
Latest revision as of 20:36, 19 December 2020
Template that allows the creation of a list (<ul>...</ul>
) with potential custom class or style, from a delimited list of strings.
{{Make list|Joppa, Kyakukya, Grit Gate}}
- Joppa
- Kyakukya
- Grit Gate
Parameter | Description |
---|---|
1 | A delimited list |
2 | The delimiter. Comma by default. |
class | A CSS class to apply to the outer <ul> . This should be just the content that goes inside of the class attribute quotes, i.e. class="<this stuff>" .
|
style | A CSS style to apply to the outer <ul> . This should be just the content that goes inside of the style attribute quotes, i.e. style="<this stuff>" .
|