Difference between revisions of "Template:RulesPlacingMeeple"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
Bumsakalaka (talk | contribs) |
||
Line 6: | Line 6: | ||
<div class="wica-box-body wica-placing-meeple wica-visible"> | <div class="wica-box-body wica-placing-meeple wica-visible"> | ||
{{#ifexp: {{#ifeq: {{#len:{{{rules|3}}}}} | 0 | 1 | 0 }} or {{#ifeq: {{{defaulttext}}} | true | 1 | 0 }} | <translate><!--T:2--> You may place a meeple according to the usual rules.</translate>}} | {{#ifexp: {{#ifeq: {{#len:{{{rules|3}}}}} | 0 | 1 | 0 }} or {{#ifeq: {{{defaulttext}}} | true | 1 | 0 }} | <translate><!--T:2--> You may place a meeple according to the usual rules.</translate>}} | ||
{{{rules|{{{3}}} | {{{rules|{{{3}}}}}} | ||
</div> | </div> | ||
</div></includeonly><noinclude>__NOTOC__ | </div></includeonly><noinclude>__NOTOC__ |
Revision as of 13:40, 22 March 2023
Description
Create Rules box for Placing a meeple. Currently in blue.
Params
title
or2
or 2nd (optional) - Title of Rules box, when not set, 2. Placing a meeple text will be showed.defaulttext
(optional) - [true
| -empty- ]. Include default text beforerules
.rules
or3
or 3rd (optional) - Text in Rules box, when not set, then will be showed default text You may place a meeple according to the usual rules..header
or1
or 1st (optional) [==
|===
|====
|=====
|-empty-] - Possible to make title of Rules box header in Table of Topics, default is=====
as 5th level of header.class
or4
or 4th (optional) - Replacement of CSS classes.
Examples
Code | Description |
---|---|
{{RulesPlacingMeeple}} |
Show Rules box with default title, step number and rules |
2. Placing a meepleYou may place a meeple according to the usual rules. | |
{{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text for rules.}} |
Change title |
2b. Placing a phantomThis is text for rules. | |
{{RulesPlacingMeeple|default=true|rules=This is text for rules.}} |
Include default rules, but also extra rules |
2. Placing a meepleYou may place a meeple according to the usual rules. This is extra new rule. | |
{{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text for rules.}} |
Backward compatibility |
2b. Placing a phantomThis is text for rules. |