Template:OldBox

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (error fix)
(add optional "top note" argument)
Line 1: Line 1:
<div id="oldbox" style="padding:1em; border:2px solid #808000; background-color:#F5F5DC"><noinclude>
+
<div id="oldbox" style="padding:1em; border:2px solid #808000; background-color:#F5F5DC"><span style="background-color:#F9F9F9;padding:2px 6px 2px 6px">{{{1}}}</span><noinclude>
  
 
----
 
----
Line 7: Line 7:
  
 
:;Usage:
 
:;Usage:
:: <tt>'''<nowiki>{{</nowiki>OldBox}}'''</tt>
+
:: <tt>'''<nowiki>{{</nowiki>OldBox|optional top note}}'''</tt>
 
::: ''(content...)''
 
::: ''(content...)''
:: <tt>'''</div>'''</tt>
+
:: <tt>'''</div>'''</tt> (closing tag optional but recommended)

Revision as of 14:02, 19 September 2014

{{{1}}}
Purpose
To give 'historic' pages a distinct appearance, to alert reader the information is probably out of date.
(non-monospace version)
Usage
{{OldBox|optional top note}}
(content...)
</div> (closing tag optional but recommended)
Personal tools