Difference between revisions of "MediaWiki:BITPlan.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
Line 48: Line 48:
 
}
 
}
 
@// the BITPlan imprint footer
 
@// the BITPlan imprint footer
@def footer(String languageCode) {
+
@def footer(boolean de) {
 
  <footer>  
 
  <footer>  
 
       <nav>
 
       <nav>
 
         <span class='copyright'>© 2017&nbsp;
 
         <span class='copyright'>© 2017&nbsp;
           <a href='http://www.bitplan.com'>BITPlan GmbH.</a>&nbsp;Alle Rechte vorbehalten.
+
           <a href='http://www.bitplan.com'>BITPlan GmbH.</a>&nbsp;@(de?"Alle Rechte vorbehalten":"All rights reserved").
 
         </span>
 
         </span>
 
         &nbsp;
 
         &nbsp;
@if ("de".equals(languageCode)) {
+
         <span class='imprint'><a href='http://training.bitplan.com/index.php/@(de?"Impressum":"Imprint")'>@(de?"Impressum":"Imprint"</a></span>
         <span class='imprint'><a href='http://training.bitplan.com/index.php/Impressum'>Impressum</a></span>
 
} else {
 
        <span class='imprint'><a href='http://training.bitplan.com/index.php/Imprint'>Imprint</a></span>
 
}
 
 
       </nav>
 
       </nav>
 
     </footer>
 
     </footer>

Revision as of 09:09, 9 November 2017

Links

Rythm Template

@// BITPlan style definitions
@def style() 
  <style>
    a:hover {	
      color: #FFFFFF;
      background-color: rgba(255,128,00,0.5);
    }
    h1,h2,h3,.bitplanorange {
      color: #FF8000;
    }
    .floatleft {
      float: left;
      margin: 1vw;
    }
    .floatright {
      float: right;
      margin: 1vw;
    }
    .logo {
      width: 6vw;	
      float:left;
    }
    .copyright {
      font-size: 0.5vw;
    }
    .imprint {
      font-size: 0.8vw;
    }
    ul li{
      margin-bottom:1vh;
    }

/** Language styles */

span.lang-de, span.lang-De {
	padding-right: 25px;
	background: url(http://wiki.bitplan.com/images/e/e7/Lang-De.gif) center right no-repeat;
}

span.lang-en, span.lang-En {
	padding-right: 25px;
	background: url(http://wiki.bitplan.com/images/7/78/Lang-En.gif) center right no-repeat;
}
  </style>
}
@// the BITPlan imprint footer
@def footer(boolean de) {
 <footer> 
      <nav>
         <span class='copyright'>© 2017&nbsp;
           <a href='http://www.bitplan.com'>BITPlan GmbH.</a>&nbsp;@(de?"Alle Rechte vorbehalten":"All rights reserved").
         </span>
         &nbsp;
         <span class='imprint'><a href='http://training.bitplan.com/index.php/@(de?"Impressum":"Imprint")'>@(de?"Impressum":"Imprint"</a></span>
      </nav>
    </footer>
  </body>
</html>
}