Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(45 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 Inline query
{{BB Query
|format=FMT Item
|show create button=
|named args=true
|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|{{#show:{{#var:page}}|?Summary}}}}<!--
-->{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary{{#if:{{#emmlang:|}}|_{{#emmlang:}}|}}}}|max=200}}}}<!--
--><div class="media media-publicaties stack-m mb-l">
-->{{#if:{{#var:summary}}||{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=200}}}}}}<!--
<div class="media-image mr-m mb-s">
 
<div class="">[[File:{{#var:img|Image-landscape.png}}|link=|frameless]]</div>
-->{{#vardefine:label|{{{label|}}}}}<!--
</div>
-->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!--
<div class="media-body">
-->{{#vardefine:theme|{{#show:{{#var:page}}|?Theme}}}}<!--
<div class="mb-xxs tt-u c-primary fw-b mb-0">{{#var:date}}</div>
-->{{#if:{{#var:theme}}||{{#vardefine:theme|{{#show:{{#var:page}}|?FACET Theme}}}}}}<!--
<h2 class="pt-0">{{#var:title}}</h2>
-->{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}<!--
<p>{{#var:summay}}</p>
-->{{#vardefine:project|{{#show:{{#var:page}}|?Project|link=none}}}}
<div class="mw-btn">[[{{#var:page}}|{{int:EMM Text Read more}}]]</div>
{{#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.