Difference between revisions of "Template:RulesScoring/en"

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 class="{{{header|{{{class|wica-top-spacing wica-bottom-spacing wica-visible}}}}}}">
<includeonly><div 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 | | {{#switch: {{{header|{{{1|=====}}}}}}
{{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|3. Scoring a feature}}}}}}</span> {{{header|{{{1|=====}}}}}}
| 1
| 2
| 3
| 5
| 6 = <h{{{header}}}>
| {{{header}}} }} }}
<span style="color:#FFFFFF">{{{title|{{{2|3. Scoring a feature}}}}}}</span> {{#ifeq: {{{header|{{{1|=====}}} | none | | {{#switch: {{{header|{{{1|=====}}}}}}
| 1
| 2
| 3
| 5
| 6 = </h{{{header}}}>
| {{{header}}} }} }}
</div>
</div>


Line 9: Line 21:
{{{finalscoring}}} }}
{{{finalscoring}}} }}
</div>
</div>
</div></includeonly><noinclude>__NOTOC__
</div></includeonly><noinclude>
<languages />
<languages />
{{Breadcrumbs
{{Breadcrumbs
Line 21: Line 33:
* <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>|-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>'''|<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>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.


== Examples ==
== Examples ==
__TOC__
{| class="wikitable light"
{| class="wikitable light"
! Code !! Description
! Code !! Description
Line 39: Line 52:
|-
|-
| 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=1st level header|header=1|3=This is text for rules.}}</nowiki></code> || 1st level ToC
|-
| colspan="2" | {{RulesScoring|2=1st level header|header=1|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.}}
|-
|-
! <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
|-
|-
| 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.}}
|-
|}
|}



Revision as of 15:04, 2 April 2023

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/en 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) [ ==|===|====|=====|none | 1 | 2 | 3 | 4 | 5 | 6 | none ] - Possible to make title of Rules box header in Table of Contents. When none, Table of Contents record will not be created. Default is ===== as 5th level of header.
  • class or 4 or 4th (optional) - Replacement of CSS classes.

Examples

Code Description
{{RulesScoring}} Show Rules box with default title, step number and rules
3. Scoring a feature

Template:RulesScoring/en does not affect scoring.

{{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.

Final Scoring

Unfinished feature scores...

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

11st level header 1

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.