Difference between revisions of "Template:RulesAction"

no edit summary
 
Line 12: Line 12:
  | 5  
  | 5  
  | 6 = <h{{{header}}}>
  | 6 = <h{{{header}}}>
  | {{{header|{{{1|=====}}}}}}
  | {{{header|=====}}}
}}<span style="color:#FFFFFF">{{{title|{{{2|'''<translate><!--T:1--> No title defined</translate>'''}}}}}}</span> {{#switch: {{{header}}}
}}<span style="color:#FFFFFF">{{{title|'''<translate><!--T:1--> No title defined</translate>'''}}}</span> {{#switch: {{{header}}}
  | fake-h1
  | fake-h1
  | fake-h2
  | fake-h2
Line 24: Line 24:
  | 5  
  | 5  
  | 6 = </h{{{header}}}>
  | 6 = </h{{{header}}}>
  | {{{header|{{{1|=====}}}}}}
  | {{{header|=====}}}
}}
}}
</div>
</div>


<div class="wica-box-body wica-additional-actions wica-visible">
<div class="wica-box-body wica-additional-actions wica-visible">
{{{rules|{{{3|'''<translate><!--T:2--> No rules defined.</translate>'''}}}}}}
{{{rules|'''<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|}}}|template=RulesAction }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
</div></includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
Line 39: Line 39:


== Params ==
== Params ==
* <code>title</code> or <code>2</code> or 2nd (required) - Title of Rules box, when not set, ''' ''No title defined'' ''' text will be showed.
* <code>title</code> (required) - Title of Rules box, when not set, ''' ''No title defined'' ''' text will be showed.
* <code>rules</code> or <code>3</code> or 3rd (required) - Text in Rules box, when not set, then will be showed default text ''' ''No rules defined.'' '''.
* <code>rules</code> (required) - Text in Rules box, when not set, then will be showed default text ''' ''No rules defined.'' '''.
* <code>header</code> or <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|<code>2</code>|<code>3</code>|<code>4</code>|<code>5</code>|<code>6</code>|<code>fake-h2</code>|<code>fake-h3</code>|<code>fake-h4</code>|<code>fake-h5</code>|<code>-empty-</code>] - Title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header, or <code>fake-h#</code> when title is not required in TOC.
* <code>header</code> (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|<code>=====</code>|<code>2</code>|<code>3</code>|<code>4</code>|<code>5</code>|<code>6</code>|<code>fake-h2</code>|<code>fake-h3</code>|<code>fake-h4</code>|<code>fake-h5</code>|<code>-empty-</code>] - Title of Rules box header in Table of Topics, default is <code>=====</code> as 5th level of header, or <code>fake-h#</code> when title is not required in TOC.
* <code>class</code> or <code>4</code> or 4th (optional) - Replacement of CSS classes.
* <code>class</code> (optional) - Replacement of CSS classes.
* <code>id</code> (optional) - HTML ID value
* <code>id</code> (optional) - HTML ID value


Line 58: Line 58:
| colspan="2" | {{RulesAction|title=4. Action phase|rules=This is text for rules.}}
| colspan="2" | {{RulesAction|title=4. Action phase|rules=This is text for rules.}}
|-
|-
! <code><nowiki>{{RulesAction|title=Extra stuff for action not in TOC|rules=This is text for rules.|header=fake-h4}}</nowiki></code> || Title is fake-h4 header, not in TOC
! <code><nowiki>{{RulesAction|header=fake-h4|title=Extra stuff for action not in TOC|rules=This is text for rules.}}</nowiki></code> || Title is fake-h4 header, not in TOC
|-
| colspan="2" | {{RulesAction|title=Extra stuff for action not in TOC|rules=This is text for rules.|header=fake-h4}}
|-
! <code><nowiki>{{RulesAction|2=4. Action phase|3=This is text for rules.}}</nowiki></code> || Backward compatibility
|-
| colspan="2" | {{RulesAction|2=4. Action phase|3=This is text for rules.}}
|-
|-
| colspan="2" | {{RulesAction|header=fake-h4|title=Extra stuff for action not in TOC|rules=This is text for rules.}}
|}
|}
</noinclude>
</noinclude>
translator, writer
103,503

edits