Sjabloon:Article: verschil tussen versies
Uit Auditpedia
Regel 77: | Regel 77: | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | ||
− | <wslabel><h2> | + | <wslabel><h2>{{int: ws-preface}}:</h2></wslabel> |
<wsfield type="textarea" rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield> | <wsfield type="textarea" rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield> | ||
Regel 85: | Regel 85: | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Links" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Links" /> | ||
− | <wslabel><h2> | + | <wslabel><h2>{{int: ws-external-links}}:</h2><br>Please insert full urls separated by enters.<br>Name the link by adding a space and typing text afterwards</wslabel> |
<wsfield name="Links" type="textarea" class="form-control" placeholder="Please insert full urls separated by enters.">{{#arraymap:{{#var:@Link list}}|,|@@@|{{#widget:Plain |text=@@@}}|\n}}</wsfield> | <wsfield name="Links" type="textarea" class="form-control" placeholder="Please insert full urls separated by enters.">{{#arraymap:{{#var:@Link list}}|,|@@@|{{#widget:Plain |text=@@@}}|\n}}</wsfield> | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Portal" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Portal" /> | ||
− | <wslabel><h2> | + | <wslabel><h2>{{int: ws-portal}}:</h2></wslabel> |
<wsfield type="textarea" rows="2" class="form-control" name="Portal" >{{{Portal|}}}</wsfield> | <wsfield type="textarea" rows="2" class="form-control" name="Portal" >{{{Portal|}}}</wsfield> | ||
Versie van 13 nov 2020 09:05
This is the Article template. It should be called in the following format:
{{Article |Title= |Short description= |Picture= |Description= |Links= |Portal= < comma-separated pages > |Featured= < Optional: Yes > }}