Difference between revisions of "MediaWiki:Ws-header"

From cm2.liecourt.com
(Created page with "<div class="container-fluid" style=""><div class="row row-wsheader"> <div class="col-md-4"><ul class="list-inline"> <li>link={{int:mainpage}} |300x300px </li...")
 
(Fill database)
 
(14 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<li><br></li>
 
<li><br></li>
 
</ul></div>
 
</ul></div>
<div class="col-md-4" style="padding-top:25px;">{{#ifeq:{{PAGEIåçD}}|1||<!--{{#widget:Searchbar}}-->
+
<div class="col-md-4 " style="padding-top:25px;">{{#ifeq:{{PAGEID}}|1||<!--{{#widget:Searchbar}}-->
 
<div id="simpleSearch" class="right-inner-addon">{{fa|search}}  
 
<div id="simpleSearch" class="right-inner-addon">{{fa|search}}  
 
<wsform action="get" mwreturn="{{fullurl:Search}}" restrictions="lifted"><wsfield type="text" class="form-control" name="query" placeholder="Search Internet Court of Lies" /></wsform>
 
<wsform action="get" mwreturn="{{fullurl:Search}}" restrictions="lifted"><wsfield type="text" class="form-control" name="query" placeholder="Search Internet Court of Lies" /></wsform>
 
</div> }}</div>
 
</div> }}</div>
<div class="col-md-4 mt-4 " style="padding-top:25px; font-size:small; text-align: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}}|{{CURRENTLOGGEDUSER}} {{#ask:[[Class::Participant]][[User::{{CURRENTLOGGEDUSER}}]]|?Role}} }}</div></div>
+
   -->{{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}} }}<!--
 +
--> {{#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}} }}<!--
 +
--> {{#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}} }}<!--
 +
--> {{#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>{{int:ws-navmenu}}</div>{{Managed
 
</div>{{int:ws-navmenu}}</div>{{Managed
 
|Version=1.0
 
|Version=1.0

Latest revision as of 12:09, 8 December 2021