Edit article: verschil tussen versies
Uit Auditpedia
(9 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 6: | Regel 6: | ||
--><div class="row"><div class="col-12"><!-- | --><div class="row"><div class="col-12"><!-- | ||
--><h2>Uitgelicht</h2><!-- | --><h2>Uitgelicht</h2><!-- | ||
− | --><span class="align-middle pl-3"><wsfield id="featured-article" type=" | + | --><span class="align-middle pl-3"><wsfield id="featured-article-yes" type="radio" value="True" name="Featured" checked="{{#ifeq:{{#caprint:$desc[Article][Featured]}}|True|checked}}" /></span><!-- |
− | --> <wslabel for="featured-article">Uitgelicht artikel</wslabel><!-- | + | --> <wslabel for="featured-article-yes">Uitgelicht artikel</wslabel><!-- |
+ | --><span class="align-middle pl-3"><wsfield id="featured-article-no" type="radio" value="False" name="Featured" checked="{{#ifeq:{{#caprint:$desc[Article][Featured]}}|False|checked}}" /></span><!-- | ||
+ | --> <wslabel for="featured-article-no">Geen uitgelicht artikel</wslabel><!-- | ||
--></div></div> | --></div></div> | ||
|}}<!-- | |}}<!-- | ||
Regel 14: | Regel 16: | ||
<wsedit target="{{#var:@id}}" template="Article" formfield="Short description" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Short description" /> | ||
<wslabel><h2>Samenvatting:</h2>Schrijf hier een samenvatting voor het artikel (max. 250 woorden) het is sterk aan te raden om een foto toe te voegen in dit veld.</wslabel> | <wslabel><h2>Samenvatting:</h2>Schrijf hier een samenvatting voor het artikel (max. 250 woorden) het is sterk aan te raden om een foto toe te voegen in dit veld.</wslabel> | ||
− | <wsfield type="textarea" editor="ve" rows="4" class="form-control high-z-index" name="Short description" >{{#caprint:$desc[Article][Short description]||noparse,nowiki}}</wsfield> | + | <wsfield type="textarea" editor="ve" rows="4" class="form-control high-z-index toolbarOnTop" name="Short description" >{{#caprint:$desc[Article][Short description]||noparse,nowiki}}</wsfield> |
<wsedit target="{{#var:@id}}" template="Article" formfield="Description" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Description" /> | ||
Regel 22: | Regel 24: | ||
<wsedit target="{{#var:@id}}" template="Article" formfield="External links" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="External links" /> | ||
<wslabel><h2>{{int: ws-external-links}}:</h2>Plaats hier externe links welke gerelateerd zijn aan dit artikel.</wslabel> | <wslabel><h2>{{int: ws-external-links}}:</h2>Plaats hier externe links welke gerelateerd zijn aan dit artikel.</wslabel> | ||
− | <wsfield type="textarea" editor="ve" rows="4" class="form-control" name="External links" >{{#caprint:$desc[Article][External links]||noparse,nowiki}}</wsfield> | + | <wsfield type="textarea" editor="ve" rows="4" class="form-control toolbarOnTop" name="External links" >{{#caprint:$desc[Article][External links]||noparse,nowiki}}</wsfield> |
<wsedit target="{{#var:@id}}" template="Article" formfield="Portal" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Portal" /> | ||
Regel 34: | Regel 36: | ||
<wsedit target="{{#var:@id}}" template="Article" formfield="Subportal" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Subportal" /> | ||
<wslabel><h2>{{int: ws-subportal}}:</h2>Je kunt subportalen toevoegen, onderscheid deze met een komma (Bijv. Portal/Founding fathers, Portal/Vormgeving) - Alleen subportalen van relevante portalen zijn beschikbaar</wslabel> | <wslabel><h2>{{int: ws-subportal}}:</h2>Je kunt subportalen toevoegen, onderscheid deze met een komma (Bijv. Portal/Founding fathers, Portal/Vormgeving) - Alleen subportalen van relevante portalen zijn beschikbaar</wslabel> | ||
− | <wstoken name="Subportal[]" class="form-control pb-3" multiple="multiple" id="subportal-token"> | + | <wstoken name="Subportal[]" class="form-control pb-3" multiple="multiple" id="subportal-token"><!-- |
− | + | -->{{#ask:[[Class::Subportal]] [[Portal::{{#caamap:{{#caprint:$desc[Article][Portal]}}|,|@@@|@@@|{{!}}{{!}} |}}]] | |
− | |format= | + | |format=complexarray |name=$subportals |link=none}}<!-- |
− | + | ||
− | |{{#tag:wsfield| | + | -->{{#camap:$subportals |
+ | |@@@ | ||
+ | |{{#tag:wsfield|@@@[cadisplaytitle]|type=option|for=Portal|value=@@@[catitle],|selected={{#if:{{#pos:{{#caprint:$desc[Article][Subportal]}} |@@@[catitle]}} |selected |}} }} | ||
|}} | |}} | ||
</wstoken> | </wstoken> |