Difference between revisions of "Template:RulesAction"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
Bumsakalaka (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><div class="{{{header|{{{class|wica-top-spacing wica-bottom-spacing wica-visible}}}}}}"> | <includeonly><div {{#if: {{{id|}}} | id="{{{id}}}" }} class="{{{header|{{{class|wica-top-spacing wica-bottom-spacing wica-visible}}}}}}"> | ||
<div class="wica-box-header wica-additional-actions wica-visible"> | <div class="wica-box-header wica-additional-actions wica-visible"> | ||
{{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|'''<translate><!--T:1--> No title defined</translate>'''}}}}}}</span> {{{header|{{{1|=====}}}}}} | {{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|'''<translate><!--T:1--> No title defined</translate>'''}}}}}}</span> {{{header|{{{1|=====}}}}}} | ||
Line 20: | Line 20: | ||
* <code>header</code> or <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|-empty-] - Possible to make title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header. | * <code>header</code> or <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|-empty-] - Possible to make title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header. | ||
* <code>class</code> or <code>4</code> or 4th (optional) - Replacement of CSS classes. | * <code>class</code> or <code>4</code> or 4th (optional) - Replacement of CSS classes. | ||
* <code>id</code> (optional) - HTML ID value | |||
== Examples == | == Examples == |
Revision as of 22:17, 13 April 2023
Description
Create Rules box for Action. Currently in yellow.
Params
title
or2
or 2nd (required) - Title of Rules box, when not set, No title defined text will be showed.rules
or3
or 3rd (required) - Text in Rules box, when not set, then will be showed default text No rules defined. .header
or1
or 1st (optional) [==
|===
|====
|=====
|-empty-] - Possible to make title of Rules box header in Table of Topics, default is=====
as 5th level of header.class
or4
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 definedNo rules defined. | |
{{RulesAction|title=4. Action phase|rules=This is text for rules.}} |
Change title |
4. Action phaseThis is text for rules. | |
{{RulesAction|2=4. Action phase|3=This is text for rules.}} |
Backward compatibility |
No title definedNo rules defined. |