Difference between revisions of "Test"

From EUSwiki
Jump to: navigation, search
(9 Icon placement)
Line 1: Line 1:
 
{{Special:ContributionScores}}
 
{{Special:ContributionScores}}
==Default, nothing special==
 
{{Button-master|1=http://directory.mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#C3423F}}
 
Default attributes are: Internal link, large button, float left, white text.
 
 
=Attributes=
 
=Attributes=
 
'''Options 1 - 4 are necessary''', 5-9 offer options<br>
 
'''Options 1 - 4 are necessary''', 5-9 offer options<br>
Line 15: Line 12:
 
::8 = Button size, small or large (optional, large default)<br>
 
::8 = Button size, small or large (optional, large default)<br>
 
::9 = Icon placement, ileft or iright (optional, default ileft)
 
::9 = Icon placement, ileft or iright (optional, default ileft)
 
+
==Default, nothing special==
 +
{{Button-master|1=http://directory.mcgilleus.ca|2=Default button appearance|3=fas fa-folder|4=#C3423F}}
 +
Default attributes are: Internal link, large button, float left, white text.
 
==5 Type of link==
 
==5 Type of link==
 
{{col-begin}}{{col-break}}
 
{{col-begin}}{{col-break}}

Revision as of 22:44, 12 May 2018

Last 7 days (Top 10)

Attributes

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

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 = Float Button position, left or right (optional, no float by default)
8 = Button size, small or large (optional, large default)
9 = Icon placement, ileft or iright (optional, default ileft)

Default, nothing special

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

5 Type of link

6 Text Color

If you'd like to change the link color, using either words, hex, or rgba(), set 6=color of choice. Template:Button-master {{Button-master|1=http://mcgilleus.ca|2=Text color|3=fas fa-i-cursor|4=#E6E1C5|6=Crimson}} 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 7=right. Template:Button-master {{Button-master|1=http://mcgilleus.ca|2=Float right|3=fas fa-indent|4=#3B252C|7=right}} 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 7=left.

8 Button size

You can make the button teeny, 8=small. Template:Button-master {{Button-master|1=http://mcgilleus.ca|2=Smol|3=fas fa-compress-alt|4=#8F6593|8=small}}

9 Icon placement

The icon can be on the right side as well. Template:Button-master {{Button-master|1=http://mcgilleus.ca|2=Right Icon|3=fas fa-fast-forward|4=#3F7CAC|9=iright}}