mNo edit summary |
m (→Usage) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
==Usage== | ==Usage== | ||
<pre> | |||
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 | |||
</pre> | |||
==Example== | ==Example== | ||
Using {{IconText| | Using {{IconText|GBVS_SoulForgeIcon|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. | 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 | ;Example with icon to the left of the text | ||
{{IconText| | {{IconText|GBVS_SoulForgeIcon|Soul Forge}} | ||
;Example with | ;Example with icon to the right of the text | ||
{{IconText| | {{IconText|Soul Forge|GBVS_SoulForgeIcon|Right}} | ||
{{clear}} | {{clear}} | ||
{{doc/end}} | {{doc/end}} |
Latest revision as of 01:06, 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 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
Soul Forge
- Example with icon to the right of the text
Soul Forge
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.