Template:Simple Index list: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) Created page with "<!-- copy from Index:Imagindarium's Creation -->" Tag: 2017 source edit |
Tesinormed (talk | contribs) Undo revision 154630 by Tesinormed (talk) Tag: Undo |
||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<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}}}"> |
|||
<!-- copy from [[Index:Imagindarium's Creation]] --> |
|||
{{{content}}} |
|||
</div></details>|<div class="template__simple_index_list__wrapper" style="column-count:{{{column_count|1}}}"> |
|||
{{{content}}} |
|||
</div>}}</includeonly><noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"column_count": { |
|||
"label": "Column count", |
|||
"description": "Amount of columns to use", |
|||
"type": "number", |
|||
"default": "1", |
|||
"suggested": true |
|||
}, |
|||
"content": { |
|||
"label": "Content", |
|||
"description": "List contents", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"title": { |
|||
"label": "Title", |
|||
"description": "Title of the list", |
|||
"type": "string", |
|||
"suggested": true |
|||
} |
|||
}, |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
==Examples== |
|||
<pre>{{Simple Index list |
|||
|title=A title |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
|||
{{Simple Index list |
|||
|title=A title |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}} |
|||
<pre>{{Simple Index list |
|||
|column_count=2 |
|||
|title=A title |
|||
|content=*'''[[Amethyst]]''' |
|||
*'''[[Arquinade Crystal]]''' |
|||
*'''[[Diamond]]''' |
|||
}}</pre> |
|||
{{Simple Index list |
|||
|column_count=2 |
|||
|title=A title |
|||
|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]]''' |
|||
}} |
|||
[[Category:Templates: tesinormed]] |
|||
[[Category:META: Templates]] |
|||
[[Category:Templates: LordSkorne7]] |
|||
</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]]'''
}}