Difference between revisions of "Template:Show hoofdonderwerp met subonderwerpen"
From GBV
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
4=Is actueel | 4=Is actueel | ||
5=Foto | 5=Foto | ||
+ | 6=Display title of | ||
+ | {{#var: Aantal naast elkaar}} | ||
}} | }} | ||
</pre> Edit the page to see the template text. | </pre> Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | <div class="col-lg-3"> | + | <div class="col-lg-{{#switch: {{#var: Aantal naast elkaar}} | 3=4|2=6|4=3|#default=3}}"> |
<div class="panel panel-info" style="width:270px;height:224px;display:inherit;"> | <div class="panel panel-info" style="width:270px;height:224px;display:inherit;"> | ||
<div class="panel-heading"><center><strong> {{PAGENAME:{{{1|}}} }}</strong></center></div> | <div class="panel-heading"><center><strong> {{PAGENAME:{{{1|}}} }}</strong></center></div> | ||
<div class="panel-body" style="width:200px;height:181px;display:inherit;"> | <div class="panel-body" style="width:200px;height:181px;display:inherit;"> | ||
− | <center>{{#if: {{{Foto|}}}| [[File:{{{Foto|}}}|268x180px|link={{{Page|}}} ]] }}</center> | + | <center>{{#if: {{{?Foto|}}}| [[File:{{{?Foto|}}}|268x180px|link={{{?Page|}}} ]] }}</center> |
</div></div> | </div></div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Latest revision as of 12:40, 10 November 2016
This is the "Show hoofdonderwerp met subonderwerpen" template. It should be called in the following format:
{{Show hoofdonderwerp met subonderwerpen 1=Page 2=Heeft subonderwerp 3=In verkiezingsprogramma 4=Is actueel 5=Foto 6=Display title of {{#var: Aantal naast elkaar}} }}Edit the page to see the template text.