Difference between revisions of "Template:RulesPlacingTile"

From Wikicarpedia
Jump to navigation Jump to search
Line 1: Line 1:
<div class="{{{4|wica-top-spacing wica-bottom-spacing wica-visible}}}">
<div class="{{{4|wica-top-spacing wica-bottom-spacing wica-visible}}}">
<div class="wica-box-header wica-placing-tile wica-visible">
<div class="wica-box-header wica-placing-tile wica-visible">
{{{1|=====}}}<span style="color:#FFFFFF">{{#if: {{{step|}}} | {{{step}}}.&nbsp; | {{{step|1.&nbsp;}}} }}{{{2|<translate><!--T:1--> Placing a tile</translate>}}}</span> {{{1|=====}}}
{{{1|=====}}}<span style="color:#FFFFFF">{{{2|<translate><!--T:1--> 1. Placing a tile</translate>}}}</span> {{{1|=====}}}
</div>
</div>


Line 16: Line 16:
== Params ==
== Params ==
* <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|-empty-] - Possible to make title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header.
* <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|-empty-] - Possible to make title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header.
* <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''Placing a tile''' text will be showed.
* <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''1. Placing a tile''' text will be showed.
* <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text '''Whenever you draw a tile, place it normally.'''.
* <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text '''Whenever you draw a tile, place it normally.'''.
* <code>4</code> or 4th (optional) - Replacement of CSS classes.
* <code>4</code> or 4th (optional) - Replacement of CSS classes.
* <code>step</code> - [ <code>NUMBER</code> | -empty- ] - Step number (default 1). When empty parameter set, number will be not showed. When parameter set, '''.''' will be placed after step number.


== Examples ==
== Examples ==
Line 29: Line 28:
| colspan="2" | {{RulesPlacingTile}}
| colspan="2" | {{RulesPlacingTile}}
|-
|-
! <code><nowiki>{{RulesPlacingTile|step=1b}}</nowiki></code> || Show Rules box with different step number
! <code><nowiki>{{RulesPlacingTile|2=1b. Placing gold token}}</nowiki></code> || Change title
|-
|-
| colspan="2" | {{RulesPlacingTile|step=1b}}
| colspan="2" | {{RulesPlacingTile|2=1b. Placing gold token}}
|-
|-
! <code><nowiki>{{RulesPlacingTile|step=}}</nowiki></code> || Show Rules box without step number
|-
| colspan="2" | {{RulesPlacingTile|step=}}
|}
|}


[[Category:Translated templates]]
[[Category:Translated templates]]
</noinclude>
</noinclude>

Revision as of 11:02, 5 November 2022

1. Placing a tile

Whenever you draw a tile, place it normally.


Exclamation2.png

This page is Under construction!
Rules, texts, images and others can be changed.

Description

Create Rules box for Placing tile. Currently in green.

Params

  • 1 or 1st (optional) [ ==|===|====|=====|-empty-] - Possible to make title of Rules box header in Table of Topics, default is ===== as 5th level of header.
  • 2 or 2nd (optional) - Title of Rules box, when not set, 1. Placing a tile text will be showed.
  • 3 or 3rd (optional) - Text in Rules box, when not set, then will be showed default text Whenever you draw a tile, place it normally..
  • 4 or 4th (optional) - Replacement of CSS classes.

Examples

Code Description
{{RulesPlacingTile}} Show Rules box with default title, step number and rules
1. Placing a tile

Whenever you draw a tile, place it normally.

{{RulesPlacingTile|2=1b. Placing gold token}} Change title
1b. Placing gold token

Whenever you draw a tile, place it normally.