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)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="{{{header|{{{class|wica-top-spacing wica-bottom-spacing wica-visible}}}}}}">
<includeonly><div {{#if: {{{id|}}} | id="{{{id}}}" }} class="{{{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>


<div class="wica-box-body wica-scoring wica-visible">
<div class="wica-box-body wica-scoring wica-visible">
{{{rules|{{{3|L’extension {{TranslatedPageName}} n'affecte pas l’évaluation.}}}}}}
{{{rules|{{{3|L’extension {{TranslatedPageName}} n'affecte pas l’évaluation.}}}}}}
{{#if: {{{finalscoring|}}} | {{GreyStrip|transparent=true|heading=6|title=Évaluation finale}}
{{#if: {{{finalscoring|}}} | {{GreyStrip|id=finalscoring|transparent=true|heading=6|title=Évaluation finale}}
{{{finalscoring}}} }}
{{{finalscoring}}} }}
</div>
</div>
</div></includeonly><noinclude>
</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=RulesScoring }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
<languages />
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
Line 33: 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


== Examples ==
== Examples ==
Line 53: Line 63:
| 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|2=2nd level header|header=2|3=This is text for rules.}}</nowiki></code> || 2nd level for ToC
! <code><nowiki>{{RulesScoring|title=Extra stuff for scoring not in TOC|rules=This is text for rules.|header=fake-h4}}</nowiki></code> || Title is fake-h4 header, not in TOC
|-
| colspan="2" | {{RulesScoring|2=2nd level header|header=2|3=This is text for rules.}}
|-
! <code><nowiki>{{RulesScoring|2=None ToC header|header=none|3=This is text for rules.}}</nowiki></code> || Record which is not in ToC
|-
|-
| colspan="2" | {{RulesScoring|2=None ToC header|header=none|3=This is text for rules.}}
| colspan="2" | {{RulesScoring|title=Extra stuff for scoring not in TOC||rules=This is text for rules.|header=fake-h4}}
|-
|-
! <code><nowiki>{{RulesScoring|2=3b. Black Dragon Move|3=This is text for rules.}}</nowiki></code> || Backward compatibility
! <code><nowiki>{{RulesScoring|2=3b. Black Dragon Move|3=This is text for rules.}}</nowiki></code> || Backward compatibility
Line 65: Line 71:
| colspan="2" | {{RulesScoring|2=3b. Black Dragon Move|3=This is text for rules.}}
| colspan="2" | {{RulesScoring|2=3b. Black Dragon Move|3=This is text for rules.}}
|}
|}
 
</noinclude>
{{#switch: {{PAGELANGUAGE}}
| en = [[Category:Translatable_templates]] [[Category:Editor Manual]]
|
}}</noinclude>

Latest revision as of 11:17, 28 April 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 not in TOC|rules=This is text for rules.|header=fake-h4}} Title is fake-h4 header, not in TOC

Extra stuff for scoring not in TOC

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.