(Nieuwe pagina aangemaakt met '<noinclude> Category:BB Category:EMont core This is the "FMT Item" template. It should be called in the following format: <pre> {{BB Inline query |format=FM...') |
Geen bewerkingssamenvatting |
||
(49 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 5: | Regel 5: | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{BB | {{BB Query | ||
| | |show create button= | ||
| | |formatter=FMT Item | ||
|lead= | |||
|form= | |||
|concept= | |||
|limit= | |||
|sort= | |||
|order= | |||
|category= | |||
|event type= | |||
|container page= | |||
|show date= | |||
|show button= | |||
|link create text= | |||
|label= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 13: | Regel 26: | ||
</noinclude> | </noinclude> | ||
<includeonly><!-- | <includeonly><!-- | ||
--> | -->{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}<!-- | ||
{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}} | -->{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}}<!-- | ||
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | -->{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}<!-- | ||
{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}} | -->{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}<!-- | ||
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}} | -->{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary{{#if:{{#emmlang:|}}|_{{#emmlang:}}|}}}}|max=200}}}}<!-- | ||
{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max= | -->{{#if:{{#var:summary}}||{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=200}}}}}}<!-- | ||
<div class="media media- | |||
<div class=" | -->{{#vardefine:label|{{{label|}}}}}<!-- | ||
-->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!-- | |||
</div> | -->{{#vardefine:theme|{{#show:{{#var:page}}|?Theme}}}}<!-- | ||
<div class=" | -->{{#if:{{#var:theme}}||{{#vardefine:theme|{{#show:{{#var:page}}|?FACET Theme}}}}}}<!-- | ||
< | -->{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}<!-- | ||
< | -->{{#vardefine:project|{{#show:{{#var:page}}|?Project|link=none}}}} | ||
< | {{#ifeq:{{{projectcode|}}}|kcoi| | ||
< | {{#if:{{#var:project}}| | ||
{{#vardefine:link|{{#var:project}}}}| | |||
{{#vardefine:link|{{#show:{{#var:page}}|?Self|link=none}}}} | |||
}} | |||
}} | |||
<div class="media media--boxed stack-m mb-l"><!-- | |||
-->[[{{#var:link}}| ]]<!-- | |||
--><div class="media__image mb-s"><!-- | |||
-->[[File:{{#var:img|Image-landscape.png}}|link=|frameless|500px]]<!-- | |||
--></div><!-- | |||
--><div class="media__body"><!-- | |||
-->{{#if:{{#var:label}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>|<div class="medialabels"> | |||
{{#if:{{#var:document type}}|<p class="medialabel medialabel--{{#var:document type}}">{{#var:document type}}</p>}} | |||
{{#if:{{#var:theme}}|<p class="medialabel medialabel--{{lc:{{#var:theme}}}}">{{lc:{{#var:theme}}}}</p>}} | |||
</div> | </div> | ||
</div><!-- | }}<!-- | ||
--><div class="media__subtitle mb-xxs tt-u fw-b mb-0">{{#var:date|}}</div><!-- | |||
--><h2 class="media__title">{{#var:title|}}</h2><!-- | |||
--><div class="media__text"><p>{{#var:summary|}}<p></div><!-- | |||
--><div class="mw-btn"><span>{{int:EMM Text Read more}}</span></div><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--></includeonly> | --></includeonly> |
Huidige versie van 4 nov 2024 om 15:55
This is the "FMT Item" template. It should be called in the following format:
{{BB Query |show create button= |formatter=FMT Item |lead= |form= |concept= |limit= |sort= |order= |category= |event type= |container page= |show date= |show button= |link create text= |label= }}
Edit the page to see the template text.