Sjabloon:Related portals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 35: Regel 35:
 
<wsform action="addToWiki" enctype="multipart/form-data">
 
<wsform action="addToWiki" enctype="multipart/form-data">
 
<wsedit target="{{PAGEID}}" template="Portal" formfield="Related portal" />
 
<wsedit target="{{PAGEID}}" template="Portal" formfield="Related portal" />
<wslabel>Related portal:</wslabel>
+
<wslabel>Enter related portals, separated by comma:</wslabel>
 
<wsfield type="textarea"  rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield>
 
<wsfield type="textarea"  rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield>
 
<div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn portal-button|buttontext={{int: ws-back}} }}
 
<div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn portal-button|buttontext={{int: ws-back}} }}

Versie van 6 dec 2020 19:45

This is the "Related portals" template. It should be called in the following format:

{{Related portals
|Title=
|Related portal=
}}

Edit the page to see the template text.