Sjabloon:Profile card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 32: Regel 32:
 
<div class="col-12">
 
<div class="col-12">
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
 
{{#ifeq: {{CURRENTLOGGEDUSER}} |{{{Name|}}} |
 +
<div class="col-12 col-md-push-2">
 +
    {{Page title
 +
  |No display title=Yes
 +
  |Formlink={{#widget:Button link
 +
  |class=btn btn-default orange-button
 +
  |href=#comment
 +
  |datatoggle=collapse
 +
  |buttontext={{Fa|plus}} {{int: ws-edit}}
 +
  }}
 +
}}
 +
</div>
 +
<div id="article-form" class="collapse infocard">
 
<wsform action="addToWiki">
 
<wsform action="addToWiki">
 
<wsedit target="{{PAGEID}}" template="Auteur" formfield="Comment"/>
 
<wsedit target="{{PAGEID}}" template="Auteur" formfield="Comment"/>
Regel 39: Regel 51:
 
<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 class="col-12">
 
|<div class="col-12">
 
{{{Comment|}}}
 
{{{Comment|}}}
 
</div>
 
</div>
 
}}
 
}}
  </div>
+
</div>
  </div>
+
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versie van 24 nov 2020 12:28

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.