Template:RulesDragon

From Wikicarpedia
Revision as of 07:07, 26 May 2023 by Bumsakalaka (talk | contribs)
Jump to navigation Jump to search

Description

Create Rules box for Placing tile. Currently in pink.

Params

  • title or 2 or 2nd (required) - Title of Rules box, when not set, No title defined text will be showed.
  • rules or 3 or 3rd (required) - Text in Rules box, when not set, then will be showed default text No rules defined. .
  • header or 1 or 1st (optional) [ ==|===|====|=====|-empty-] - Possible to make title of Rules box header in Table of Topics, default is ===== as 5th level of header.
  • class or 4 or 4th (optional) - Replacement of CSS classes.
  • id (optional) - HTML ID value

Examples

Code Description
{{RulesDragon}} Show Rules box with default title, step number and rules
No title defined

No rules defined.

{{RulesDragon|title=2b. Dragon move|rules=This is text for rules.}} Change title
2b. Dragon move

This is text for rules.

{{RulesDragon|2=2b. Dragon move|3=This is text for rules.}} Backward compatibility
2b. Dragon move

This is text for rules.