Sjabloon:Podcast edit form: verschil tussen versies
Uit Auditpedia
(45 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 15: | Regel 15: | ||
|Description= | |Description= | ||
|Image podcast item= | |Image podcast item= | ||
− | |Author | + | |Author= |
|Url= | |Url= | ||
}} | }} | ||
</pre> | </pre> | ||
− | </noinclude><includeonly>{{#vardefine: Page ID | {{PAGEID}} }}<!-- | + | </noinclude><includeonly>{{#vardefine:@cols | 4-8}}{{#vardefine: Page ID |{{PAGEID}}}}<!-- |
− | + | -->{{#tool: get params|{{PAGEID}}|$desc}}<!-- | |
+ | --><wsform action="addToWiki" enctype="multipart/form-data"> | ||
{{#vardefine:@cols|0-12}} | {{#vardefine:@cols|0-12}} | ||
<wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Title" /> | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Title" /> | ||
<wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Short description" /> | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Short description" /> | ||
+ | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Podcast name" /> | ||
<wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Description" /> | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Description" /> | ||
<wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Image podcast item" /> | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Image podcast item" /> | ||
− | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Author | + | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Author" /> |
+ | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Date" /> | ||
<wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Url" /> | <wsedit target="{{#var:Page ID}}" template="Podcast" formfield="Url" /> | ||
<div id="errors"></div><div id="verbose"></div> | <div id="errors"></div><div id="verbose"></div> | ||
<!-- | <!-- | ||
− | -->{{Item responsive |Cols={{ | + | -->{{Item responsive |Cols=4-8 |
− | |1= | + | |1=Podcast serie |
+ | |2=<div class="input-lg">{{Token field |Field name=Podcast name |Available values={{MediaWiki:Podcast name}} |ID=Name |Selected values={{{Podcast name|}}} |Multiple=}}</div> | ||
+ | }}<!-- | ||
+ | -->{{Item responsive |Cols=4-8 | ||
+ | |1=Titel/aflevering | ||
|2=<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control"/> | |2=<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control"/> | ||
}}<!-- | }}<!-- | ||
− | -->{{Item responsive |Cols={{ | + | -->{{Item responsive |Cols=4-8 |
− | |1= | + | |1=Auteur |
− | |2=<wsfield name=" | + | |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 | ||
+ | |1=Datum plaatsing | ||
+ | |2=<wsfield name="Date" type="date" value="{{{Date|{{#time:Y-m-d|now}} }}}" required="required" /> | ||
}}<!-- | }}<!-- | ||
− | -->{{Item responsive |Cols= | + | -->{{Item responsive |Cols=4-8 |
− | |1= | + | |1=Korte omschrijving |
− | |2=<wsfield name="Short description" 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={{ | + | type="textarea" editor="ve" name="Description" class="toolbarOnTop" |
− | | | + | -->{{Item responsive |Cols=4-8 |
− | |2=<wsfield | + | |1=Omschrijving<br>[{{fullurl:Edit description|id={{PAGEID}}&return={{FULLPAGENAME}}|Text=(bewerken)}} (bewerken)] |
+ | |2=<wsfield type="textarea" editor="ve" name="Description" rows="4" class="toolbarOnTop">{{#caprint:$desc[Podcast][Description]||noparse,nowiki}}</wsfield> | ||
}}<!-- | }}<!-- | ||
− | -->{{Item responsive |Cols= | + | -->{{#vardefine:@file page content |<nowiki>{{File |
− | |1= | + | |Belongs to page=</nowiki>{{FULLPAGENAME}}<nowiki> |
− | |2=<wsfield verbose_id="verbose" error_id"errors" name="{{{Image podcast item|}}}" id="image-{{ | + | }}</nowiki>}}<!-- |
+ | -->{{Item responsive |Cols=4-8 | ||
+ | |1=Afbeelding bij podcsat | ||
+ | |2=<wsfield verbose_id="verbose" error_id"errors" pagecontent="{{#var: @file page content}}" name="{{{Image podcast item|}}}" id="image-{{PAGEID}}" type="file" target="image-{{#var: Page ID}}" class="form-control" /> | ||
}}<!-- | }}<!-- | ||
− | + | -->{{Item responsive |Cols=4-8 | |
− | |1= | + | |1=Link |
− | |2=<wsfield name="Url" type=" | + | |2=<wsfield name="Url" type="url" value="{{#widget:Plain |text={{{Url|}}} }}" class="form-control"/> |
}}<!-- | }}<!-- | ||
--> | --> |
Huidige versie van 2 mrt 2022 om 10:54
This is the "Podcast edit form" template. It should be called in the following format:
{{Podcast edit form |Page= |About organization= |Title= |Short description= |Description= |Image podcast item= |Author= |Url= }}