Template:BeginTileList

From Wikicarpedia
Jump to navigation Jump to search
This page contains changes which are not marked for translation.

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/
  • maps (optional). Default -empty-. Show text Total maps: /TEXT/ on begin of list of maps. Allowed value /TEXT/
  • special (optional). Default -empty-. Show text Total special tiles: /TEXT/ on begin of list of special tiles. 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
Total tiles: 72
...
{{BeginTileList|tiles=16 + 1 starting tile}} Start tile list section and show Total tiles: 16 + 1 starting tile above
Total tiles: 16 + 1 starting tile
...
{{BeginTileList|tokens=8}} Start token list section and show Total tokens: 8 above
Total tokens: 8
...
{{BeginTileList|cards=10}} Start cards list section and show Total cards: 10 above
Total cards: 10
...
{{BeginTileList|maps=1}} Start maps list section and show Total maps: 1 above
Total maps: 1
...
{{BeginTileList|special=2}} Start special tiles list section and show Total special tiles: 2 above
Total special tiles: 2
...
{{BeginTileList|nesting=2}} Nesting level 2
...