Sjabloon:Portal form: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 33: Regel 33:
 
{{#arraymap:{{#arrayprint:$portals selected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ |selected=selected}} |}}
 
{{#arraymap:{{#arrayprint:$portals selected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ |selected=selected}} |}}
 
{{#arraymap:{{#arrayprint:$portals unselected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ }} |}}
 
{{#arraymap:{{#arrayprint:$portals unselected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ }} |}}
|name=Portal |class=form-control}}<!-- einde wsselect -->
+
|name=Portal |class=form-control}}<!-- einde wsselect --><br>
  
 
<wslabel>Behoort tot categorie:</wslabel>
 
<wslabel>Behoort tot categorie:</wslabel>
Regel 40: Regel 40:
 
<wsfield for="Has category" type="option" value="Beroepsontwikkeling" selected="{{#ifeq: Beroepsontwikkeling|{{{Has category|}}}|selected}}" >Beroepsontwikkeling</wsfield>
 
<wsfield for="Has category" type="option" value="Beroepsontwikkeling" selected="{{#ifeq: Beroepsontwikkeling|{{{Has category|}}}|selected}}" >Beroepsontwikkeling</wsfield>
 
<wsfield for="Has category" type="option" value="Beroepsgeschiedenis" selected="{{#ifeq: Beroepsgeschiedenis |{{{Has category|}}}|selected}}" >Beroepsgeschiedenis</wsfield>
 
<wsfield for="Has category" type="option" value="Beroepsgeschiedenis" selected="{{#ifeq: Beroepsgeschiedenis |{{{Has category|}}}|selected}}" >Beroepsgeschiedenis</wsfield>
</wsselect>
+
</wsselect><br>
  
 
<div class="text-right">
 
<div class="text-right">

Versie van 4 mrt 2021 12:22


This is the Portal form template. It should be called in the following format:

{{Portal form 
|Page= < Optional, person page to edit > if empty, a new page is created
|Portal=

"Template:Portal" parameters:
|Title=
|Portal=
}}