Template:RulesPlacingTile

From Wikicarpedia
Jump to navigation Jump to search

Description

Create Rules box for Placing tile. Currently in green.

Params

  • title or 2 or 2nd (optional) - Title of Rules box, when not set, 1. Placing a tile text will be showed.
  • rules or 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..
  • header or 1 or 1st (optional) [ ==|===|====|=====|2|3|4|5|fake-h2|fake-h3|fake-h4|fake-h5|-empty-] - Title of Rules box header in Table of Topics, default is ===== as 5th level of header, or fake-h# when title is not required in TOC.
  • class or 4 or 4th (optional) - Replacement of CSS classes.
  • id (optional) - HTML ID value

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|title=1b. Placing gold token|rules=This is text for rules.}} Change title
1b. Placing gold token

This is text for rules.

{{RulesPlacingTile|title=Extra stuff for placing tile not in TOC|rules=This is text for rules.|header=fake-h4}} Title is fake-h4 header, not in TOC

Extra stuff for placing tile not in TOC

This is text for rules.

{{RulesPlacingTile|2=1b. Placing gold token|3=This is text for rules.}} Backward compatibility
1b. Placing gold token

This is text for rules.