Difference between revisions of "Template:RulesScoring"

From Wikicarpedia
Jump to navigation Jump to search
Line 21: Line 21:
{{{finalscoring}}} }}
{{{finalscoring}}} }}
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
<languages />
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
Line 66: Line 65:
| 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>

Revision as of 07:05, 26 May 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.