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 1: Line 1:
{{#if: {{{tiles|}}} | <div>'''Celkovo kartičiek: {{{tiles}}} '''</div> }}
<includeonly>{{#if: {{{tiles|}}} | <div>'''Celkovo kartičiek: {{{tiles}}} '''</div> }}
<div style="display: table; max-width:{{{1|700px}}};"><noinclude></div><hr /><languages/>
<div style="display: table; max-width:{{{1|700px}}};"></includeonly><noinclude><languages/>{{Breadcrumbs
|link1={{EditorManualLink}}
}}
== Description ==
== Description ==
Begin Tile List, with possible set width of tiles, which means, how much tiles will be +- in a row.
Begin Tile List, with possible set width of tiles, which means, how much tiles will be +- in a row.


== Params ==
== Params ==
* 1st or <code>1</code> (optional) [<code>width</code>{{!}} -empty-] Set width in style 700px (default value when parameter is not set), or in other CSS value like 100%
* <code>width</code> or <code>1</code> 1st (optional). Default <code>700px</code>. Set width of list. Allowed value <code><nowiki>/CSS_SIZE/</nowiki></code>.
* <code>tiles</code> (optional) [<code>NUMBER</code>{{!}} -empty-] Show Total tiles: NUMBER above if set.
* <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>


== Examples ==
== Examples ==
Line 20: Line 22:
! <code><nowiki>{{BeginTileList|tiles=72}}</nowiki></code> || Start tile list section and show '''Total tiles: 72''' above
! <code><nowiki>{{BeginTileList|tiles=72}}</nowiki></code> || Start tile list section and show '''Total tiles: 72''' above
|-
|-
| colspan="2" | {{BeginTileList|tiles=72}}{{EndTileList}}
| colspan="2" | {{BeginTileList|tiles=72}}...{{EndTileList}}
|-
! <code><nowiki>{{BeginTileList|tiles=16 + 1 starting tile}}</nowiki></code> || Start tile list section and show '''Total tiles: 16 + 1 starting tile''' above
|-
| colspan="2" | {{BeginTileList|tiles=16 + 1 starting tile}}...{{EndTileList}}
|}
|}
[[Category:Translatable templates]]
{{#switch: {{PAGELANGUAGE}}
</noinclude>
| en = [[Category:Translatable_templates]]  
|
}}</noinclude>

Revision as of 20:45, 8 November 2022

Description

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

Params

  • width or 1 1st (optional). Default 700px. 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/

Examples

! Wiki Output
{{BeginTileList}} Start tile list section with default width 700px
{{BeginTileList|300px}} Start tile list section with specific width 300px
{{BeginTileList|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
...