Difference between revisions of "MediaWiki:Frame.rythm"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
String content; | String content; | ||
} | } | ||
− | |||
<!DOCTYPE html> | <!DOCTYPE html> | ||
<html lang="en"> | <html lang="en"> | ||
Line 18: | Line 17: | ||
color: #FF8000; | color: #FF8000; | ||
margin-left: 40px; | margin-left: 40px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
− | <div | + | <div id='content'> |
− | |||
− | |||
@(content) | @(content) | ||
− | |||
− | |||
</div> | </div> | ||
</body> | </body> | ||
</source> | </source> |
Revision as of 16:50, 2 February 2017
@// Rythm template for the manager for the
@// Entity Attribute which is a DocElement
@args() {
String content;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<style>
body {
background-color: linen;
}
h1 {
color: #FF8000;
margin-left: 40px;
}
</style>
</head>
<body>
<div id='content'>
@(content)
</div>
</body>