Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 57: Regel 57:
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Main image" />
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Main image" />
 
<wslabel>Main image:</wslabel>
 
<wslabel>Main image:</wslabel>
<wsfield type="file" target="Test file" class="form-control" pagecontent="Information of the test file" name="Main image" force="png" id="main-image-upload" >{{{Main image|}}}</wsfield><br>
+
<wsfield type="file" target="main-image-{{PAGEID}}.png" class="form-control" pagecontent="Information of the test file" name="Main image" force="png" id="main-image-upload" >{{{Main image|}}}</wsfield><br>
  
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />

Versie van 5 nov 2020 16:58


This is the Article template. It should be called in the following format:

{{Article
|Title=
|Short description=
|Main image=
|Description=
|External links=
|Belongs to portal=
}}