Difference between revisions of "Template:Onderwerp"
From GBV
(44 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|Naam=Text | |Naam=Text | ||
|Subonderwerpen=Text | |Subonderwerpen=Text | ||
− | | | + | |Is geïnteresseerd in dit onderwerp =pagina |
|Standpunt=Text | |Standpunt=Text | ||
|Is actueel=Yes/No | |Is actueel=Yes/No | ||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>__NEWSECTIONLINK____NOTOC__{{#vardefine: My parent | {{#ask: [[Heeft subonderwerp::Leden:{{PAGENAME}}]] |mainlabel= |limit=1 | searchlabel= |link=none}} }}{{#set:{{{Name|}}}|{{#if: {{#var: My parent}} | Has parent page={{#var: My parent}} | Is hoofdonderwerp=Yes}}|Standpunt={{{Standpunt|}}}|Is actueel={{{Is actueel|}}} |In verkiezingsprogramma={{{In verkiezingsprogramma|}}}|Foto={{{Foto|}}} }}{{#arraymap:{{{Subonderwerpen|}}}|,|x|{{#set:Heeft subonderwerp=x}} |}} | + | </noinclude><includeonly>__NEWSECTIONLINK____NOTOC__{{#vardefine: My parent | {{#ask: [[Heeft subonderwerp::Leden:{{PAGENAME}}]] |mainlabel= |limit=1 | searchlabel= |link=none}} }}{{#set:{{{Name|}}}| {{#if: {{#var: My parent}} | Has parent page={{#var: My parent}} | Is hoofdonderwerp=Yes}}|Standpunt={{{Standpunt|}}}|Is actueel={{{Is actueel|}}} |In verkiezingsprogramma={{{In verkiezingsprogramma|}}}|Foto={{{Foto|Nice-apples-214170 1920.jpg}}} }}{{#arraymap:{{{Subonderwerpen|}}}|,|x|{{#set:Heeft subonderwerp=x}} |}} {{#arraymap: {{{Is geïnteresseerd in dit onderwerp|}}}|,|x|{{#set:Is geïnteresseerd in dit onderwerp=x}} |}} |
<div class="container-fluid"> | <div class="container-fluid"> | ||
<div class="row"> | <div class="row"> | ||
+ | <div class="col-lg-12> | ||
{| class="table" | {| class="table" | ||
− | {{!}} | + | {{!}} rowspan="6"| [[File:{{{Foto|Nice-apples-214170 1920.jpg}}} |348x220px]] |
− | ! | + | ! Is actueel |
− | {{!}} {{{ | + | {{!}} {{{Is actueel|}}} |
+ | {{!}}- | ||
+ | ! In verkiezingsprogramma | ||
+ | {{!}} {{{In verkiezingsprogramma|}}} | ||
{{!}}- | {{!}}- | ||
− | ! | + | ! Is geïnteresseerd in dit onderwerp |
− | {{!}}{{#arraymap:{{{ | + | {{!}} {{#arraymap:{{{Is geïnteresseerd in dit onderwerp|}}}|,|xyz|[[File:{{#show:xyz|?Foto}} |50x50px|link=xyz]] |}} |
{{!}}- | {{!}}- | ||
! Standpunt | ! Standpunt | ||
− | {{!}}{{{Standpunt|}}} | + | {{!}} {{{Standpunt|}}} |
− | + | |}</div></div> | |
− | + | <div class="row"> | |
− | + | <div class="col-lg-12"> | |
− | |||
− | |||
− | |||
− | |} | ||
− | < | ||
− | <div class="col- | ||
{{{Beschrijving|}}} | {{{Beschrijving|}}} | ||
</div></div> | </div></div> | ||
+ | <div class="row"> | ||
+ | <div class="col-lg-12"> | ||
{{#ask: [[Category:Onderwerp]] [[Has parent page::{{FULLPAGENAME}} ]] | {{#ask: [[Category:Onderwerp]] [[Has parent page::{{FULLPAGENAME}} ]] | ||
+ | |?=Page | ||
|?Heeft subonderwerp | |?Heeft subonderwerp | ||
|?In verkiezingsprogramma | |?In verkiezingsprogramma | ||
Line 49: | Line 50: | ||
|limit=1000 | |limit=1000 | ||
|link=none | |link=none | ||
+ | |named args=yes | ||
+ | }} | ||
+ | </div></div> | ||
+ | <div class="row"> | ||
+ | <div class="col-lg-12"> | ||
+ | <h2>Bijdragen</h2> | ||
+ | {{#ask: [[Category:Bijdrage]] [[Onderwerp::{{FULLPAGENAME}} ]] | ||
+ | |mainlabel= | ||
+ | |?Soort bijdrage= | ||
+ | |?Modification date=Datum | ||
+ | |format=table | ||
+ | |limit=1000 | ||
+ | |headers=plain | ||
}} | }} | ||
− | </div> | + | </div></div></div> |
[[Category:Onderwerp]]{{DISPLAYTITLE:{{PAGENAME}} }} | [[Category:Onderwerp]]{{DISPLAYTITLE:{{PAGENAME}} }} | ||
</includeonly> | </includeonly> |
Latest revision as of 12:37, 10 November 2016
This is the "Onderwerpen" template. It should be called in the following format:
{{Onderwerp |Naam=Text |Subonderwerpen=Text |Is geïnteresseerd in dit onderwerp =pagina |Standpunt=Text |Is actueel=Yes/No |In verkiezingsprogramma=Yes/No |Foto= |Beschrijving= }}
Edit the page to see the template text.