Difference between revisions of "MediaWiki:Bootstrap.rythm"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<source lang='html'> | <source lang='html'> | ||
@// Rythm template for Boostrap initialization | @// Rythm template for Boostrap initialization | ||
− | @def header(String title) { | + | @def header(String lang,String title) { |
<!doctype html> | <!doctype html> | ||
<html lang="@(lang)"> | <html lang="@(lang)"> |
Revision as of 15:12, 3 November 2017
Rythm source
@// Rythm template for Boostrap initialization
@def header(String lang,String title) {
<!doctype html>
<html lang="@(lang)">
<head>
<!-- https://de.wikipedia.org/wiki/Bootstrap_(Framework) -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@(title)</title>
}
@// initialize bootstrap
@def bootstrap() {
<!-- Einbinden des Bootstrap-Stylesheets -->
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- optional: Einbinden der jQuery-Bibliothek -->
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js"></script>
<!-- optional: Einbinden der Bootstrap-JavaScript-Plugins -->
<script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js"></script>
}