Difference between revisions of "Template:IconWorld"

From Wikicarpedia
Jump to navigation Jump to search
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|}}} | <div>}}[[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 /> | </div>}}<noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs|link1={{EditorManualLink}} }}
{{Breadcrumbs|link1={{EditorManualLink}} }}
== Description ==
== Description ==
Line 19: Line 19:
| 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>

Revision as of 11:13, 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 <div> like rule text
  • description=true - (optional) Show description about icon included in Icons page

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|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