Difference between revisions of "Template:RulesScoring"

From Wikicarpedia
Jump to navigation Jump to search
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-scoring wica-visible">
<div class="wica-box-header wica-scoring wica-visible">
{{#ifeq: {{{header|{{{1|=====}}} }}} | none | <strong> | {{#switch: {{{header|{{{1|=====}}}}}}
{{#ifeq: {{{header|{{{1|=====}}} }}} | none | <strong> | {{#switch: {{{header|{{{1|=====}}}}}}
Line 35: Line 35:
* <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>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.
* <code>id</code> (optional) - HTML ID value


== Examples ==
== Examples ==

Revision as of 22:17, 13 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 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.
  • id (optional) - HTML ID value

Examples

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

Template:RulesScoring 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=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.