Difference between revisions of "Template:RulesScoring/en"
Jump to navigation
Jump to search
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <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"> | ||
{{#switch: {{{header}}} | |||
| fake-h1 | |||
| fake-h2 | |||
| fake-h3 | |||
| fake-h4 | |||
| fake-h5 = <span class="{{{header}}}"> | |||
| 2 | | 2 | ||
| 3 | | 3 | ||
| | | 4 | ||
| | | 5 = <h{{{header}}}> | ||
| {{{header}}} }} }} | | {{{header|{{{1|=====}}}}}} | ||
<span style="color:#FFFFFF">{{{title|{{{2|3. Scoring a feature}}}}}}</span> {{# | }}<span style="color:#FFFFFF">{{{title|{{{2|3. Scoring a feature}}}}}}</span> {{#switch: {{{header}}} | ||
| | | fake-h1 | ||
| fake-h2 | |||
| fake-h3 | |||
| fake-h4 | |||
| fake-h5 = </span> | |||
| 2 | | 2 | ||
| 3 | | 3 | ||
| | | 4 | ||
| | | 5 = </h{{{header}}}> | ||
| {{{header}}} }} }} | | {{{header|{{{1|=====}}}}}} | ||
}} | |||
</div> | </div> | ||
<div class="wica-box-body wica-scoring wica-visible"> | <div class="wica-box-body wica-scoring wica-visible"> | ||
{{{rules|{{{3|{{TranslatedPageName}} does not affect scoring.}}}}}} | {{{rules|{{{3|{{TranslatedPageName}} does not affect scoring.}}}}}} | ||
{{#if: {{{finalscoring|}}} | {{GreyStrip|transparent=true|heading=6|title=Final Scoring}} | {{#if: {{{finalscoring|}}} | {{GreyStrip|id=finalscoring|transparent=true|heading=6|title=Final Scoring}} | ||
{{{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>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| | ! <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| | | 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> | |||
Latest revision as of 11:17, 28 April 2024
Description
Create Rules box for Placing tile. Currently in green.
Params
title
or2
or 2nd (optional) - Title of Rules box, when not set, 3. Scoring a feature text will be showed.rules
or3
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 scoringheader
or1
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, orfake-h#
when title is not required in TOC.class
or4
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 featureTemplate:RulesScoring/en does not affect scoring. | |
{{RulesScoring|title=3b. Black Dragon Move|rules=This is text for rules.}} |
Change title |
3b. Black Dragon MoveThis 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 MoveThis is text for rules. Final ScoringUnfinished 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 MoveThis is text for rules. |