MediaWiki:Ws-header: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 1: Regel 1:
{{#widget:theme css|value={{#if:{{#var:@color }}|{{#var:@color }}|359 }} }}<!-- set the color
+
{{#vardefine:@color|{{#ask:[[Class::Domein]][[Domein::{{SERVERNAME}}]]|?Color|link=none|format=plainlist|mainlabel=-|headers=hide}} }}<!-- get the domain theme color
 +
-->{{#widget:theme css|value={{#if:{{#var:@color }}|{{#var:@color }}|359 }} }}<!-- set the domain theme color
 
--><div class="main-wrapper"><!--  
 
--><div class="main-wrapper"><!--  
 
   --><br><!--  
 
   --><br><!--  
   --><div class="burger d-lg-none position-absolute"><!-- burger menu for mobile
+
   --><div class="d-lg-none position-absolute"><!--  
       --><wslabel for="open-menu" class="btn">{{fa|bars}}</wslabel><!--  
+
       --><wslabel for="open-menu" class="btn">{{fa|bars}}</wslabel><!--burger menu for mobile ---------------------+
   --></div><!--  
+
   --></div><!--                                                                                                   |
  -->{{#vardefine:@color|{{#ask:[[Class::Domein]][[Domein::{{SERVERNAME}}]]|?Color|link=none|format=plainlist|mainlabel=-|headers=hide}} }}<!-- define color we use at the top
+
   --><div class="align-items-end d-lg-flex justify-content-between" ><!--                                         | no js pure css toggle
   --><div class="align-items-end d-lg-flex justify-content-between" ><!--  
+
         --><div>[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|link=|300x100px|Logo.png]]</div><!-- logo         |
         --><div>[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|link=|300x100px|Logo.png]]</div><!-- logo
+
         --><wsfield type="checkbox" id="open-menu" class="d-none"/><!-- checkbox to toggle mobile menu ------------+
         --><wsfield type="checkbox" id="open-menu" class="d-none"/><!-- checkbox to toggle mobile menu
 
 
         --><div class="main-menu mb-2 w-100">{{wiki:{{SERVERNAME}}-main-menu}}</div><!--  
 
         --><div class="main-menu mb-2 w-100">{{wiki:{{SERVERNAME}}-main-menu}}</div><!--  
 
         --><div><!--  
 
         --><div><!--  
           --><wsfield type="checkbox" id="open-search" class="d-none"/><!-- checkbox to toggle searchbox
+
           --><wsfield type="checkbox" id="open-search" class="d-none"/><!-- toggle searchbox ---------------------+
           --><div class="width-none">{{#widget:Searchbar}}</div><!--  
+
           --><div class="width-none">{{#widget:Searchbar}}</div><!--                                               | no js pure css toggle
           --><wslabel for="open-search" class="btn mb-2">{{fa|search}}</wslabel><!-- search button
+
           --><wslabel for="open-search" class="btn mb-2">{{fa|search}}</wslabel><!-- search button ----------------+
 
         --></div><!--  
 
         --></div><!--  
         --><div>{{#widget:link|type=a|href={{fullurl:Beheer}}|text={{fa|edit}}|class=btn mb-2}}</div><!-- admin link
+
         --><div>{{#widget:link|type=a|href={{fullurl:Beheer}}|text={{fa|edit}}|class=btn mb-2}}</div><!-- admin link
 
   --></div><!--  
 
   --></div><!--  
 
   --><hr><!--  
 
   --><hr><!--  
 
--></div>
 
--></div>

Versie van 12 nov 2020 20:10