Template:NewsBox
From UIT
(Difference between revisions)
m |
|||
(22 intermediate revisions by 2 users 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 */ | ||
Line 8: | Line 7: | ||
border: 1px solid #dedede; | border: 1px solid #dedede; | ||
border-radius: 10px; | border-radius: 10px; | ||
− | width: | + | width: 90%; |
− | + | margin: 5px auto; | |
− | + | padding: 0px; | |
− | + | ||
− | + | ||
"> | "> | ||
<div style=" | <div style=" | ||
+ | /* date container */ | ||
+ | background-color: #d0e5f5; | ||
+ | border-radius: 10px 10px 0 0; | ||
+ | margin: 0px; | ||
+ | padding: 1px 7px; | ||
+ | float: right; | ||
+ | "> | ||
+ | {{{2}}} | ||
+ | </div> <div style=" | ||
/* title container */ | /* title container */ | ||
background-color: #d0e5f5; | background-color: #d0e5f5; | ||
Line 24: | Line 30: | ||
"> | "> | ||
{{{1}}} | {{{1}}} | ||
− | </div> | + | </div> |
<div style=" | <div style=" | ||
/* content container */ | /* content container */ | ||
Line 30: | Line 36: | ||
margin: 0px; | margin: 0px; | ||
padding: 1px 5px; | padding: 1px 5px; | ||
− | max-height: | + | max-height: 73px; |
overflow: auto; | overflow: auto; | ||
"> | "> | ||
− | {{{ | + | {{{3}}} |
</div> | </div> | ||
</div> | </div> |
Latest revision as of 15:45, 5 June 2013
{{NewsBox|title|date|content}}
{{{2}}}
{{{1}}}
{{{3}}}