mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{3|}}}|{{{1|}}} [[File:{{{2|}}}.png|link=|24px]]|[[File:{{{1|}}}.png|link=|{{#if: {{{size|}}}|{{{size}}}|24px | <includeonly>{{#if: {{{3|}}}|{{{1|}}} [[File:{{{2|}}}.png|link=|{{#if: {{{size|}}}|{{{size}}}|24px {{{2|}}}}}]]|[[File:{{{1|}}}.png]]|link=|{{#if: {{{size|}}}|{{{size}}}|24px {{{2|}}}}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude> |
Revision as of 01:07, 8 July 2020
Usage
if icon is on the left {{IconText|ICON|TEXT}} if icon is on the right {{IconText|TEXT|ICON|Right}} | size = optional. Define the size. default: 24px
Example
Using {{#if: |GBVS_SoulForgeIcon 24px Soul Forge||link=|24px Soul Forge:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Example with icon to the left of the text
{{#if: |GBVS_SoulForgeIcon 24px Soul Forge||link=|24px Soul Forge
- Example with icon to the right of the text
{{#if: Right|Soul Forge |File:Soul Forge.png|link=|24px GBVS_SoulForgeIcon
The above documentation is transcluded from Template:IconText/doc. (edit | history)