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 |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Simple Index list/styles.css"/> |
<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}}} |
|||
</div></details>|<div class="template__simple_index_list__wrapper" style="column-count:{{{column_count|1}}}"> |
|||
{{{content}}} |
|||
</div>}}</includeonly><noinclude> |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
| Line 7: | 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 |
||
}, |
}, |
||
| Line 19: | Line 24: | ||
"description": "Title of the list", |
"description": "Title of the list", |
||
"type": "string", |
"type": "string", |
||
" |
"suggested": true |
||
} |
} |
||
}, |
}, |
||
| Line 29: | Line 34: | ||
<pre>{{Simple Index list |
<pre>{{Simple Index list |
||
|title=A title |
|title=A title |
||
|content= |
|content=*'''[[Amethyst]]''' |
||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
}}</pre> |
||
{{Simple Index list |
{{Simple Index list |
||
|title=A title |
|title=A title |
||
|content= |
|content=*'''[[Amethyst]]''' |
||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
}} |
||
| Line 43: | Line 48: | ||
|column_count=2 |
|column_count=2 |
||
|title=A title |
|title=A title |
||
|content= |
|content=*'''[[Amethyst]]''' |
||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
}}</pre> |
||
{{Simple Index list |
{{Simple Index list |
||
|column_count=2 |
|column_count=2 |
||
|title=A title |
|title=A title |
||
|content= |
|content=*'''[[Amethyst]]''' |
||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
|||
<pre>{{Simple Index list |
|||
|column_count=2 |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
|||
{{Simple Index list |
|||
|column_count=2 |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
}} |
||
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]]'''
}}