Template:Nav: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<hr style="margin: 1em 0em; clear: both;" />
<hr style="margin: 1em 0em; clear: both;" />
<div class="nav items wide {{    #if:{{{theme|}}} | n | y {{#if:{{{{{theme|}}}|name}} | yy theme-{{{{{theme|}}}|name}} | nn }}    }}">
<div class="nav items wide {{    #if:{{{{{theme|}}}}}    |     |     {{#if:{{{{{theme|}}}|name}} | {{lc:theme-{{{{{theme|}}}|name}}}} | }}    }}">
   <div class="box" style="border:1px solid #AAA;
   <div class="box" style="border:1px solid #AAA;
     border-spacing:0;
     border-spacing:0;
Line 9: Line 9:
     width:50em;">
     width:50em;">
       <div class="header heading" style="background-color: {{ #if:{{{{{theme|}}}}} | {{{theme-color|}}} | {{{{{theme|}}}|color}}  }};"><!--
       <div class="header heading" style="background-color: {{ #if:{{{{{theme|}}}}} | {{{theme-color|}}} | {{{{{theme|}}}|color}}  }};"><!--
         -->{{    #if:{{{{{theme|}}}}} | {{{title|}}} | {{#if: {{{{{theme|}}}|mainlink}} | {{{{{theme|}}}|mainlink}} | {{{{{theme|}}}|name}} }}    }}<!--
         -->{{    #if:{{{{{theme|}}}}}   |   {{{title|}}}   |   {{#if: {{{{{theme|}}}|mainlink}} | {{{{{theme|}}}|mainlink}} | {{{{{theme|}}}|name}} }}    }}<!--
         -->{{    #if:{{{{{theme|}}}}} | {{{buttons|}}} | {{{{{theme|}}}|buttons}}    }}
         -->{{    #if:{{{{{theme|}}}}} | {{{buttons|}}} | {{{{{theme|}}}|buttons}}    }}
       </div>
       </div>

Revision as of 07:05, 7 August 2020


This template is a stub.


Examples:





Required parameters:

Optional parameters:

  • buttons: Consists of a buttons template. Is displayed next to title
  • theme: What module, functionality, or other theme this nav belongs to, injected as a class. E.g. Aerius gets class "theme-aerius".
  • theme-color: The color appropriate for the theme, if no theme is directly provided.