Difference between revisions of "Template:BeginTileList/pl"
Jump to navigation
Jump to search
(Updating to match new version of source page) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|1 | |1 | ||
|2 = class="wica-nesting-{{{nesting}}}" | |2 = class="wica-nesting-{{{nesting}}}" | ||
}}>{{#if: {{{tiles|}}} | '''Całkowita liczba płytek: {{{tiles}}}''' | {{#if: {{{tokens|}}} | '''Całkowita liczba żetonów: {{{tokens}}}''' | {{#if: {{{cards|}}} | '''Całkowita liczba kart: {{{cards}}}''' | {{#if: {{{maps|}}} | '''Całkowita liczba map: {{{maps}}}''' | {{#if: {{{special|}}} | '''Całkowita liczba specjalnych płytek: {{{special}}}''' | {{#if:{{{description|}}}{{{count|}}} | ''' | }}>{{#if: {{{tiles|}}} | '''Całkowita liczba płytek: {{{tiles}}}''' | {{#if: {{{tokens|}}} | '''Całkowita liczba żetonów: {{{tokens}}}''' | {{#if: {{{cards|}}} | '''Całkowita liczba kart: {{{cards}}}''' | {{#if: {{{maps|}}} | '''Całkowita liczba map: {{{maps}}}''' | {{#if: {{{special|}}} | '''Całkowita liczba specjalnych płytek: {{{special}}}''' | {{#if:{{{description|}}}{{{count|}}} | '''Całkowita liczba {{{description|unknown}}}: {{{count|?}}}''' }} }} }} }} }} }}</div><div {{#switch:{{{nesting|}}} | ||
|0 | |0 | ||
|1 | |1 | ||
|2 = class="wica-nesting-{{{nesting}}}" | |2 = class="wica-nesting-{{{nesting}}}" | ||
}} style="display: flex; flex-wrap: wrap; max-width:{{{width|700px}}}; {{#ifeq: {{{align}}} | bottom | align-items: | }} style="display: flex; flex-wrap: wrap; max-width:{{{width|700px}}}; {{#ifeq: {{{align}}} | bottom | align-items: flex-end;}}"></includeonly><noinclude><languages/>{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}} | ||
{{Breadcrumbs | {{Breadcrumbs | ||
|link1={{EditorManualLink}} | |link1={{EditorManualLink}} |
Latest revision as of 13:08, 10 May 2024
Description
Begin Tile List, with possible set width of tiles, which means, how much tiles will be +- in a row.
Params
width
(optional). Default700px
. Set max width of list. Allowed value/CSS_SIZE/
.nesting
(optional) - [0
,1
,2
] Appendwica-nesting-#
class for margin level0
(none), level1
(22px
) or level2
(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/
(Used for example for scoring tiles, Abbey tiles, King and Robber tiles)description
+count
(optional). Pair for one expansion only type of list, when we want to divide different token types, etc.. LikeSeason condition tokens
andSeason marker token
for Pory roku.
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 |
Całkowita liczba płytek: 72 ...
| |
{{BeginTileList|tiles=16 + 1 starting tile}} |
Start tile list section and show Total tiles: 16 + 1 starting tile above |
Całkowita liczba płytek: 16 + 1 starting tile ...
| |
{{BeginTileList|tokens=8}} |
Start token list section and show Total tokens: 8 above |
Całkowita liczba żetonów: 8 ...
| |
{{BeginTileList|cards=10}} |
Start cards list section and show Total cards: 10 above |
Całkowita liczba kart: 10 ...
| |
{{BeginTileList|maps=1}} |
Start maps list section and show Total maps: 1 above |
Całkowita liczba map: 1 ...
| |
{{BeginTileList|special=2}} |
Start special tiles list section and show Total special tiles: 2 above |
Całkowita liczba specjalnych płytek: 2 ...
| |
{{BeginTileList|nesting=2}} |
Nesting level 2 |
...
| |
{{BeginTileList|count=4|description=Seasons conditions tokens}} |
One time usade of description |
Całkowita liczba Seasons conditions tokens: 4 ...
|