Sjabloon:Portal form: verschil tussen versies
Uit Auditpedia
(41 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 10: | Regel 10: | ||
{{Portal form | {{Portal form | ||
|Page= < Optional, person page to edit > if empty, a new page is created | |Page= < Optional, person page to edit > if empty, a new page is created | ||
− | | | + | |Portal= |
"Template:Portal" parameters: | "Template:Portal" parameters: | ||
|Title= | |Title= | ||
− | | | + | |Portal= |
}} | }} | ||
</pre> | </pre> | ||
− | </noinclude><includeonly><wsform action="addToWiki"> | + | </noinclude><includeonly><wsform action="addToWiki"> |
− | + | <wscreate mwwrite="Portal/[Title]" mwtemplate="Portal" mwfollow /> | |
− | |||
− | |||
− | |||
− | |||
<wslabel>{{int: ws-title}}:</wslabel> | <wslabel>{{int: ws-title}}:</wslabel> | ||
− | <wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control | + | <wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control" required="required" /><br> |
+ | <br> | ||
− | {{ | + | <wslabel>Behoort tot categorie:</wslabel> |
− | + | <wsselect name="Has category" class="form-control"> | |
− | + | <wsfield for="Has category" type="option" value="Maatschappelijke relevantie" selected="{{#ifeq: Maatschappelijke relevantie|{{{Has category|}}}|selected}}" >Maatschappelijke relevantie</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> | ||
+ | </wsselect><br> | ||
<div class="text-right"> | <div class="text-right"> |
Huidige versie van 11 okt 2022 om 10:44
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= }}