Template:IconText/doc: Difference between revisions

Template page
(Created page with "{{doc/start}} ==Usage== * Icon default size is 24px. <nowiki>{{IconText|GBVS_Vaseraga_SoulForgeIcon|Soul Forge}}</nowiki> <nowiki>{{IconText|GBVS_Vaseraga_SoulForgeIco...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
==Usage==
==Usage==
* Icon default size is 24px.
<pre>
    <nowiki>{{IconText|GBVS_Vaseraga_SoulForgeIcon|Soul Forge}}</nowiki>
if icon is on the left
    <nowiki>{{IconText|GBVS_Vaseraga_SoulForgeIcon|BIG Soul Forge|120px}}</nowiki>
  {{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|GBVS_Vaseraga_SoulForgeIcon|Soul Forge}}:
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 no size value
;Example with icon to the left of the text
{{IconText|GBVS_Vaseraga_SoulForgeIcon|Soul Forge}}
{{IconText|GBVS_SoulForgeIcon|Soul Forge}}
;Example with size value
;Example with icon to the right of the text
{{IconText|GBVS_Vaseraga_SoulForgeIcon|BIG Soul Forge|120px}}
{{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 GBVS SoulForgeIcon.png 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

GBVS SoulForgeIcon.png Soul Forge

Example with icon to the right of the text

Soul Forge GBVS SoulForgeIcon.png

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.