Difference between revisions of "Template:Panel"

From partnersenproppersolutions
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
Line 10: Line 9:
 
</pre>
 
</pre>
  
==Demo==
 
{{Panel
 
|Heading=Afspraak maken
 
|Text=U houdt van snel schakelen?
 
  
Wij ook!
 
|Button text=Bel of mail voor een afspraak
 
|Button link=Contact
 
}}
 
  
 
+
</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}|Wiki|{{#set:Class=panel}}| }}<!--
</noinclude><includeonly><div class="panel panel-default ws-light" style=" width:100%;" >
+
--><div class="panel panel-default ws-light" style=" width:100%;" >
 
<div class="panel-body tekst">
 
<div class="panel-body tekst">
 
<h2 class="tussenkop">{{{Heading|}}}</h2>
 
<h2 class="tussenkop">{{{Heading|}}}</h2>
 +
{{#if:{{{Subheading|}}}|<big class="tussenkop">{{{Subheading|}}}</big>}}
  
 
<div class=" text" >{{{Text|}}}
 
<div class=" text" >{{{Text|}}}
 
</div>
 
</div>
<br/>
+
{{#if:{{{Button text|}}}{{{Button link|}}}|<br/>
 
{{Button
 
{{Button
|Text={{{Buton text|Maak een afspraak}}}
+
|Text={{{Button text|Maak een afspraak}}}
 
|Link={{{Button link|Contact}}}
 
|Link={{{Button link|Contact}}}
 
|Class=btn btn-primary
 
|Class=btn btn-primary
}}
+
}}}}
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 16:33, 7 February 2017

{{Panel
|Heading=
|Text=
|Button text=
|Button link=
}}