Difference between revisions of "Template:RulesAction"

From Wikicarpedia
Jump to navigation Jump to search
Line 7: Line 7:
{{{rules|{{{3|'''<translate><!--T:2--> No rules defined.</translate>'''}}}}}}
{{{rules|{{{3|'''<translate><!--T:2--> No rules defined.</translate>'''}}}}}}
</div>
</div>
</div>{{OldNumberedParametersWarning}}</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|}}} }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}

Revision as of 12:50, 13 October 2023

Description

Create Rules box for Action. Currently in yellow.

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
{{RulesAction}} Show Rules box with default title, step number and rules
No title defined

No rules defined.

{{RulesAction|title=4. Action phase|rules=This is text for rules.}} Change title
4. Action phase

This is text for rules.

{{RulesAction|2=4. Action phase|3=This is text for rules.}} Backward compatibility
No title defined

No rules defined.