Test: Difference between revisions

From EUSwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Special:ContributionScores}}
{{Special:ContributionScores}}
{{Button-master|1=Tests|2=Please work|3=fas fa-folder|4=#0000ff}}
===Default, nothing special===
Default attributes are: Internal link, large button, float left, black text.
{{Button-master|1=Launchpad|2=Default button appearance|3=fas fa-folder|4=#0000ff}}
 
==Attributes==
1 = Page title or Link (Link requires #5)<br>
2 = Button text<br>
3 = FontAwesome Icon<br>
4 = Button Color<br>
----
5 = internal/external (optional, external default)<br>
6 = text color (optional, white default)<br>
7 = Button position, left or right (optional, left default)<br>
8 = Button size, small or large (optional, large default)<br>
9 = Icon placement, ileft or iright (optional, default ileft)
 
'''Options 1 - 4 are necessary''', 5-9 offer options
 
====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=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff}}
<code><nowiki>
{{Button-master|1=http://mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#0000ff}}</nowiki></code>
{{col-break}}
If you want it to got to a page on the wiki, ''you must specify that <code>5=internal</code>''.
{{Button-master|1=Launchpad|2=Default button appearance|3=fas fa-folder|4=#0000ff|5=internal}}
<code><nowiki>
{{Button-master|1=Launchpad|2=Default button appearance|3=fas fa-folder|4=#0000ff|5=internal}}</nowiki></code>
{{col-end}}
{{Button-master|1=Tests|2=Please work|3=fas fa-folder|4=#0000ff|7=right|8=large|9=iright}}

Revision as of 22:14, 12 May 2018

Last 7 days (Top 10)

Default, nothing special

Default attributes are: Internal link, large button, float left, black text. Template:Button-master

Attributes

1 = Page title or Link (Link requires #5)
2 = Button text
3 = FontAwesome Icon
4 = Button Color


5 = internal/external (optional, external default)
6 = text color (optional, white default)
7 = Button position, left or right (optional, left default)
8 = Button size, small or large (optional, large default)
9 = Icon placement, ileft or iright (optional, default ileft)

Options 1 - 4 are necessary, 5-9 offer options

=Type of link

Template:Button-master