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">{{{2|<translate><!--T:1--> 1. Placing a tile</translate>}}}</span> {{{1|'''}}}
{{{1|'''}}}<span style="color:#FFFFFF">{{#if: {{{step|}}} | {{{step}}}. | {{{step|1.}}} }}{{{2|<translate><!--T:1--> Placing a tile</translate>}}}</span> {{{1|'''}}}
</div>
</div>


Line 15: Line 15:
== Params ==
== Params ==
* <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|-empty-] - Possible to make tile of Rules box header in Table of Topics
* <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|-empty-] - Possible to make tile of Rules box header in Table of Topics
* <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''1. Placing a tile''' text will be showed.
* <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''Placing a tile''' text will be showed.
* <code>3</code> or 3rd (optional) - Text in Rules box, when not set, there will be showed text, that tile can be placed normally.
* <code>3</code> or 3rd (optional) - Text in Rules box, when not set, there will be showed text, that tile can be placed normally.
* <code>4</code> or 4th (optional) - Replacement of CSS classes
* <code>4</code> or 4th (optional) - Replacement of CSS classes
* <code>part</code> - [ <code>NUMBER.</code> | -empty- = (1.) ] - Number of 
* <code>step</code> - [ <code>NUMBER</code> | -empty- ] - Step number, when empty parameter set, number will be not showed, when set '''.''' will be placed after step number
 
== Examples ==
{| class="wikitable light"
! Code !! Description
|-
! <code><nowiki>{{RulesPlacingTile}}</nowiki></code> || Show Rules box with default title, step number and rules
|-
| colspan="2" | {{RulesPlacingTile}}
|-
! <code><nowiki>{{RulesPlacingTile|step=1b}}</nowiki></code> || Show Rules box with different step number
|-
| colspan="2" | {{RulesPlacingTile|step=1b}}
|-
! <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 01:17, 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 tile of Rules box header in Table of Topics
  • 2 or 2nd (optional) - Title of Rules box, when not set, Placing a tile text will be showed.
  • 3 or 3rd (optional) - Text in Rules box, when not set, there will be showed text, that tile can be placed normally.
  • 4 or 4th (optional) - Replacement of CSS classes
  • step - [ NUMBER | -empty- ] - Step number, when empty parameter set, number will be not showed, when set . will be placed after step number

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|step=1b}} Show Rules box with different step number
1. Placing a tile

Whenever you draw a tile, place it normally.

{{RulesPlacingTile|step=}} Show Rules box without step number
1. Placing a tile

Whenever you draw a tile, place it normally.