Test: Difference between revisions

No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Special:ContributionScores}}
{{Special:ContributionScores}}
===Default, nothing special===
=Header 1=
Default attributes are: Internal link, large button, float left, black text.
==Header 2==
{{Button-master|1=Launchpad|2=Default button appearance|3=fas fa-folder|4=#0000ff}}
===Header 3===
 
;Definition 1:This is a def 1
==Attributes==
;Def2:This is a def 2
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}}