Template:FuncDefH4: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs)
function definition which will generate a TOC entry
 
Raffriff42 (talk | contribs)
m usage: touch-up
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h4 style="display:inline;font-size:50%;height:0;line-height:0;overflow:hidden;">&nbsp;<span style="display:none">{{{1|}}}</span></h4> <span {{Template:Style_FuncDef_Inline}}>{{{1}}}</span><noinclude>
<h4 style="display:inline;font-size:10%;height:0;line-height:0;margin:0;padding:0;overflow:hidden;"><span style="display:none">{{{1}}}</span></h4> <noinclude>
 
'''Purpose'''
:To add a Table of Contents (TOC) entry for a function definition with a hidden &lt;h4&gt; element.
 
'''Usage'''
:Place immediately above the function definition, exactly as shown.
<div {{BoxWidthIndent|24|2}} >
<nowiki>{{</nowiki>'''FuncDefH4'''|MyFilter}}
<nowiki>{{</nowiki>FuncDef|MyFilter(...)}}
</div>
:See [[SegmentedAviSource]] for the result.
:Sadly, this template is broken with FuncDef's indented with ':'
 
[[Category:Filter_templates]]
[[Category:Filter_templates]]
[[Category:Format_templates]]
[[Category:Format_templates]]
</noinclude>
</noinclude>

Latest revision as of 06:50, 10 January 2016

{{{1}}}

Purpose

To add a Table of Contents (TOC) entry for a function definition with a hidden <h4> element.

Usage

Place immediately above the function definition, exactly as shown.
{{FuncDefH4|MyFilter}}
{{FuncDef|MyFilter(...)}}
See SegmentedAviSource for the result.
Sadly, this template is broken with FuncDef's indented with ':'