Open main menu

EUSwiki β

Changes

Test

1,572 bytes added, 22:31, 12 May 2018
Attributes
9 = Icon placement, ileft or iright (optional, default ileft)
====5 Type of link====
{{col-begin}}{{col-break}}
Default the link is presumed to be external (meaning a page not on the wiki). 5 is therefore not necessary for this.
{{Button-master|1=Launchpad|2=Default button appearance|3=fas fa-folder|4=#0000ff|5=internal}}</nowiki></code>
{{col-end}}
====6 Text Color====
If you'd like to change the link color, using either words, hex, or rgba(), set ''<code>6=color of choice</code>''.
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|6=#000000}}
<code><nowiki>
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|5=#000000}}</nowiki></code>
Default the text is white, 6= is not necessary for this case.
====7 Button position====
If you want the button to float to the right of the page, use <code>7=right</code>.
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|7=right}}
<code><nowiki>
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|7=right}}</nowiki></code>
Additionally, if you want it to float=left (meaning that all other objects, headers included, will stay to the right of the block), you can specity <code>7=left</code>.
====8 Button size====
You can make the button teeny, <code>8=small</code>.
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|8=small}}
<code><nowiki>
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|8=small}}</nowiki></code>
====9 Icon placement====
The icon can be on the right side as well.
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|9=iright}}
<code><nowiki>
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff|9=iright}}</nowiki></code>