Difference between revisions of "Template:Hidden"

From Tar Valon Library
Jump to: navigation, search
(New page: <div class="NavFrame" style="border:none;"><div class="NavHead" style="font-weight:{{{fw1|bold}}}; background-color:{{{bg1|transparent}}}; text-align:{{{ta1|center}}}; {{{headercss|}}}">...)
 
Line 8: Line 8:
  
 
<noinclude>  
 
<noinclude>  
 
+
<pre>
 
Two parameters are required for this template: header and content  
 
Two parameters are required for this template: header and content  
 
You may write it this way :
 
You may write it this way :
Line 32: Line 32:
 
| content = Body text line 1<br/>Body text line 2<br/>Body text line 3
 
| content = Body text line 1<br/>Body text line 2<br/>Body text line 3
 
}} </noinclude>
 
}} </noinclude>
 +
</pre>

Revision as of 04:41, 2 March 2008


Two parameters are required for this template: header and content 
You may write it this way :

{{hidden
| header = Title text here
| content = Body text line 1<br/>Body text line 2
}}
(<br/> is for moving into new line)


or this :

{{hidden|Title text here|Body text line 1<br/>Body text line 2}}


There are two optional parameters : contentcss , headercss

{{hidden
| headercss = background: #ccccff;(or some other color) font-size: 110%; width: 100%;
| contentcss = text-align: center; font-size: 110%; width: 100%;
| header = Title text here
| content = Body text line 1<br/>Body text line 2<br/>Body text line 3
}} </noinclude>