Difference between revisions of "Template:IconWorld"

From Wikicarpedia
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{text|}}}{{{description|}}} | <div style="display:inline-block">}}[[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|}}} | </div>}}<noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{#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}} }}
{{Breadcrumbs|link1={{EditorManualLink}} }}
== Description ==
== Description ==
Line 5: Line 5:


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


== Translation note ==
== Translation note ==
Line 16: Line 16:
|-
|-
|| <code><nowiki>{{IconWorld}}</nowiki></code> || {{IconWorld}}
|| <code><nowiki>{{IconWorld}}</nowiki></code> || {{IconWorld}}
|-
| 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=This is extra rule}}</nowiki></code> || {{IconWorld|text=This is extra rule}}
|-
|-
| valign="top" | <code><nowiki>{{IconWorld|description=true}}</nowiki></code> || {{IconWorld|description=true}}
| 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>

Latest 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