Template:RulesDragon

From Wikicarpedia
Revision as of 13:50, 29 April 2024 by Petul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Create Rules box for Placing tile. Currently in pink.

Params

  • title (required) - Title of Rules box, when not set, No title defined text will be showed.
  • rules (required) - Text in Rules box, when not set, then will be showed default text No rules defined. .
  • header (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 (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|header=fake-h4|title=Extra stuff for dragon not in TOC|rules=This is text for rules.}} Title is fake-h4 header, not in TOC

Extra stuff for dragon not in TOC

This is text for rules.