Difference between revisions of "Template:IconWorld"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) m (Text replacement - "{{#if: {{#translation:}} | | Category:Fan-Expansion Template}}" to "{{#if: {{#translation:}} | | Category:Translatable_templates}}") |
Bumsakalaka (talk | contribs) (New parameter text) |
||
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 | – <translate><!--T:4--> CarcassonneCentral, WiCa or CAR authors rule interpretation and clarrification with title </translate> }}<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 | – <translate><!--T:4--> CarcassonneCentral, WiCa or CAR authors rule interpretation and clarrification with title </translate> }}{{#if: {{{text|}}}{{{description|}}} | <div><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}} | ||
== 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 clarrification with title (for mouse over). | ||
== Parameters == | == Parameters == | ||
<code>text</code> - (optional) Text following icon <code><nowiki><div></nowiki></code> like rule text | |||
<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 | ||
Line 14: | Line 15: | ||
|- | |- | ||
|| <code><nowiki>{{IconWorld}}</nowiki></code> || {{IconWorld}} | || <code><nowiki>{{IconWorld}}</nowiki></code> || {{IconWorld}} | ||
|- | |||
| 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|description=true}}</nowiki></code> || {{IconWorld|description=true}} | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 16:32, 27 November 2023
{{#if: |
Description
Include icon for CarcassonneCentral, WiCa or CAR authors rule interpretation and clarrification 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}} |
|
{{IconWorld|text=This is extra rule}} |
This is extra rule |
{{IconWorld|description=true}} |
– CarcassonneCentral, WiCa or CAR authors rule interpretation and clarification with title |