Difference between revisions of "Template:RulesAction"

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

Revision as of 11:15, 28 April 2024

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

Extra stuff for action not in TOC

This is text for rules.

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

No rules defined.