Sjabloon:Article form: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 32: Regel 32:
 
-->{{#arraydiff:$portals unselected |$portals |$portals selected}}<!--
 
-->{{#arraydiff:$portals unselected |$portals |$portals selected}}<!--
 
--><wstoken id="portal-tokens" multiple required="required" name="Portal[]" ><wsfield type="option" value=""/>
 
--><wstoken id="portal-tokens" multiple required="required" name="Portal[]" ><wsfield type="option" value=""/>
{{#arraymap:{{#arrayprint:$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 }} |}}
{{#arraymap:{{#arrayprint:$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__}} |}}
 
</wstoken>
 
</wstoken>
  

Versie van 7 mrt 2022 16:30


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

{{Article form 
|Page= < Optional > if empty, a new page is created

"Template:Article" parameters:
|Title=
|Portal= < comma-separated pages > 
|Archived= < Optional: Yes > 
}}