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)
Line 1: Line 1:
{{#if: {{{tiles|}}} | '''Celkovo kartičiek: {{{tiles}}} ''' }}
{{{tiles}}}{{#if: {{{tiles|}}} | '''Celkovo kartičiek: {{{tiles}}} ''' }}
<onlyinclude><div style="display: table; max-width:{{{1|700px}}};"></onlyinclude><noinclude><hr /><languages/>
<onlyinclude><div style="display: table; max-width:{{{1|700px}}};"></onlyinclude><noinclude><hr /><languages/>
== Description ==
== Description ==
Line 10: Line 10:
== Examples ==
== Examples ==
{| class="wikitable"
{| class="wikitable"
! Wiki !! Output
!! Wiki !! Output
|-
|-
| <code><nowiki>{{BeginTileList}}</nowiki></code> || Start tile list section with default width 700px  
|| <code><nowiki>{{BeginTileList}}</nowiki></code> || Start tile list section with default width 700px  
|-
|-
| <code><nowiki>{{BeginTileList|300px}}</nowiki></code> || Start tile list section with specific width 300px  
|| <code><nowiki>{{BeginTileList|300px}}</nowiki></code> || Start tile list section with specific width 300px  
|-
|-
| <code><nowiki>{{BeginTileList|100%}}</nowiki></code> || Start tile list section with width 100%  
|| <code><nowiki>{{BeginTileList|100%}}</nowiki></code> || Start tile list section with width 100%  
|-
|-
| <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}}
|}
[[Category:Translatable templates]]
[[Category:Translatable templates]]
</noinclude>
</noinclude>

Revision as of 20:09, 1 November 2022

{{{tiles}}}


Description

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

Params

  • 1st or 1 (optional) [width| -empty-] Set width in style 700px (default value when parameter is not set), or in other CSS value like 100%
  • tiles (optional) [NUMBER| -empty-] Show Total tiles: NUMBER above if set.

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