Template:Par2b

From Avisynth wiki
Revision as of 02:10, 26 December 2015 by Raffriff42 (Talk | contribs)

Jump to: navigation, search

   (default none)



Variant of Template:Par2 for testing;


Would like to use conditional test for presence of argument {{{3}}}:
{{#if:{{{3|}}}| (default '''{{{3}}}''')|}}

DOES NOT WORK due to lack of mediawiki Extension:ParserFunctions

  • Even if extension were installed, would not work if default is ' ' (space) ...which they are on many, many pages.




...intended sample output:


Foo(clip [, float gain_y] [, int size] [, boolean autogain] [, string file])

clip (default none)
Input clip


float  gain_y (default 2)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eros nulla, fringilla fringilla diam id, luctus dapibus nibh.


int  size (default 24)
Cras in mauris ac eros mollis pellentesque non non metus. Proin vitae mauris tempor, tristique sem vitae, suscipit ante.


bool  autogain (default false)
Integer mattis purus id fringilla malesuada. Cras justo sapien, tincidunt vel pharetra id, cursus at quam.


string  pixel_type (default "RGB32")
Vivamus ipsum augue, rutrum eu nunc consectetur, rutrum sagittis neque. Sed erat ligula, ultricies id quam eleifend, maximus lacinia erat.


Personal tools