Sjabloon:Portal form: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 31: Regel 31:
 
{{#tag:wsselect |
 
{{#tag:wsselect |
 
<wsfield type="option" value="">(geen)</wsfield>
 
<wsfield type="option" value="">(geen)</wsfield>
{{#caamap:{{#caprint:$portals selected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ |selected=selected}} |}}
+
{{#caamap:{{#arrayprint:$portals selected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ |selected=selected}} |}}
{{#caamap:{{#caprint:$portals unselected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ }} |}}
+
{{#caamap:{{#arrayprint:$portals unselected}} |, |__Portal__|{{#tag:wsfield |{{#show:__Portal__ |?Title}} |type=option |value=__Portal__ }} |}}
 
|name=Portal |class=form-control}}<!-- einde wsselect --><br>
 
|name=Portal |class=form-control}}<!-- einde wsselect --><br>
  

Versie van 7 mrt 2022 16:42


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=
}}