Template:NewsBox
From UIT
(Difference between revisions)
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | <pre>{{NewsBox|title|content}}</pre> | + | <pre>{{NewsBox|title|date|content}}</pre> |
</noinclude> | </noinclude> | ||
− | |||
<div style=" | <div style=" | ||
/* global container */ | /* global container */ | ||
background-color: #f1fdff; | background-color: #f1fdff; | ||
border: 1px solid #dedede; | border: 1px solid #dedede; | ||
− | |||
border-radius: 10px; | border-radius: 10px; | ||
width: 90%; | width: 90%; | ||
− | margin: | + | margin: 5px auto; |
padding: 0px; | padding: 0px; | ||
"> | "> | ||
<div style=" | <div style=" | ||
− | /* | + | /* date container */ |
background-color: #d0e5f5; | background-color: #d0e5f5; | ||
border-radius: 10px 10px 0 0; | border-radius: 10px 10px 0 0; | ||
margin: 0px; | margin: 0px; | ||
− | padding: 1px | + | padding: 1px 7px; |
− | + | float: right; | |
− | + | ||
"> | "> | ||
− | {{{ | + | {{{2}}} |
− | </div> | + | </div> <div style=" |
− | + | /* title container */ | |
− | /* | + | |
background-color: #d0e5f5; | background-color: #d0e5f5; | ||
border-radius: 10px 10px 0 0; | border-radius: 10px 10px 0 0; | ||
Line 32: | Line 28: | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
− | |||
"> | "> | ||
− | {{{ | + | {{{1}}} |
− | </div> | + | </div> |
<div style=" | <div style=" | ||
/* content container */ | /* content container */ |
Latest revision as of 15:45, 5 June 2013
{{NewsBox|title|date|content}}
{{{2}}}
{{{1}}}
{{{3}}}