Sjabloon:Article form: verschil tussen versies
Uit Auditpedia
Regel 29: | Regel 29: | ||
<wslabel>{{int: ws-portal}}:</wslabel> | <wslabel>{{int: ws-portal}}:</wslabel> | ||
{{#cadefine:$portals |{{#ask:[[Class::Portal]] |limit=999 |link=none |sort=Title }} }} | {{#cadefine:$portals |{{#ask:[[Class::Portal]] |limit=999 |link=none |sort=Title }} }} | ||
− | {{#cadefine:$portals selected |{{{Portal|}}} }}<!-- | + | {{#cadefine:$portals selected |{{{Portal|}}} }}<!---->{{#caprint: $portals selected}}<!-- |
-->{{#cadiff:$portals unselected |$portals |$portals selected}}<!-- | -->{{#cadiff:$portals unselected |$portals |$portals selected}}<!-- | ||
--><wstoken id="portal-tokens" multiple="multiple" required="required" name="Portal[]" ><wsfield type="option" value=""/> | --><wstoken id="portal-tokens" multiple="multiple" required="required" name="Portal[]" ><wsfield type="option" value=""/> |
Versie van 11 okt 2022 10:02
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 > }}