|
|
Regel 1: |
Regel 1: |
− | {{#get_web_data: | + | {{#ask: [[Class::Article sub]] [[Parent::Article/Test_Artikel]] |format=complexarray |name=$sub articles |link=none}}<!-- |
− | url=https://www.nba.nl/api/Calendar/?skip=0&take=23
| + | -->{{#if: {{#caprint:$sub articles}} |
− | |format=JSON
| + | |<h2>Sub artikelen</h2> |
− | |data=Title=Title, Day=Day, Month=Month, Year=Year ,Location=Location, Url=Url }}<!--
| + | <hr> |
− | -->{{#display_external_table: template=plan event nba|data=Title, Month, Day, Year, Location, Url |delimiter=}}
| + | <ul> |
− | <div class="row"> | + | {{#camap: $sub articles|,|@@@ |
− | <div class="col-md-8 col-md-push-2"> | + | |<li class="sub-article-item">[[@@@]]</li> |
− | <div id="plan-event-form" class="collapse infocard"> | + | }} |
− | <div class="infocard__heading">Plan een nieuw evenement</div>
| + | </ul> |
− | <hr/> | + | |}} |
− | {{Plan event form}} | |
− | </div></div></div><br> | |
− | <div class="row mb-5">
| |
− | {{#ask: [[Class::Event||Nba events]] [[Title::+]] [[Date::>{{#time: Y-m-d}} }} ]]
| |
− | |?=Page
| |
− | |?Class
| |
− | |?Title
| |
− | |?Url
| |
− | |?Date#=Date
| |
− | |?Location
| |
− | |format=table
| |
− | |introtemplate=Show events in agenda overview/intro
| |
− | |template=Show events in agenda overview
| |
− | |outrotemplate=Close table
| |
− | |columns=0
| |
− | |named args=yes
| |
− | |limit=50
| |
− | |searchlabel=
| |
− | |link=none
| |
− | |sort=Date | |
− | }}</div> | |