Difference between revisions of "MediaWiki:Ws-header"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
(13 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"><h2>{{CURRENTLOGGEDUSER}}</h2><!--  
+
   -->{{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|{{fa|book}} Plaintiff in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Plaintiffpages}} cases]]<br>|{{#if:{{#arrayprint:@Plaintiffpages}}| {{fa|book}} Plaintiff in [[{{#arrayprint:@Plaintiffpages}}|case]]<br> }} }}<!--  
+
  --> {{#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> }} }}<!--  
 
--> {{#arraydefine:@Judgepages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Judge]]|format=array|link=none}} }}<!--  
 
--> {{#arraydefine:@Judgepages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Judge]]|format=array|link=none}} }}<!--  
  --> {{#ifexpr:{{#arraysize:@Judgepages}} > 1|{{fa|gavel}} Judge in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Judgepages}} cases]]<br> |{{#if:{{#arrayprint:@Judgepages}}| {{fa|gavel}} Judge in [[{{#arrayprint:@Judgepages}}|case]]<br> }}}}<!--  
+
  --> {{#ifexpr:{{#arraysize:@Judgepages}} > 1|<div>{{fa|gavel}} Judge in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Judgepages}} cases]]</div> |{{#if:{{#arrayprint:@Judgepages}}|<div>{{fa|gavel}} Judge in [[{{#arrayprint:@Judgepages}}|case]]</div> }}}}<!--  
 
--> {{#arraydefine:@Jurorpages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Juror]]|format=array|link=none}} }}<!--  
 
--> {{#arraydefine:@Jurorpages|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Role::Juror]]|format=array|link=none}} }}<!--  
  --> {{#ifexpr:{{#arraysize:@Jurorpages}} > 1|{{fa|balance-scale}} Juror in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Jurorpages}} cases]]<br> |{{#if:{{#arrayprint:@Jurorpages}}|  {{fa|balance-scale}} Juror in [[{{#arrayprint:@Jurorpages}}|case]]<br> }}}}<!--  
+
  --> {{#ifexpr:{{#arraysize:@Jurorpages}} > 1|<div>{{fa|balance-scale}} Juror in [[User:{{CURRENTLOGGEDUSER}}|{{#arraysize:@Jurorpages}} cases]]</div> |{{#if:{{#arrayprint:@Jurorpages}}|<div> {{fa|balance-scale}} Juror in [[{{#arrayprint:@Jurorpages}}|case]]</div> }}}}<!--  
 
  --></div> }}</div></div>
 
  --></div> }}</div></div>
 
</div>{{int:ws-navmenu}}</div>{{Managed
 
</div>{{int:ws-navmenu}}</div>{{Managed

Latest revision as of 12:09, 8 December 2021