Difference between revisions of "Template:BeginTileList/sk"
Jump to navigation
Jump to search
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{tiles|}}} | <div>'''Celkovo kartičiek: {{{tiles}}} '''</div> }} | <includeonly>{{#if: {{{tiles|}}} | <div>'''Celkovo kartičiek: {{{tiles}}} '''</div> }}{{#if: {{{tokens|}}} | <div>'''Celkovo žetónov: {{{tokens}}} '''</div> }} | ||
<div style="display: flex; flex-wrap: wrap; max-width:{{{width|{{{1|700px}}}}}};"></includeonly><noinclude><languages/>{{Breadcrumbs | <div style="display: flex; flex-wrap: wrap; max-width:{{{width|{{{1|700px}}}}}};"></includeonly><noinclude><languages/>{{Breadcrumbs | ||
|link1={{EditorManualLink}} | |link1={{EditorManualLink}} | ||
Line 8: | Line 8: | ||
== Params == | == Params == | ||
* <code>width</code> or <code>1</code> or 1st (optional). Default <code>700px</code>. Set width of list. Allowed value <code><nowiki>/CSS_SIZE/</nowiki></code>. | * <code>width</code> or <code>1</code> or 1st (optional). Default <code>700px</code>. Set width of list. Allowed value <code><nowiki>/CSS_SIZE/</nowiki></code>. | ||
* <code>tiles</code> (optional). Default <code>-empty-</code>. Show text '''Total tiles: < | * <code>tiles</code> (optional). Default <code>-empty-</code>. Show text '''Total tiles: <code>/TEXT/</code>''' on begin of list of tiles. Allowed value <code><nowiki>/TEXT/</nowiki></code> | ||
* <code>tokens</code> (optional). Default <code>-empty-</code>. Show text '''Total tokens: <code>/TEXT/</code>''' on begin of list of tokens. Allowed value <code> | |||
<nowiki>/TEXT/</nowiki></code> | |||
== Examples == | == Examples == | ||
Line 27: | Line 29: | ||
|- | |- | ||
| colspan="2" | {{BeginTileList|tiles=16 + 1 starting tile}}...{{EndTileList}} | | colspan="2" | {{BeginTileList|tiles=16 + 1 starting tile}}...{{EndTileList}} | ||
|- | |||
! <code><nowiki>{{BeginTileList|tokens=8}}</nowiki></code> || Start token list section and show '''Total tokens: 8''' above | |||
|- | |||
| colspan="2" | {{BeginTileList|tokens=8}}...{{EndTileList}} | |||
|} | |} | ||
{{#switch: {{PAGELANGUAGE}} | {{#switch: {{PAGELANGUAGE}} |
Revision as of 19:48, 24 March 2023
Description
Begin Tile List, with possible set width of tiles, which means, how much tiles will be +- in a row.
Params
width
or1
or 1st (optional). Default700px
. Set width of list. Allowed value/CSS_SIZE/
.tiles
(optional). Default-empty-
. Show text Total tiles:/TEXT/
on begin of list of tiles. Allowed value/TEXT/
tokens
(optional). Default-empty-
. Show text Total tokens:/TEXT/
on begin of list of tokens. Allowed value
/TEXT/
Examples
! Wiki | Output |
---|---|
{{BeginTileList}} |
Start tile list section with default width 700px |
{{BeginTileList|width=300px}} |
Start tile list section with specific width 300px |
{{BeginTileList|width=100%}} |
Start tile list section with width 100% |
{{BeginTileList|tiles=72}} |
Start tile list section and show Total tiles: 72 above |
Celkovo kartičiek: 72 ...
| |
{{BeginTileList|tiles=16 + 1 starting tile}} |
Start tile list section and show Total tiles: 16 + 1 starting tile above |
Celkovo kartičiek: 16 + 1 starting tile ...
| |
{{BeginTileList|tokens=8}} |
Start token list section and show Total tokens: 8 above |
Celkovo žetónov: 8 ...
|