Difference between revisions of "MediaWiki:Ws-header"
From cm2.liecourt.com
(Fill database) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
</div> }}</div> | </div> }}</div> | ||
<div class="col-md-4 text-center d-flex" style="margin-top: 25px;justify-content: center;font-size: small;align-self: center; "><div class="btn-group" role="group"><!-- | <div class="col-md-4 text-center d-flex" style="margin-top: 25px;justify-content: center;font-size: small;align-self: center; "><div class="btn-group" role="group"><!-- | ||
− | -->{{Login button}} {{#if:{{CURRENTLOGGEDUSER}}|<div class="ml-4 text-left d-flex" style="align- | + | -->{{Login button}} {{#if:{{CURRENTLOGGEDUSER}}|<div class="ml-4 text-left d-flex" style="align-self: center;flex-direction: column;"><h2 class="mb-0">{{CURRENTLOGGEDUSER}}</h2><!-- |
--> {{#arraydefine:@Plaintiffpages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Plaintiff]]|format=array|link=none}} }}<!-- | --> {{#arraydefine:@Plaintiffpages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Plaintiff]]|format=array|link=none}} }}<!-- | ||
--> {{#ifexpr:{{#arraysize:@Plaintiffpages}} > 1|<div>{{fa|book}} Plaintiff in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Plaintiffpages}} cases]]</div>|{{#if:{{#arrayprint:@Plaintiffpages}}|<div> {{fa|book}} Plaintiff in [[{{#arrayprint:@Plaintiffpages}}|case]]</div> }} }}<!-- | --> {{#ifexpr:{{#arraysize:@Plaintiffpages}} > 1|<div>{{fa|book}} Plaintiff in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Plaintiffpages}} cases]]</div>|{{#if:{{#arrayprint:@Plaintiffpages}}|<div> {{fa|book}} Plaintiff in [[{{#arrayprint:@Plaintiffpages}}|case]]</div> }} }}<!-- |