Difference between revisions of "Template:Button"
From partnersenproppersolutions
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|Text=Home | |Text=Home | ||
|Link=Main Page | |Link=Main Page | ||
− | |Class= | + | |Class=btn-xs ws-btn-darkgreen |
|Target= | |Target= | ||
}} | }} | ||
Line 16: | Line 16: | ||
|Href=... | |Href=... | ||
|Target=_blank | |Target=_blank | ||
− | |Class= | + | |Class=btn-xs ws-btn-darkgreen |
}} | }} | ||
</pre> | </pre> | ||
Line 24: | Line 24: | ||
|Text=Home | |Text=Home | ||
|Link=Main Page | |Link=Main Page | ||
− | |Class=btn | + | |Class=btn-xs ws-btn-darkblue |
}} | }} | ||
{{Button | {{Button | ||
|Text=Home | |Text=Home | ||
|Link=Main Page | |Link=Main Page | ||
− | |Class= | + | |Class=ws-btn-darkgreen |
|Style= | |Style= | ||
|Target=_blank | |Target=_blank | ||
Line 38: | Line 38: | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{ | ||
− | #if:{{{Href|}}}|{{# | + | #if:{{{Href|}}}|{{#widget: Button |
− | #if:{{{Link|}}}|{{# | + | |class={{{Class|btn btn-default}}} |
+ | |href={{{Href|}}} | ||
+ | |title={{{Text|}}} | ||
+ | |buttontext={{{Text|}}} | ||
+ | |target={{{Target|}}} | ||
+ | |style=margin-right:6px; {{{Style|}}} | ||
+ | }} }}{{ | ||
+ | #if:{{{Link|}}}|{{#widget: Button | ||
+ | |class={{{Class|btn btn-default}}} | ||
+ | |href={{localurl:{{{Link|}}}}} | ||
+ | |title={{{Text|}}} | ||
+ | |buttontext={{{Text|}}} | ||
+ | |target={{{Target|}}} | ||
+ | |style=margin-right:6px; {{{Style|}}} | ||
+ | }} }}</includeonly> |