Difference between revisions of "Template:BeginTileList/sk"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
Line 16: Line 16:
   |1
   |1
   |2 = class="wica-nesting-{{{nesting}}}"
   |2 = class="wica-nesting-{{{nesting}}}"
}} style="display: flex; flex-wrap: wrap; max-width:{{{width|{{{1|700px}}}}}}; {{#ifeq: {{{align}}} | bottom | align-items: baseline;}}"></includeonly><noinclude><languages/>{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
}} style="display: flex; flex-wrap: wrap; max-width:{{{width|{{{1|700px}}}}}}; {{#ifeq: {{{align}}} | bottom | align-items: baseline;}}">{{OldNumberedParametersWarning|1{{#if: {{{1|}}} ||NULL}}={{{1|}}}|2{{#if: {{{2|}}} ||NULL}}={{{2|}}}|3{{#if: {{{3|}}} ||NULL}}={{{3|}}}|4{{#if: {{{4|}}} ||NULL}}={{{4|}}}|5{{#if: {{{5|}}} ||NULL}}={{{5|}}} }}</includeonly><noinclude><languages/>{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
Line 24: Line 24:


== Params ==
== Params ==
* <code>width</code> or <code>1</code> or 1st (optional). Default <code>700px</code>. Set max width of list. Allowed value <code><nowiki>/CSS_SIZE/</nowiki></code>.
* <code>width</code> or (<del><code>1</code></del> or <del>1st</del> ''deprecated'') (optional). Default <code>700px</code>. Set max width of list. Allowed value <code><nowiki>/CSS_SIZE/</nowiki></code>.
* <code>nesting</code> (optional) - [ <code>0</code>, <code>1</code>, <code>2</code> ] Append wica-nesting-# class for margin level 0 (none), 1 (22px) or 2 (42px).
* <code>nesting</code> (optional) - [ <code>0</code>, <code>1</code>, <code>2</code> ] Append <code>wica-nesting-#</code> class for margin level <code>0</code> (none), level <code>1</code> (<code>22px</code>) or level <code>2</code> (<code>42px</code>).  
* <code>align</code> (optional). [<code>bottom</code>|-empty-] Vertical align of content, default top.
* <code>align</code> (optional). [<code>bottom</code>|-empty-] Vertical align of content, default top.
* <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>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>

Revision as of 11:48, 26 January 2024

Description

Begin Tile List, with possible set width of tiles, which means, how much tiles will be +- in a row.

Params

  • width or (1 or 1st deprecated) (optional). Default 700px. Set max width of list. Allowed value /CSS_SIZE/.
  • nesting (optional) - [ 0, 1, 2 ] Append wica-nesting-# class for margin level 0 (none), level 1 (22px) or level 2 (42px).
  • align (optional). [bottom|-empty-] Vertical align of content, default top.
  • 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/
  • cards (optional). Default -empty-. Show text Total cards: /TEXT/ on begin of list of cards. 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
...
{{BeginTileList|cards=10}} Start cards list section and show Total cards: 8 above
Celkovo kariet: 10
...
{{BeginTileList|nesting=2}} Nesting level 2
...