Difference between revisions of "Template:IconWorld"

From Wikicarpedia
Jump to navigation Jump to search
m (Text replacement - "{{#switch: {{PAGELANGUAGE}} | en = Category:Translatable_templates | }}" to "{{#if: {{#translation:}} | | Category:Fan-Expansion Template}}")
Tags: Mobile edit Mobile web edit
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Icon_World_Black.png|<translate><!--T:2--> Interpretation from the Community</translate>|16px|text-bottom|class=wica-icon|link=|alt=<translate><!--T:3--> Interpretation from the Community</translate>]]{{#ifeq: {{{description}}} | true | &nbsp; – <translate><!--T:4--> CarcassonneCentral, WiCa or CAR authors rule interpretation and clarrification with title </translate> }}<noinclude><languages />{{#if: {{#translation:}} | | [[Category:Fan-Expansion Template]]}}
{{#if: {{{text|}}}{{{description|}}} | <span>}}[[File:Icon_World_Black.png|<translate><!--T:2--> Interpretation from the Community</translate>|16px|text-bottom|class=wica-icon|link=|alt=<translate><!--T:3--> Interpretation from the Community</translate>]]{{#if: {{{text|}}} | <nowiki /> <nowiki />{{{text}}} }}{{#ifeq: {{{description}}} | true | &nbsp; – <translate><!--T:4--> CarcassonneCentral, WiCa or CAR authors rule interpretation and clarification with title </translate> }}{{#if: {{{text|}}}{{{description|}}} | <br /></span>}}<noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs|link1={{EditorManualLink}} }}
== Description ==
== Description ==
Include icon for CarcassonneCentral, WiCa or CAR authors rule interpretation and clarrification with title (for mouse over).
Include icon for CarcassonneCentral, WiCa or CAR authors rule interpretation and clarification with title (for mouse over).


== Parameters ==
== Parameters ==
<code>description=true</code> - (optional) Show description about icon included in [[Icons]] page
* <code>text</code> - (optional) Text following icon in <code><nowiki>block</nowiki></code> like rule text, always in separated line.
* <code>description=true</code> - (optional) Show description about icon included in [[Icons]] page, always in separated line.


== Translation note ==
== Translation note ==
Line 16: Line 18:
|-
|-
| valign="top" | <code><nowiki>{{IconWorld|description=true}}</nowiki></code> || {{IconWorld|description=true}}
| valign="top" | <code><nowiki>{{IconWorld|description=true}}</nowiki></code> || {{IconWorld|description=true}}
|-
| valign="top" | <code><nowiki>{{IconWorld|text=This is extra rule}}</nowiki></code> || {{IconWorld|text=This is extra rule}}
|-
| valign="top" | <code><nowiki>{{IconWorld|text=Text 1st line}}{{IconWorld|text=Text 2nd line}}</nowiki></code> || {{IconWorld|text=Text 1st line}}{{IconWorld|text=Text 2nd line}}
|}
|}
</noinclude>
</noinclude>

Revision as of 11:31, 16 December 2023

Interpretation from the Community

Description

Include icon for CarcassonneCentral, WiCa or CAR authors rule interpretation and clarification with title (for mouse over).

Parameters

  • text - (optional) Text following icon in block like rule text, always in separated line.
  • description=true - (optional) Show description about icon included in Icons page, always in separated line.

Translation note

For old translations of icon description check history of translation of page on Icons/en

Examples

Code Output
{{IconWorld}} Interpretation from the Community
{{IconWorld|description=true}} Interpretation from the Community  – CarcassonneCentral, WiCa or CAR authors rule interpretation and clarification with title
{{IconWorld|text=This is extra rule}} Interpretation from the Community This is extra rule
{{IconWorld|text=Text 1st line}}{{IconWorld|text=Text 2nd line}} Interpretation from the Community Text 1st line
Interpretation from the Community Text 2nd line