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)
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"><h2>{{CURRENTLOGGEDUSER}}</h2><!--
 +
--> {{#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> }} }}<!--
 +
--> {{#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> }}}}<!--
 +
--> {{#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> }}}}<!--
 +
--></div> }}</div></div>
 
</div>{{int:ws-navmenu}}</div>{{Managed
 
</div>{{int:ws-navmenu}}</div>{{Managed
 
|Version=1.0
 
|Version=1.0

Revision as of 11:29, 20 May 2020