Sjabloon:Profile card: verschil tussen versies
Uit Auditpedia
(25 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 7: | Regel 7: | ||
|Email= | |Email= | ||
|Administrator= | |Administrator= | ||
− | | | + | |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="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> | + | <h4>{{ucfirst:{{int: ws-general-info}} }}</h4> |
</div> | </div> | ||
− | <div class="card-body inhoud | + | <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- | + | <div class="col-12">'''{{ucfirst:{{int: ws-biography}} }}:'''</div> |
</div> | </div> | ||
− | <div class="row pb-2"> | + | <div class="col-12 row pb-2 bio"> |
− | + | {{{Bio-text|}}} | |
− | </div> | + | </div> |
− | |||
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} | | {{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} | | ||
− | + | {{#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-biography}} | + | |buttontext={{ucfirst:{{int: ws-edit-biography}} }} |
}} | }} | ||
− | |||
<div id="comment" class="collapse infocard"> | <div id="comment" class="collapse infocard"> | ||
<wsform action="addToWiki"> | <wsform action="addToWiki"> | ||
− | <wsedit target="{{PAGEID}}" template="Auteur" formfield=" | + | <wsedit target="{{PAGEID}}" template="Auteur" formfield="Bio-text"/> |
− | <wsfield type="textarea" name=" | + | <wsfield type="textarea" name="Bio-text" id="comment" required="required"> |
− | {{{ | + | {{{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}}" /> | ||
Regel 51: | Regel 48: | ||
</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.