Difference between revisions of "Template:RulesPlacingMeeple/nl"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><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-meeple wica-visible">
<div class="wica-box-header wica-placing-meeple wica-visible">
{{{header|{{{1|=====}}}}}}<span style="color:#FFFFFF">{{{title|{{{2|2. Een meeple zetten}}}}}}</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|2. Een meeple zetten}}}}}}</span> {{#switch: {{{header}}}
| fake-h1
| fake-h2
| fake-h3
| fake-h4
| fake-h5 = </span>
| 2
| 3
| 4
| 5 = </h{{{header}}}>
| {{{header|{{{1|=====}}}}}}
}}
</div>
</div>


<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 }} | Je mag volgens de gebruikelijk spelregels een meeple zetten.}}
{{#ifexpr: {{#ifeq: {{#len:{{{rules|{{{3|}}}}}}}} | 0 | 1 | 0 }} or {{#ifeq: {{{default}}}  | true | 1 | 0 }} | <p>Je mag volgens de gebruikelijk spelregels een meeple zetten.</p>}}
{{{rules|{{{3}}}}}}
{{{rules|{{{3|}}}}}}
</div>
</div>
</div></includeonly><noinclude>__NOTOC__
</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
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
}}
}}__NOTOC__
== Description ==
== Description ==
Create Rules box for Placing a meeple. Currently in blue.
Create Rules box for Placing a meeple. Currently in blue.


== Params ==
== Params ==
* <code>title</code> or <code>2</code> or 2nd (optional) - Title of Rules box, when not set, '''2. Placing a meeple''' text will be showed.
* <code>title</code> or <code>2</code> or 2nd (optional) - Title of Rules box, when not set, ''{{Translations:Template:RulesPlacingMeeple/1/{{PAGELANGUAGE}}}}'' text will be showed.
* <code>defaulttext</code> (optional) - [<code>true</code> | -empty- ]. Include default text before <code><nowiki>rules</nowiki></code>.
* <code>default</code> (optional) - [<code>true</code> | -empty- ]. Include translated default text ''{{Translations:Template:RulesPlacingMeeple/2/{{PAGELANGUAGE}}}}'' before text of <code><nowiki>rules</nowiki></code>.
* <code>rules</code> or <code>3</code> 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.'''.
* <code>rules</code> or <code>3</code> or 3rd (optional) - Text in Rules box, when not set, then will be showed default text ''{{Translations:Template:RulesPlacingMeeple/2/{{PAGELANGUAGE}}}}''.
* <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>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 31: Line 54:
| colspan="2" | {{RulesPlacingMeeple}}
| colspan="2" | {{RulesPlacingMeeple}}
|-
|-
! <code><nowiki>{{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text for rules.}}</nowiki></code> || Change title
! <code><nowiki>{{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text of rules.}}</nowiki></code> || Change title
|-
|-
| colspan="2" | {{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text for rules.}}
| colspan="2" | {{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text of rules.}}
|-
|-
! <code><nowiki>{{RulesPlacingMeeple|default=true|rules=This is text for rules.}}</nowiki></code> || Include default rules, but also extra rules
! <code><nowiki>{{RulesPlacingMeeple|default=true|rules=This is extra new rule.}}</nowiki></code> || Include default rules, but also extra rules
|-
|-
| colspan="2" | {{RulesPlacingMeeple|default=true|rules=This is extra new rule.}}
| colspan="2" | {{RulesPlacingMeeple|default=true|rules=This is extra new rule.}}
|-
|-
! <code><nowiki>{{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text for rules.}}</nowiki></code> || Backward compatibility
! <code><nowiki>{{RulesPlacingMeeple|title=Extra stuff for placing meeple not in TOC|rules=This is text for rules.|header=fake-h4}}</nowiki></code> || Title is fake-h4 header, not in TOC
|-
|-
| colspan="2" | {{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text for rules.}}
| colspan="2" | {{RulesPlacingMeeple|title=Extra stuff for placing meeple not in TOC|rules=This is text for rules.|header=fake-h4}}
|-
! <code><nowiki>{{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text of rules.}}</nowiki></code> || Backward compatibility
|-
| colspan="2" | {{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text of rules.}}
|}
|}
 
</noinclude>
{{#switch: {{PAGELANGUAGE}}
| en = [[Category:Translatable_templates]] [[Category:Editor Manual]]
|
}}</noinclude>

Revision as of 13:27, 11 February 2024

Description

Create Rules box for Placing a meeple. Currently in blue.

Params

  • title or 2 or 2nd (optional) - Title of Rules box, when not set, 2. Een meeple zetten text will be showed.
  • default (optional) - [true | -empty- ]. Include translated default text Je mag volgens de gebruikelijk spelregels een meeple zetten. before text of rules.
  • rules or 3 or 3rd (optional) - Text in Rules box, when not set, then will be showed default text Je mag volgens de gebruikelijk spelregels een meeple zetten..
  • 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
{{RulesPlacingMeeple}} Show Rules box with default title, step number and rules
2. Een meeple zetten

Je mag volgens de gebruikelijk spelregels een meeple zetten.

{{RulesPlacingMeeple|title=2b. Placing a phantom|rules=This is text of rules.}} Change title
2b. Placing a phantom

This is text of rules.

{{RulesPlacingMeeple|default=true|rules=This is extra new rule.}} Include default rules, but also extra rules
2. Een meeple zetten

Je mag volgens de gebruikelijk spelregels een meeple zetten.

This is extra new rule.

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

Extra stuff for placing meeple not in TOC

This is text for rules.

{{RulesPlacingMeeple|2=2b. Placing a phantom|3=This is text of rules.}} Backward compatibility
2b. Placing a phantom

This is text of rules.