Difference between revisions of "Template:Button"

From partnersenproppersolutions
 
Line 39: Line 39:
 
</noinclude><includeonly>{{
 
</noinclude><includeonly>{{
 
   #if:{{{Href|}}}|{{#widget: Button
 
   #if:{{{Href|}}}|{{#widget: Button
|class=btn  btn-default {{{Class|}}}
+
|class={{{Class|btn btn-default}}}
 
|href={{{Href|}}}
 
|href={{{Href|}}}
 
|title={{{Text|}}}
 
|title={{{Text|}}}
Line 47: Line 47:
 
}} }}{{
 
}} }}{{
 
   #if:{{{Link|}}}|{{#widget: Button
 
   #if:{{{Link|}}}|{{#widget: Button
|class=btn  btn-default {{{Class|}}}
+
|class={{{Class|btn btn-default}}}
 
|href={{localurl:{{{Link|}}}}}
 
|href={{localurl:{{{Link|}}}}}
 
|title={{{Text|}}}
 
|title={{{Text|}}}

Latest revision as of 10:38, 27 July 2018

{{Button
|Text=Home
|Link=Main Page
|Class=btn-xs ws-btn-darkgreen
|Target=
}}

or if href is directly needed,

{{Button
|Text=Home
|Href=... 
|Target=_blank
|Class=btn-xs ws-btn-darkgreen
}}

examples

Home Home

Mail ons Bel ons