Sjabloon:Podcast form: verschil tussen versies
Uit Auditpedia
(8 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 16: | Regel 16: | ||
|Description= | |Description= | ||
|Image podcast item= | |Image podcast item= | ||
+ | |Date= | ||
|Author= | |Author= | ||
|Url= | |Url= | ||
Regel 26: | Regel 27: | ||
<div id="errors"></div><div id="verbose"></div><!-- | <div id="errors"></div><div id="verbose"></div><!-- | ||
− | --> | + | -->{{Item responsive |Cols=4-8 |
− | + | |1={{int:ws-podcast-title}} | |
+ | |2={{{Title|}}}<wsfield name="Title" type="hidden" value="{{{Title|}}}" required="required" /> | ||
+ | }}<!-- | ||
− | --> | + | -->{{Item responsive |Cols=4-8 |
− | + | |1={{int:ws-podcast}} | |
+ | |2={{{Podcast name|}}}<wsfield name="Podcast name" type="hidden" value="{{{Podcast name|}}}" required="required" /> | ||
+ | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1= | + | |1=Auteur |
|2=<div class="input-lg">{{Token field |Field name=Author |Available values={{MediaWiki:Author}} |ID=author |Selected values={{{Author|}}} |Multiple=}}</div> | |2=<div class="input-lg">{{Token field |Field name=Author |Available values={{MediaWiki:Author}} |ID=author |Selected values={{{Author|}}} |Multiple=}}</div> | ||
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1= | + | |1=Datum plaatsing |
+ | |2=<wsfield name="Date" type="date" value="{{#time:Y-m-d|now}}" required="required" /> | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{Item responsive |Cols=4-8 | ||
+ | |1=Korte omschrijving | ||
|2=<wsfield name="Short description" placeholder="Short description for on the tile in podcast overview" type="textarea" rows="2" value="{{{Short description|}}}" class="form-control"/> | |2=<wsfield name="Short description" placeholder="Short description for on the tile in podcast overview" type="textarea" rows="2" value="{{{Short description|}}}" class="form-control"/> | ||
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1= | + | |1=Omschrijving |
|2=<wsfield name="Description" type="textarea" rows="3" value="{{{Description|}}}" class="form-control"/> | |2=<wsfield name="Description" type="textarea" rows="3" value="{{{Description|}}}" class="form-control"/> | ||
}}<!-- | }}<!-- | ||
Regel 52: | Regel 62: | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1= | + | |1=Afbeelding bij podcast |
|2=<wsfield verbose_id="verbose" error_id"errors" pagecontent="{{#var: @file page content}}" name="{{{Image podcast item|}}}" id="image-Podcast/{{{Page|}}}" type="file" target="image-Podcast/{{{Page|}}}" class="form-control" /> | |2=<wsfield verbose_id="verbose" error_id"errors" pagecontent="{{#var: @file page content}}" name="{{{Image podcast item|}}}" id="image-Podcast/{{{Page|}}}" type="file" target="image-Podcast/{{{Page|}}}" class="form-control" /> | ||
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1= | + | |1=Link |
|2=<wsfield name="Url" type="url" value="{{#widget:Plain |text={{{Url|}}} }}" class="form-control"/> | |2=<wsfield name="Url" type="url" value="{{#widget:Plain |text={{{Url|}}} }}" class="form-control"/> | ||
}}<!-- | }}<!-- | ||
--> | --> | ||
<div class="text-right mt-3"> | <div class="text-right mt-3"> | ||
+ | {{#widget:Button link | ||
+ | |class=btn btn-default | ||
+ | |href=/index.php/Podcast | ||
+ | |buttontext={{int: ws-back}} | ||
+ | }} | ||
<wsfield type="submit" class="btn btn-primary" value="{{int:ws-save}}" /> | <wsfield type="submit" class="btn btn-primary" value="{{int:ws-save}}" /> | ||
</div><!-- | </div><!-- | ||
--></wsform></includeonly> | --></wsform></includeonly> |
Huidige versie van 2 mrt 2022 om 10:55
This is the "Podcast form" template. It should be called in the following format:
{{Podcast form |Page= |Title= |Podcast name= |Short description= |Description= |Image podcast item= |Date= |Author= |Url= }}