Difference between revisions of "Template:Linked button"

From partnersenproppersolutions
m (1 revision imported)
 
Line 5: Line 5:
 
{{Linked button
 
{{Linked button
 
|Link=
 
|Link=
 +
|WikiLink=
 
|Open mode=Same, New tab, Popup
 
|Open mode=Same, New tab, Popup
 
|Text=
 
|Text=
|Text class=
+
|Text class=(evt toe te voegen)
 
|Class=
 
|Class=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#tag: html
+
 
|{{#tag: a
+
===Example===
|<span class="{{{Text class|}}}">{{{Text|}}}</span>
+
{{Linked button
|href={{{Link|}}}
+
|WikiLink=Main Page
|class=btn {{{Class|}}} {{#ifeq: {{{Open mode|}}} | Popup | popupformlink }}
+
|Open mode=New tab
|role=button
+
|Text=Open this link in a new window
 +
|Class=
 +
}}
 +
 
 +
</noinclude><includeonly>{{#widget: Button
 +
|class=btn btn-default {{{Class|}}} <!--- {{#ifeq: {{{Open mode|}}} | Popup | popupformlink }} --->
 +
|href={{#if: {{{WikiLink|}}} | {{fullurl:WikiLink}}}}{{#if: {{{Link|}}} | {{{Link|}}} }}
 +
|buttontext={{{Text|}}}
 +
|title=
 
|target={{#switch: {{{Open mode|}}} | New tab=_blank | Same=_self | Popup=_self }}
 
|target={{#switch: {{{Open mode|}}} | New tab=_blank | Same=_self | Popup=_self }}
}} }}</includeonly>
+
}}</includeonly>

Latest revision as of 17:12, 19 April 2017

This is the "Linked button" template. It should be called in the following format:

{{Linked button
|Link=
|WikiLink=
|Open mode=Same, New tab, Popup
|Text=
|Text class=(evt toe te voegen)
|Class=
}}

Edit the page to see the template text.

Example

Open this link in a new window