Difference between revisions of "Template:RulesDragon/en"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
Line 29: Line 29:
{{{rules|{{{3|'''No rules defined.'''}}}}}}
{{{rules|{{{3|'''No rules defined.'''}}}}}}
</div>
</div>
</div>{{OldNumberedParametersWarning|1{{#if: {{{1|}}} ||NULL}}={{{1|}}}|2{{#if: {{{2|}}} ||NULL}}={{{2|}}}|3{{#if: {{{3|}}} ||NULL}}={{{3|}}}|4{{#if: {{{4|}}} ||NULL}}={{{4|}}}|5{{#if: {{{5|}}} ||NULL}}={{{5|}}} }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
</div>{{OldNumberedParametersWarning|1{{#if: {{{1|}}} ||NULL}}={{{1|}}}|2{{#if: {{{2|}}} ||NULL}}={{{2|}}}|3{{#if: {{{3|}}} ||NULL}}={{{3|}}}|4{{#if: {{{4|}}} ||NULL}}={{{4|}}}|5{{#if: {{{5|}}} ||NULL}}={{{5|}}}|template=RulesDragon }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}

Revision as of 11:18, 28 April 2024

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) [ ==|===|====|=====|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
{{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|title=Extra stuff for dragon not in TOC|rules=This is text for rules.|header=fake-h4}} Title is fake-h4 header, not in TOC

Extra stuff for dragon not in TOC

This is text for rules.

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

No rules defined.