Difference between revisions of "Template:RulesDragon"

From Wikicarpedia
Jump to navigation Jump to search
m (Updated layout borders)
Line 1: Line 1:
<div class="{{{4|wica-top-spacing wica-bottom-spacing wica-visible}}}">
<div class="{{{header|{{{class|wica-top-spacing wica-bottom-spacing wica-visible}}}}}}">
<div class="wica-box-header wica-dragon-movement wica-visible">
<div class="wica-box-header wica-dragon-movement wica-visible">
{{{1}}} <span style="color:#FFFFFF;">{{{2}}}</span> {{{1}}}
{{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|<translate><!--T:1--> '''No title defined'''</translate>}}}}}}</span> {{{header|{{{1|=====}}}}}}
</div>
</div>


<div class="wica-box-body wica-dragon-movement wica-visible">
<div class="wica-box-body wica-dragon-movement wica-visible">
{{{3}}}
{{{rules|{{{3|<translate><!--T:2--> '''No rules defined.'''</translate>}}}}}}
</div>
</div>
</div>
</div><noinclude><hr />
<languages />
__NOTOC__
{{UnderConstruction}}
== Description ==
Create Rules box for Placing tile. Currently in pink.
== Params ==
* <code>title</code> or <code>2</code> or 2nd (required) - Title of Rules box, when not set, ''' ''No title defined'' ''' text will be showed.
* <code>rules</code> or <code>3</code> or 3rd (required) - Text in Rules box, when not set, then will be showed default text ''' ''No rules defined.'' '''.
* <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>class</code> or <code>4</code> or 4th (optional) - Replacement of CSS classes.
== Examples ==
{| class="wikitable light"
! Code !! Description
|-
! <code><nowiki>{{RulesDragon}}</nowiki></code> || Show Rules box with default title, step number and rules
|-
| colspan="2" | {{RulesDragon}}
|-
! <code><nowiki>{{RulesDragon|title=2b. Dragon move|rules=This is text for rules.}}</nowiki></code> || Change title
|-
| colspan="2" | {{RulesDragon|title=2b. Dragon move|rules=This is text for rules.}}
|-
! <code><nowiki>{{RulesDragon|2=2b. Dragon move|3=This is text for rules.}}</nowiki></code> || Backward compatibility
|-
| colspan="2" | {{RulesDragon|2=2b. Dragon move|3=This is text for rules.}}
|-
|}
[[Category:Translated templates]]
</noinclude>

Revision as of 12:13, 5 November 2022

No title defined

No rules defined.


Exclamation2.png

This page is Under construction!
Rules, texts, images and others can be changed.

Description

Create Rules box for Placing tile. Currently in pink.

Params

  • title or 2 or 2nd (required) - Title of Rules box, when not set, No title defined text will be showed.
  • rules or 3 or 3rd (required) - Text in Rules box, when not set, then will be showed default text No rules defined. .
  • header or 1 or 1st (optional) [ ==|===|====|=====|-empty-] - Possible to make title of Rules box header in Table of Topics, default is ===== as 5th level of header.
  • class or 4 or 4th (optional) - Replacement of CSS classes.

Examples

Code Description
{{RulesDragon}} Show Rules box with default title, step number and rules
No title defined

No rules defined.

{{RulesDragon|title=2b. Dragon move|rules=This is text for rules.}} Change title
2b. Dragon move

This is text for rules.

{{RulesDragon|2=2b. Dragon move|3=This is text for rules.}} Backward compatibility
No title defined

No rules defined.