Difference between revisions of "Template:BeginTileList/fr"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit Manual revert
(One intermediate revision by the same user not shown)
Line 15: Line 15:
   |1
   |1
   |2 = class="wica-nesting-{{{nesting}}}"
   |2 = class="wica-nesting-{{{nesting}}}"
}}>'''<span lang="en" dir="ltr" class="mw-content-ltr">Total maps:</span> {{{maps}}} '''</div>
}}>'''Total des cartes de Carcassonne : {{{maps}}} '''</div>
}}<div {{#switch:{{{nesting|}}}
}}<div {{#switch:{{{nesting|}}}
   |0
   |0

Revision as of 21:46, 22 February 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/
  • maps (optional). Default -empty-. Show text Total maps: /TEXT/ on begin of list of maps. 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 des tuiles : 72
...
{{BeginTileList|tiles=16 + 1 starting tile}} Start tile list section and show Total tiles: 16 + 1 starting tile above
Total des tuiles : 16 + 1 starting tile
...
{{BeginTileList|tokens=8}} Start token list section and show Total tokens: 8 above
Total des jetons : 8
...
{{BeginTileList|cards=10}} Start cards list section and show Total cards: 8 above
Total des cartes : 10
...
{{BeginTileList|maps=1}} Start maps list section and show Total maps: 8 above
Total des cartes de Carcassonne : 1
...
{{BeginTileList|nesting=2}} Nesting level 2
...