Template:Simple Index list: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) Undo revision 154630 by Tesinormed (talk) Tag: Undo |
||
| (18 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Simple Index list/styles.css"/><details class="template__simple_index_list"> |
<includeonly><templatestyles src="Simple Index list/styles.css"/>{{#if: {{{title|}}}|<details class="template__simple_index_list"><summary class="template__simple_index_list__summary">{{{title}}}</summary><hr class="template__simple_index_list__divider"><div class="template__simple_index_list__wrapper" style="column-count:{{{column_count|1}}}"> |
||
{{{content}}} |
|||
<summary class="template__simple_index_list__summary">Title</summary> |
|||
<div class="template__simple_index_list__wrapper"> |
</div></details>|<div class="template__simple_index_list__wrapper" style="column-count:{{{column_count|1}}}"> |
||
{{{content}}} |
|||
<ul style="column-count:{{{column_count|1}}}" class="template__simple_index_list__list">{{{content}}}</ul> |
|||
| ⚫ | |||
</div> |
|||
| ⚫ | |||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
| Line 12: | Line 11: | ||
"description": "Amount of columns to use", |
"description": "Amount of columns to use", |
||
"type": "number", |
"type": "number", |
||
"default": "1" |
"default": "1", |
||
"suggested": true |
|||
}, |
}, |
||
"content": { |
"content": { |
||
"label": "Content", |
"label": "Content", |
||
"description": "List contents", |
"description": "List contents", |
||
"type": " |
"type": "content", |
||
"required": true |
"required": true |
||
}, |
|||
"title": { |
|||
"label": "Title", |
|||
"description": "Title of the list", |
|||
"type": "string", |
|||
"suggested": true |
|||
} |
} |
||
}, |
}, |
||
| Line 27: | Line 33: | ||
==Examples== |
==Examples== |
||
<pre>{{Simple Index list |
<pre>{{Simple Index list |
||
|title=A title |
|||
| ⚫ | |||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
}}</pre> |
||
{{Simple Index list |
{{Simple Index list |
||
|title=A title |
|||
| ⚫ | |||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
}} |
||
<pre>{{Simple Index list |
<pre>{{Simple Index list |
||
|column_count=2 |
|column_count=2 |
||
|title=A title |
|||
|content=<li>'''[[Amethyst]]'''</li> |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
}}</pre> |
||
{{Simple Index list |
{{Simple Index list |
||
|column_count=2 |
|column_count=2 |
||
|title=A title |
|||
|content=<li>'''[[Amethyst]]'''</li> |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
}} |
||
<pre>{{Simple Index list |
|||
|column_count=2 |
|||
| ⚫ | |||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
|||
{{Simple Index list |
|||
|column_count=2 |
|||
| ⚫ | |||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
|||
[[Category:Templates: tesinormed]] |
|||
[[Category:META: Templates]] |
|||
[[Category:Templates: LordSkorne7]] |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 18:56, May 5, 2025
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Column count | column_count | Amount of columns to use
| Number | suggested |
| Content | content | List contents | Content | required |
| Title | title | Title of the list | String | suggested |
Examples
{{Simple Index list
|title=A title
|content=*'''[[Amethyst]]'''
*'''[[Arquinade Crystal]]'''
*'''[[Diamond]]'''
}}
{{Simple Index list
|column_count=2
|title=A title
|content=*'''[[Amethyst]]'''
*'''[[Arquinade Crystal]]'''
*'''[[Diamond]]'''
}}
{{Simple Index list
|column_count=2
|content=*'''[[Amethyst]]'''
*'''[[Arquinade Crystal]]'''
*'''[[Diamond]]'''
}}