Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
 
(93 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Links =
 
= Links =
https://wiki.selfhtml.org/wiki/HTML/Tutorials/Alternativen_zu_Tabellen
+
* {{Link|target=MediaWiki:Bootstrap.rythm}}
 +
* {{Link|target=MediaWiki:BITPlanStyle.rythm}}
 +
* {{Link|target=MediaWiki:BITPlan.rythm}}
 +
* {{Link|target=MediaWiki:Menu.rythm}}
 +
 
 
= Source =
 
= Source =
 
<source lang='html4strict'>
 
<source lang='html4strict'>
 
@// Rythm template for the WikiCMS approach
 
@// Rythm template for the WikiCMS approach
@args() {
+
@include(wiki.MediaWiki.BITPlan.rythm)
  String content,
+
@BITPlanHeader(languageCode,title)
  String lang,
+
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
  String title;
 
}
 
<!doctype html>
 
<html lang="@(lang)">
 
<head>
 
  <meta charset="utf-8"/>
 
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
  <title>@(title)</title>
 
  <style>
 
 
 
    body{
 
  margin: 10px auto;
 
  max-width: 60em;
 
}
 
* {
 
  padding: 10px;margin:5px;
 
}
 
header{
 
  border: 2px solid gray;
 
          background-color: #FCFCFC;
 
}
 
nav{
 
          text-declaration: none;
 
  background-color: #FCFCFC;
 
}
 
footer{
 
  border: 2px solid gray;
 
          background-color: #FCFCFC;
 
}
 
 
main{
 
  border: 2px solid gray;
 
}
 
 
article{
 
  border: 2px solid gray;
 
}
 
section{
 
  border: 2px solid gray;
 
}
 
aside{
 
  border: 2px solid gray;
 
}
 
        h1 {
 
          color: #FF8000;
 
        }
 
 
        h2 {
 
          color: #FF8000;
 
        }
 
 
        h3 {
 
          color: #FF8000;
 
        }
 
 
 
  </style>
 
 
</head>
 
</head>
 
 
<body>
 
<body>
    <header>
+
@BITPlanMenu(de)
        <nav>
+
  <div class="container">
            <img src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'>
+
  @(content)
            <a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a>
+
  </div><!-- /.container -->
            <a href='http://training.bitplan.com/index.php/Training'>Trainings</a>
+
@footer(de)
            <a href='http://training.bitplan.com/index.php/Partner'>Partner</a>
 
            <a href='http://training.bitplan.com/index.php/Aktuelles'>Aktuelles</a>
 
            <a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
 
      </nav>
 
    </header>
 
 
 
    <main>@(content)</main>
 
 
 
    <footer>
 
        Copyright (c) 2017<a href='http://www.bitplan.com'>BITPlan GmbH.</a>Alle Rechte vorbehalten.
 
        <a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a><a href='http://training.bitplan.com/index.php/Impressum'>Impressum</a>
 
    </footer>
 
</body>
 
</html>
 
 
</source>
 
</source>
 +
[[Category:RythmTemplate]]

Latest revision as of 12:32, 6 July 2021

Links

Source

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.BITPlan.rythm)
@BITPlanHeader(languageCode,title)
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
</head>
<body>
@BITPlanMenu(de)
  <div class="container">
  @(content)
  </div><!-- /.container -->
@footer(de)