Difference between revisions of "Template:BeginTileList"

From Wikicarpedia
Jump to navigation Jump to search
Line 1: Line 1:
{{{tiles}}}{{#if: {{{tiles|}}} | '''<translate><!--T:1--> Total tiles:</translate> {{{tiles}}} ''' }}
{{#if: {{{tiles|}}} | '''<translate><!--T:1--> Total tiles:</translate> {{{tiles}}} ''' }}
<onlyinclude><div style="display: table; max-width:{{{1|700px}}};"></onlyinclude><noinclude><hr /><languages/>
<div style="display: table; max-width:{{{1|700px}}};"><noinclude></div><hr /><languages/>
== 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.

Revision as of 20:30, 1 November 2022


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
Total tiles: 72