Sjabloon:Portal form: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 29: Regel 29:
 
<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" />
 
<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" />
  
{{Item responsive |Cols={{#var:@cols|4-8}}
+
<wslabel for="subportal-field"> Yes</wslabel>
|1=Is subportal
+
<wsfield type="checkbox" value="Yes" id="subportal-field" name="Is subportal"/>  
|2={{#tag:wslabel |<wsfield name="Is subportal" id="subportal-field" type="checkbox" value="Yes" checked="{{#ifeq:{{{Is subportal|}}} |Yes |checked}}" /> Ja |for=subportal-field}}
 
}}
 
  
 
<div class="text-right">
 
<div class="text-right">

Versie van 18 nov 2020 16:30


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
|Is subportal= < Optional: Yes >

"Template:Portal" parameters:
|Title=
|Is subportal=
}}