Template:NewsBox

From UIT
(Difference between revisions)
Jump to: navigation, search
 
(8 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;
  position : fixed;
 
 
   border-radius:    10px;
 
   border-radius:    10px;
 
   width:            90%;
 
   width:            90%;
   margin:          0px auto;
+
   margin:          5px auto;
 
   padding:          0px;
 
   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 23: Line 30:
 
   ">
 
   ">
 
{{{1}}}
 
{{{1}}}
   </div>
+
   </div>
 
   <div style="
 
   <div style="
 
   /* content container */
 
   /* content container */
Line 32: Line 39:
 
     overflow:        auto;
 
     overflow:        auto;
 
   ">
 
   ">
{{{2}}}
+
{{{3}}}
 
   </div>
 
   </div>
 
</div>
 
</div>

Latest revision as of 15:45, 5 June 2013

{{NewsBox|title|date|content}}

{{{2}}}

{{{1}}}

{{{3}}}

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox