Sjabloon:Profile card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(31 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 7: Regel 7:
 
|Email=
 
|Email=
 
|Administrator=
 
|Administrator=
|Comment=
+
|Bio-text=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>___NOTOC___NOTITLE__
 
</noinclude><includeonly>___NOTOC___NOTITLE__
<div class="container">
 
 
<div class="card">
 
<div class="card">
 
<div class="card-header" style="background-color: #1d84b0; color: white;">
 
<div class="card-header" style="background-color: #1d84b0; color: white;">
<h4>General info</h4>
+
<h4>{{ucfirst:{{int: ws-general-info}} }}</h4>
 
</div>
 
</div>
<div class="card-body inhoud" style="background-color: white; height: auto;">
+
<div class="card-body profile-card inhoud">
 
<div class="row pb-2">
 
<div class="row pb-2">
 
<div class="col-6">'''{{ucfirst:{{int: ws-name}} }}:'''</div>
 
<div class="col-6">'''{{ucfirst:{{int: ws-name}} }}:'''</div>
Regel 27: Regel 26:
 
</div>
 
</div>
 
<div class="row pb-2">
 
<div class="row pb-2">
<div class="col-6">'''{{ucfirst:{{int: ws-biography}} }}:'''</div>
+
<div class="col-12">'''{{ucfirst:{{int: ws-biography}} }}:'''</div>
 
</div>
 
</div>
<div class="row pb-2">
+
<div class="col-12 row pb-2 bio">
<div class="col-12">
+
{{{Bio-text|}}}
<div class="col-12">{{{Comment|}}}
+
</div>
</div>
 
<div class="float-right">
 
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
   <div class="col-12 col-md-push-2">{{#widget:Button link
+
   {{#widget:Button link
 
   |class=btn btn-default orange-button
 
   |class=btn btn-default orange-button
 
   |href=#comment
 
   |href=#comment
 
   |datatoggle=collapse
 
   |datatoggle=collapse
   |buttontext={{int: ws-edit}}
+
   |buttontext={{ucfirst:{{int: ws-edit-biography}} }}
 
   }}
 
   }}
</div>
 
</div>
 
 
<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" 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}}" />
 
</wsform>
 
</wsform>
  </div>
+
</div>
 
}}
 
}}
</div>
 
</div>
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Huidige versie van 18 mei 2022 om 11:31

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

{{Profile card
|Name=
|Email=
|Administrator=
|Bio-text=
}}

Edit the page to see the template text.