Sjabloon:Profile card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 30: Regel 30:
 
</div>
 
</div>
 
<div class="col-12 row pb-2">
 
<div class="col-12 row pb-2">
{{{Comment|This Author didn't write a biography yet}}}
+
{{{Bio-text|}}}
 
</div>   
 
</div>   
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
Regel 41: Regel 41:
 
<div id="comment" class="collapse infocard">
 
<div id="comment" class="collapse infocard">
 
<wsform action="addToWiki">
 
<wsform action="addToWiki">
<wsedit target="{{PAGEID}}" template="Auteur" formfield="Comment"/>
+
<wsedit target="{{PAGEID}}" template="Auteur" formfield="Bio-text"/>
<wsfield type="textarea" name="Comment" id="comment" placeholder="{{{Placeholder|}}}" required="required">
+
<wsfield type="textarea" name="Bio-text" id="comment" placeholder="{{{Placeholder|}}}" required="required">
{{{Comment|}}}
+
{{{Bio-text|}}}
 
</wsfield>  
 
</wsfield>  
 
<wsfield type="submit" class="btn btn-primary" style="color: white; margin-top: 10px;" value="{{int: ws-save}}" />
 
<wsfield type="submit" class="btn btn-primary" style="color: white; margin-top: 10px;" value="{{int: ws-save}}" />

Versie van 24 nov 2020 15:37

This is the "Profile card" template. It should be called in the following format:

{{Profile card
|Name=
|Email=
|Administrator=
|Comment=
}}

Edit the page to see the template text.