Difference between revisions of "Template:RulesPlacingTile"

From Wikicarpedia
Jump to navigation Jump to search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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-placing-tile wica-visible">
<div class="wica-box-header wica-placing-tile wica-visible">
{{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|<translate><!--T:1--> 1. Placing a tile</translate>}}}}}}</span> {{{header|{{{1|=====}}}}}}
{{#switch: {{{header}}}
| fake-h1
| fake-h2
| fake-h3
| fake-h4
| fake-h5 = <span class="{{{header}}}">
| 2
| 3
| 4
| 5 = <h{{{header}}}>
| {{{header|{{{1|=====}}}}}}
}}<span style="color:#FFFFFF">{{{title|{{{2|<translate><!--T:1--> 1. Placing a tile</translate>}}}}}}</span> {{#switch: {{{header}}}
| fake-h1
| fake-h2
| fake-h3
| fake-h4
| fake-h5 = </span>
| 2
| 3
| 4
| 5 = </h{{{header}}}>
| {{{header|{{{1|=====}}}}}}
}}
</div>
</div>


Line 7: Line 29:
{{{rules|{{{3|<translate><!--T:2--> Whenever you draw a tile, place it normally.</translate>}}}}}}
{{{rules|{{{3|<translate><!--T:2--> Whenever you draw a tile, place it normally.</translate>}}}}}}
</div>
</div>
</div><noinclude><hr />
</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|}}} }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
<languages />
{{Breadcrumbs
__NOTOC__
|link1={{EditorManualLink}}
{{UnderConstruction}}
}}__NOTOC__
== Description ==
== Description ==
Create Rules box for Placing tile. Currently in green.
Create Rules box for Placing tile. Currently in green.


== Params ==
== Params ==
* <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>title</code> or <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''1. Placing a tile''' text will be showed.
* <code>title</code> or <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''1. Placing a tile''' text will be showed.
* <code>rules</code> or <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text '''Whenever you draw a tile, place it normally.'''.
* <code>rules</code> or <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text '''Whenever you draw a tile, place it normally.'''.
* <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 ==
__TOC__
{| class="wikitable light"
{| class="wikitable light"
! Code !! Description
! Code !! Description
Line 28: Line 52:
| colspan="2" | {{RulesPlacingTile}}
| colspan="2" | {{RulesPlacingTile}}
|-
|-
! <code><nowiki>{{RulesPlacingTile|title=1b. Placing gold token}}</nowiki></code> || Change title
! <code><nowiki>{{RulesPlacingTile|title=1b. Placing gold token|rules=This is text for rules.}}</nowiki></code> || Change title
|-
|-
| colspan="2" | {{RulesPlacingTile|title=1b. Placing gold token}}
| colspan="2" | {{RulesPlacingTile|title=1b. Placing gold token|rules=This is text for rules.}}
|-
! <code><nowiki>{{RulesPlacingTile|title=Extra stuff for placing tile not in TOC|rules=This is text for rules.|header=fake-h4}}</nowiki></code> || Title is fake-h4 header, not in TOC
|-
| colspan="2" | {{RulesPlacingTile|title=Extra stuff for placing tile not in TOC|rules=This is text for rules.|header=fake-h4}}
|-
! <code><nowiki>{{RulesPlacingTile|2=1b. Placing gold token|3=This is text for rules.}}</nowiki></code> || Backward compatibility
|-
| colspan="2" | {{RulesPlacingTile|2=1b. Placing gold token|3=This is text for rules.}}
|-
|-
|}
|}
[[Category:Translated templates]]
</noinclude>
</noinclude>

Latest revision as of 13:15, 11 February 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, 1. Placing a tile text will be showed.
  • rules or 3 or 3rd (optional) - Text in Rules box, when not set, then will be showed default text Whenever you draw a tile, place it normally..
  • 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
{{RulesPlacingTile}} Show Rules box with default title, step number and rules
1. Placing a tile

Whenever you draw a tile, place it normally.

{{RulesPlacingTile|title=1b. Placing gold token|rules=This is text for rules.}} Change title
1b. Placing gold token

This is text for rules.

{{RulesPlacingTile|title=Extra stuff for placing tile not in TOC|rules=This is text for rules.|header=fake-h4}} Title is fake-h4 header, not in TOC

Extra stuff for placing tile not in TOC

This is text for rules.

{{RulesPlacingTile|2=1b. Placing gold token|3=This is text for rules.}} Backward compatibility
1b. Placing gold token

This is text for rules.