Difference between revisions of "Template:RulesScoring/fr"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<includeonly><div {{#if: {{{id|}}} | id="{{{id}}}" }} 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-scoring wica-visible">
<div class="wica-box-header wica-scoring wica-visible">
{{#ifeq: {{{header|{{{1|=====}}} }}} | none | <strong> | {{#switch: {{{header|{{{1|=====}}}}}}
{{#switch: {{{header}}}
| 1
| fake-h1
| fake-h2
| fake-h3
| fake-h4
| fake-h5 = <span class="{{{header}}}">
  | 2
  | 2
  | 3
  | 3
  | 5
  | 4
  | 6 = <h{{{header|{{{1}}}}}}>
  | 5 = <h{{{header}}}>
  | {{{header|{{{1|=====}}}}}}<nowiki /> <nowiki /> }} }}<span style="color:#FFFFFF">{{{title|{{{2|3. Évaluation des zones}}}}}}</span> {{#ifeq: {{{header|{{{1|=====}}} }}} | none | </strong> | {{#switch: {{{header|{{{1|=====}}}}}}
  | {{{header|{{{1|=====}}}}}}
  | 1
}}<span style="color:#FFFFFF">{{{title|{{{2|3. Évaluation des zones}}}}}}</span> {{#switch: {{{header}}}
| fake-h1
| fake-h2
| fake-h3
| fake-h4
  | fake-h5 = </span>
  | 2
  | 2
  | 3
  | 3
  | 5
  | 4
  | 6 = </h{{{header|{{{1}}}}}}>
  | 5 = </h{{{header}}}>
  | {{{header|{{{1|=====}}}}}} }} }}
  | {{{header|{{{1|=====}}}}}}
}}
</div>
</div>


Line 32: Line 42:
* <code>rules</code> or <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text ''' ''{{TranslatedPageName}}'' does not affect scoring.''', where name is read from title of page.
* <code>rules</code> or <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text ''' ''{{TranslatedPageName}}'' does not affect scoring.''', where name is read from title of page.
* <code>finalscoring</code> (optional) - Rules defined for final scoring
* <code>finalscoring</code> (optional) - Rules defined for final scoring
* <code>header</code> or <code>1</code> or 1st (optional) [ <code>==</code>|<code>===</code>|<code>====</code>|'''<code>=====</code>'''|<code>none</code> | <code>1</code> | <code>2</code> | <code>3</code> | <code>4</code> | <code>5</code> | <code>6</code> | <code>none</code> ] - Possible to make title of Rules box header in Table of Contents. When <code>none</code>, Table of Contents record will not be created. 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>|<code>2</code>|<code>3</code>|<code>4</code>|<code>5</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> or <code>4</code> or 4th (optional) - Replacement of CSS classes.
* <code>id</code> (optional) - HTML ID value
* <code>id</code> (optional) - HTML ID value
Line 52: Line 62:
|-
|-
| colspan="2" | {{RulesScoring|title=3b. Black Dragon Move|rules=This is text for rules.|finalscoring=Unfinished feature scores...}}
| colspan="2" | {{RulesScoring|title=3b. Black Dragon Move|rules=This is text for rules.|finalscoring=Unfinished feature scores...}}
|-
! <code><nowiki>{{RulesScoring|title=Extra stuff for scoring|rules=This is text for rules.|header=fake-h4}}</nowiki></code> || Title is fake-h4 header, not in TOC
|-
| colspan="2" | {{RulesScoring|title=Extra stuff for scoring||rules=This is text for rules.|header=fake-h4}}
|-
|-
! <code><nowiki>{{RulesScoring|2=2nd level header|header=2|3=This is text for rules.}}</nowiki></code> || 2nd level for ToC
! <code><nowiki>{{RulesScoring|2=2nd level header|header=2|3=This is text for rules.}}</nowiki></code> || 2nd level for ToC

Revision as of 13:13, 11 February 2024

Description

Create Rules box for Placing tile. Currently in green.

Params

  • title or 2 or 2nd (optional) - Title of Rules box, when not set, 3. Scoring a feature text will be showed.
  • rules or 3 or 3rd (optional) - Text in Rules box, when not set, then will be showed default text Template:RulesScoring/fr does not affect scoring., where name is read from title of page.
  • finalscoring (optional) - Rules defined for final scoring
  • 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
{{RulesScoring}} Show Rules box with default title, step number and rules
3. Évaluation des zones

L’extension Template:RulesScoring/fr n'affecte pas l’évaluation.

{{RulesScoring|title=3b. Black Dragon Move|rules=This is text for rules.}} Change title
3b. Black Dragon Move

This is text for rules.

{{RulesScoring|title=3b. Black Dragon Move|rules=This is text for rules.|finalscoring=Unfinished feature scores...}} Final Scoring
3b. Black Dragon Move

This is text for rules.

Évaluation finale

Unfinished feature scores...

{{RulesScoring|title=Extra stuff for scoring|rules=This is text for rules.|header=fake-h4}} Title is fake-h4 header, not in TOC

Extra stuff for scoring

This is text for rules.

{{RulesScoring|2=2nd level header|header=2|3=This is text for rules.}} 2nd level for ToC

2nd level header

This is text for rules.

{{RulesScoring|2=None ToC header|header=none|3=This is text for rules.}} Record which is not in ToC

noneNone ToC header none

This is text for rules.

{{RulesScoring|2=3b. Black Dragon Move|3=This is text for rules.}} Backward compatibility
3b. Black Dragon Move

This is text for rules.