User:Raffriff42/Wiki notes
Raffriff42 (Talk | contribs) m (more) |
Raffriff42 (Talk | contribs) m (→SPECIAL CHARACTERS & MATH: edit) |
||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
[[Category:AviSynth]] | [[Category:AviSynth]] | ||
− | ==== | + | ====Mediawiki==== |
− | + | : More special characters & useful wikicode knowledge at [https://www.mediawiki.org/wiki/Help:Formatting Mediawiki Help:Formatting] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Line 49: | Line 12: | ||
</pre> | </pre> | ||
Before: | Before: | ||
− | : | + | :Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
After: | After: | ||
<div style="max-width:62em" > | <div style="max-width:62em" > | ||
− | : | + | :Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
</div> | </div> | ||
− | ''(set width to preference)'' | + | ''(set width to preference)''<br> |
− | ''(create inside < h2 > blocks)'' | + | ''(create inside < h2 > blocks, not @ top level)'' |
+ | == H2 == | ||
+ | <div style="max-width:62em" > | ||
+ | text... | ||
+ | </div> | ||
+ | |||
+ | == H2 == | ||
+ | <div style="max-width:62em" > | ||
+ | text... | ||
+ | </div> | ||
− | ==== | + | ====nicer looking PREFORMATTED box==== |
− | + | <div {{[[:Template:BoxWidthIndent|BoxWidthIndent]]|24|2}} > | |
− | + | BlankClip | |
− | & | + | </div> |
− | }} | + | Example: |
+ | <div {{BoxWidthIndent|24|2}} > | ||
+ | BlankClip | ||
+ | </div> | ||
+ | ''(set width & indentation to preference)'' | ||
+ | |||
+ | |||
+ | ====NOTA BENE (line in left margin)==== | ||
+ | <div {{[[:Template:NotaBeneWidthIndent|NotaBeneWidthIndent]]}} > | ||
+ | text... | ||
+ | </div> | ||
+ | |||
+ | <div <nowiki>{{</nowiki>NotaBeneWidthIndent|56|2|3px solid green}} > | ||
+ | text... | ||
+ | </div> | ||
Example:<br> | Example:<br> | ||
− | {{ | + | <div {{NotaBeneWidthIndent}} > |
− | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. | |
− | + | </div> | |
− | + | ||
− | + | <div {{NotaBeneWidthIndent|56|2|3px solid green}} > | |
− | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. | |
− | + | </div> | |
+ | ''(set width, indentation & line style to preference)''<br> | ||
+ | ''('Nota Bene' is probably ''not'' the correct name for this effect; the template is named after an old MS Word predefined style)'' | ||
Line 76: | Line 64: | ||
<nowiki>{{</nowiki>[[:Template:OldBox|OldBox]]}} | <nowiki>{{</nowiki>[[:Template:OldBox|OldBox]]}} | ||
text... | text... | ||
− | {{End_OldBox}} | + | <nowiki>{{</nowiki>End_OldBox}} |
Example:<br> | Example:<br> | ||
{{OldBox}} | {{OldBox}} | ||
− | Avisynth is a scripting language and a collection of filters for simple | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
− | non-linear editing tasks. What makes Avisynth unusual is that it does not | + | |
− | generate output files. Instead, Avisynth scripts, which have the extension | + | |
− | .AVS, can be opened directly in applications which read AVI files. When an | + | |
− | AVS file is opened, Avisynth runs in the background, generating video and | + | |
− | audio data according to the script and feeding it to the application as | + | |
− | needed. | + | |
{{End_OldBox}} | {{End_OldBox}} | ||
− | ''(set | + | ''(normally set at top level – cf. [[Original_AviSynth_announcement]])'' |
Line 93: | Line 75: | ||
<nowiki>{{</nowiki>[[:Template:BlueBox|BlueBox]]}} | <nowiki>{{</nowiki>[[:Template:BlueBox|BlueBox]]}} | ||
text... | text... | ||
− | {{End_BlueBox}} | + | <nowiki>{{</nowiki>End_BlueBox}} |
Example:<br> | Example:<br> | ||
{{BlueBox}} | {{BlueBox}} | ||
− | Avisynth is a scripting language and a collection of filters for simple | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
− | non-linear editing tasks. What makes Avisynth unusual is that it does not | + | |
− | generate output files. Instead, Avisynth scripts, which have the extension | + | |
− | .AVS, can be opened directly in applications which read AVI files. When an | + | |
− | AVS file is opened, Avisynth runs in the background, generating video and | + | |
− | audio data according to the script and feeding it to the application as | + | |
− | needed. | + | |
{{End_BlueBox}} | {{End_BlueBox}} | ||
+ | ''(note [[:Template:BlueBox|BlueBox]] uses <blockquote>, which sets width & indentation, and can affect formatting of the enclosed text)'' | ||
Line 112: | Line 89: | ||
Example:<br> | Example:<br> | ||
<div style="width:36em;margin-left:5em;padding:0.3em 0.7em;border:1px solid black;"> | <div style="width:36em;margin-left:5em;padding:0.3em 0.7em;border:1px solid black;"> | ||
− | Avisynth is a scripting language and a collection of filters for simple | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
− | non-linear editing tasks. What makes Avisynth unusual is that it does not | + | |
− | generate output files. Instead, Avisynth scripts, which have the extension | + | |
− | .AVS, can be opened directly in applications which read AVI files. When an | + | |
− | AVS file is opened, Avisynth runs in the background, generating video and | + | |
− | audio data according to the script and feeding it to the application as | + | |
− | needed. | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
''(set width & indentation to preference)'' | ''(set width & indentation to preference)'' | ||
Line 166: | Line 95: | ||
====BLOCK QUOTE==== | ====BLOCK QUOTE==== | ||
+ | Nicer looking blockquote | ||
<div <nowiki>{{</nowiki>[[:Template:BoxWidthIndent|BoxWidthIndent]]|52|1}} > | <div <nowiki>{{</nowiki>[[:Template:BoxWidthIndent|BoxWidthIndent]]|52|1}} > | ||
<nowiki>{{</nowiki>[[:Template:BoldColor|BoldColor]]|blue|120|“}} | <nowiki>{{</nowiki>[[:Template:BoldColor|BoldColor]]|blue|120|“}} | ||
...text... | ...text... | ||
− | <nowiki>{{</nowiki>BoldColor|blue|120|”}} | + | <nowiki>{{</nowiki>BoldColor|blue|120|”}} <sup>[cite link]</sup> |
</div> | </div> | ||
Example: | Example: | ||
<div {{BoxWidthIndent|52|1}} > | <div {{BoxWidthIndent|52|1}} > | ||
{{BoldColor|blue|120|“}} | {{BoldColor|blue|120|“}} | ||
− | Avisynth is a scripting language and a collection of filters for simple | + | Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. |
− | non-linear editing tasks. What makes Avisynth unusual is that it does not | + | |
− | generate output files. Instead, Avisynth scripts, which have the extension | + | |
− | .AVS, can be opened directly in applications which read AVI files. When an | + | |
− | AVS file is opened, Avisynth runs in the background, generating video and | + | |
− | audio data according to the script and feeding it to the application as | + | |
− | needed. | + | |
{{BoldColor|blue|120|”}} <sup>[http://avisynth.nl/index.php/Original_AviSynth_announcement]</sup> | {{BoldColor|blue|120|”}} <sup>[http://avisynth.nl/index.php/Original_AviSynth_announcement]</sup> | ||
</div> | </div> | ||
''(set width & indentation to preference)'' | ''(set width & indentation to preference)'' | ||
+ | |||
+ | |||
+ | ====FuncDef LINE BREAK==== | ||
+ | <nowiki>{{</nowiki>[[:Template:FuncDef|FuncDef]] | ||
+ | |FilterName(arguments,<br> | ||
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; more arguments) | ||
+ | }} | ||
+ | Example:<br> | ||
+ | {{FuncDef | ||
+ | |ColorYUV(clip [, <br> | ||
+ | float ''gain_y'', float ''off_y'', float ''gamma_y'', float ''cont_y'',<br> | ||
+ | float ''gain_u'', float ''off_u'', float ''gamma_u'', float ''cont_u'',<br> | ||
+ | float ''gain_v'', float ''off_v'', float ''gamma_v'', float ''cont_v'',<br> | ||
+ | string ''levels'', string ''opt'', bool ''showyuv'', bool ''analyze'',<br> | ||
+ | bool ''autowhite'', bool ''autogain'', bool ''conditional'' ] )}} | ||
+ | |||
+ | |||
+ | ====ListItemContinue==== | ||
+ | * Item 1 | ||
+ | <div <nowiki>{{</nowiki>[[:Template:ListItemContinue|ListItemContinue]]}} > | ||
+ | More about Item 1. | ||
+ | </div> | ||
+ | Example: | ||
+ | * Item 1 | ||
+ | <div {{ListItemContinue}} > | ||
+ | More about Item 1. | ||
+ | </div> | ||
====LINK ANCHORS etc==== | ====LINK ANCHORS etc==== | ||
*[[:Template:Par2h5]] (parameter w/ TOC entry) [[Template_talk:Par2h5|''(discussion)'']] | *[[:Template:Par2h5]] (parameter w/ TOC entry) [[Template_talk:Par2h5|''(discussion)'']] | ||
+ | *[[Template:FuncDefH4]] (function definition w/ TOC entry) | ||
*[[:Template:HiddenH5]] (internal link w/ TOC entry) | *[[:Template:HiddenH5]] (internal link w/ TOC entry) | ||
*[[:Template:HiddenAnchor]] (internal link w/o TOC entry) | *[[:Template:HiddenAnchor]] (internal link w/o TOC entry) | ||
Line 196: | Line 148: | ||
{| border="0" | {| border="0" | ||
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item 2''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item 2.1''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|} | |} | ||
</pre> | </pre> | ||
− | + | Before:<br> | |
+ | '''Item''' discussion...<br> | ||
+ | '''Item 2''' discussion...<br> | ||
+ | '''Item 2.1''' discussion... | ||
+ | |||
+ | |||
+ | After:<br> | ||
{| border="0" | {| border="0" | ||
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item 2''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|- | |- | ||
− | |''' | + | |style="line-height:1.2em"|'''Item 2.1''' |
− | |discussion... | + | |style="line-height:1.2em"|discussion... |
|} | |} | ||
− | + | Fake bullet list with alignment: | |
− | + | <pre> | |
− | + | <div style="margin:0 0 0 0.2em" > | |
− | + | {| border="0" | |
− | + | |- | |
− | + | |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item''' | |
− | + | |style="line-height:1.2em"|discussion... | |
− | + | |- | |
− | + | |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item 2''' | |
+ | |style="line-height:1.2em"|discussion... | ||
+ | |- | ||
+ | |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item 2.1''' | ||
+ | |style="line-height:1.2em"|discussion... | ||
+ | |} | ||
</div> | </div> | ||
+ | </pre> | ||
+ | Before:<br> | ||
+ | *'''Item''' discussion... | ||
+ | *'''Item 2''' discussion... | ||
+ | *'''Item 2.1''' discussion... | ||
+ | |||
+ | |||
+ | After:<br> | ||
+ | <div style="margin:0 0 0 0.2em" > | ||
+ | {| border="0" | ||
+ | |- | ||
+ | |style="line-height:1.2em"| {{BoldColor|#638C9C|85|■}} '''Item''' | ||
+ | |style="line-height:1.2em"|discussion... | ||
+ | |- | ||
+ | |style="line-height:1.2em"| {{BoldColor|#638C9C|85|■}} '''Item 2''' | ||
+ | |style="line-height:1.2em"|discussion... | ||
+ | |- | ||
+ | |style="line-height:1.2em"| {{BoldColor|#638C9C|85|■}} '''Item 2.1''' | ||
+ | |style="line-height:1.2em"|discussion... | ||
+ | |} | ||
+ | </div> | ||
+ | |||
+ | |||
+ | ====HEADINGS==== | ||
+ | And their CSS equivalents | ||
+ | <div style="color:black; font: x-small sans-serif; font-size:150%; line-height:1.5em; font-weight:normal;">H2 19pt + HR</div> | ||
+ | ---- | ||
+ | == H2 19pt + HR == | ||
+ | == Syntax and Parameters == | ||
+ | <div style="color:black; font: x-small sans-serif; font-size:150%; line-height:1.5em; font-weight:normal;"> | ||
+ | ---- | ||
+ | |||
+ | <div style="color:black; font: x-small sans-serif; font-size:132%; line-height:1.5em; font-weight:bold;">H3 17pt</div> | ||
+ | === H3 17pt === | ||
+ | <div style="color:black; font: x-small sans-serif; font-size:132%; line-height:1.5em; font-weight:bold;"> | ||
+ | |||
+ | <div style="color:#4F81BD; font: x-small sans-serif; font-size:112%; line-height:1.5em; font-weight:bold;">H4 14pt blue</div> | ||
+ | ==== H4 14pt blue ==== | ||
+ | <div style="color:#4F81BD; font: x-small sans-serif; font-size:112%; line-height:1.5em; font-weight:bold;"> | ||
+ | |||
+ | <div style="color:black; font: x-small sans-serif; font-size:100%; line-height:1.5em; font-weight:bold;">H5 13pt (=body+bold)</div> | ||
+ | ===== H5 13pt (=body+bold) ===== | ||
+ | <div style="color:black; font: x-small sans-serif; font-size:100%; line-height:1.5em; font-weight:bold;"> | ||
+ | |||
+ | <div style="color:black; font: x-small sans-serif; font-size:80%; line-height:1.5em; font-weight:bold;">H6 10pt</div> | ||
+ | ====== H6 10pt ====== | ||
+ | <div style="color:black; font: x-small sans-serif; font-size:80%; line-height:1.5em; font-weight:bold;"> | ||
+ | |||
+ | <div style="margin:0 0 0 2em" > | ||
+ | ===== indented heading ===== | ||
+ | </div> | ||
+ | <div style="margin:0 0 0 2em" > | ||
+ | ===== indented heading ===== | ||
+ | </div> | ||
====REDIRECTS==== | ====REDIRECTS==== | ||
− | Redirect "top note" | + | Redirect "top note" — emulate [https://en.wikipedia.org/wiki/Template:Redirect wikipedia Template:Redirect]<br> |
+ | |||
+ | '''Example:''' see [[Script_variables]]<br> | ||
+ | ''"String" redirects here. For the String() conversion function, see [[Internal_functions#String|Internal functions: String]]'' | ||
<nowiki> | <nowiki> | ||
− | ''"String" redirects here. | + | ''"String" redirects here. For the String() conversion function, |
− | + | see [[Internal_functions#String|Internal functions: String]]'' | |
− | [[Internal_functions#String|Internal functions: String]]'' | + | |
</nowiki> | </nowiki> | ||
− | ( | + | |
+ | |||
+ | ====CITATIONS==== | ||
+ | Emulate Wikipedia's [https://www.mediawiki.org/wiki/Extension:Cite Extension:Cite] | ||
+ | (body text) | ||
+ | <nowiki>The sky is blue.<sup>[http://en.wikipedia.org/wiki/Rayleigh_scattering (1)]</sup></nowiki> | ||
+ | . . . | ||
+ | (optional References section) | ||
+ | # <nowiki>[http://en.wikipedia.org/wiki/Rayleigh_scattering ''Rayleigh scattering''] (wikipedia.org)</nowiki> | ||
+ | |||
+ | The sky is blue.<sup>[http://en.wikipedia.org/wiki/Rayleigh_scattering (1)]</sup><br> | ||
+ | . . . | ||
+ | ;References | ||
+ | # [http://en.wikipedia.org/wiki/Rayleigh_scattering ''Rayleigh scattering''] (wikipedia.org) | ||
====SPECIAL CHARACTERS & MATH==== | ====SPECIAL CHARACTERS & MATH==== | ||
− | ; | + | ;Dashes |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
: – (medium dash) | : – (medium dash) | ||
− | |||
: — (long dash) | : — (long dash) | ||
− | ; | + | ;Bullets |
: • (bullet) | : • (bullet) | ||
− | + | : ■ (square bullet, U+25A0) | |
− | : | + | : ► (triangle bullet, U+25BA) |
− | : {{BoldColor|blue|120|♦}} [[:Template:BoldColor|BoldColor]] version: <code><nowiki>{{</nowiki>BoldColor|blue|120| | + | : ♦ (diamond bullet, <code>♦</code>) |
− | ; | + | : {{BoldColor|blue|120|♦}} [[:Template:BoldColor|BoldColor]] version: // <code> <nowiki>{{</nowiki>BoldColor|blue|120|♦}} </code> |
+ | ;Arrows | ||
: Arrows: → / ← / ↔ | : Arrows: → / ← / ↔ | ||
+ | ;Misc | ||
+ | : © / ® / µ / ¶ / ° / § / † / ‡ / π / {{Serif|π}} // <code> <nowiki>{{</nowiki>Serif|π}} </code> | ||
+ | ;Math Symbols | ||
+ | : 2×3; ''Y'' '''·''' ({{Serif|''k''}}/256 + 1); √2 | ||
;Simple math formatting with [[:Template:Serif]]: | ;Simple math formatting with [[:Template:Serif]]: | ||
− | : | + | :{{Serif|10}}<sup> {{Serif|'''dB''' / 20}}</sup> // <code> <nowiki>{{</nowiki>Serif|10}}<sup> <nowiki>{{</nowiki>Serif|<nowiki>'''</nowiki>dB<nowiki>'''</nowiki> / 20}}</sup> </code> |
− | + | :{{Serif|P<sub>''n''</sub>}} // <code> <nowiki>{{</nowiki>Serif|P<sub><nowiki>''</nowiki>n<nowiki>''</nowiki></sub>}} </code> | |
− | :{{Serif|P<sub>''n''</sub>}} | + | |
;Complex math formatting: | ;Complex math formatting: | ||
− | : | + | : Enter the formula in Wikipedia's math editor, save the image & upload to the AviSynth wiki -- see this [https://en.wikipedia.org/wiki/User:XyKyWyKy/sandbox Wikipedia sandbox]. |
− | + | ||
− | + | . . . . . . . . . . . . . . |
Latest revision as of 02:16, 18 March 2016
[edit] Mediawiki
- More special characters & useful wikicode knowledge at Mediawiki Help:Formatting
[edit] MAX-WIDTH (avoid ultra-wide paragraphs)
<div style="max-width:62em" > text... </div>
Before:
- Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
After:
- Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
(set width to preference)
(create inside < h2 > blocks, not @ top level)
== H2 == <div style="max-width:62em" > text... </div> == H2 == <div style="max-width:62em" > text... </div>
[edit] nicer looking PREFORMATTED box
<div {{BoxWidthIndent|24|2}} > BlankClip </div>
Example:
BlankClip
(set width & indentation to preference)
[edit] NOTA BENE (line in left margin)
<div {{NotaBeneWidthIndent}} > text... </div> <div {{NotaBeneWidthIndent|56|2|3px solid green}} > text... </div>
Example:
Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
(set width, indentation & line style to preference)
('Nota Bene' is probably not the correct name for this effect; the template is named after an old MS Word predefined style)
[edit] OLD BOX
{{OldBox}} text... {{End_OldBox}}
Example:
Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
(normally set at top level – cf. Original_AviSynth_announcement)
[edit] BLUE BOX
{{BlueBox}} text... {{End_BlueBox}}
Example:
Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
(note BlueBox uses <blockquote>, which sets width & indentation, and can affect formatting of the enclosed text)
[edit] GENERIC BOX
<div style="width:36em;margin-left:5em;padding:0.3em 0.7em;border:1px solid black;"> text... </div>
Example:
Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed.
(set width & indentation to preference)
[edit] BLOCK QUOTE
Nicer looking blockquote
<div {{BoxWidthIndent|52|1}} > {{BoldColor|blue|120|“}} ...text... {{BoldColor|blue|120|”}} <sup>[cite link]</sup> </div>
Example:
“ Avisynth is a scripting language and a collection of filters for simple non-linear editing tasks. What makes Avisynth unusual is that it does not generate output files. Instead, Avisynth scripts, which have the extension .AVS, can be opened directly in applications which read AVI files. When an AVS file is opened, Avisynth runs in the background, generating video and audio data according to the script and feeding it to the application as needed. ” [1]
(set width & indentation to preference)
[edit] FuncDef LINE BREAK
{{FuncDef |FilterName(arguments,<br> more arguments) }}
Example:
ColorYUV(clip [,
float gain_y, float off_y, float gamma_y, float cont_y,
float gain_u, float off_u, float gamma_u, float cont_u,
float gain_v, float off_v, float gamma_v, float cont_v,
string levels, string opt, bool showyuv, bool analyze,
bool autowhite, bool autogain, bool conditional ] )
[edit] ListItemContinue
* Item 1 <div {{ListItemContinue}} > More about Item 1. </div>
Example:
- Item 1
More about Item 1.
[edit] LINK ANCHORS etc
- Template:Par2h5 (parameter w/ TOC entry) (discussion)
- Template:FuncDefH4 (function definition w/ TOC entry)
- Template:HiddenH5 (internal link w/ TOC entry)
- Template:HiddenAnchor (internal link w/o TOC entry)
[edit] INVISIBLE TABLE FOR ALIGNING COLUMNS
{| border="0" |- |style="line-height:1.2em"|'''Item''' |style="line-height:1.2em"|discussion... |- |style="line-height:1.2em"|'''Item 2''' |style="line-height:1.2em"|discussion... |- |style="line-height:1.2em"|'''Item 2.1''' |style="line-height:1.2em"|discussion... |}
Before:
Item discussion...
Item 2 discussion...
Item 2.1 discussion...
After:
Item | discussion... |
Item 2 | discussion... |
Item 2.1 | discussion... |
Fake bullet list with alignment:
<div style="margin:0 0 0 0.2em" > {| border="0" |- |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item''' |style="line-height:1.2em"|discussion... |- |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item 2''' |style="line-height:1.2em"|discussion... |- |style="line-height:1.2em"|{{BoldColor|#669999|85|■}} '''Item 2.1''' |style="line-height:1.2em"|discussion... |} </div>
Before:
- Item discussion...
- Item 2 discussion...
- Item 2.1 discussion...
After:
■ Item | discussion... |
■ Item 2 | discussion... |
■ Item 2.1 | discussion... |
[edit] HEADINGS
And their CSS equivalents
== H2 19pt + HR == == Syntax and Parameters == <div style="color:black; font: x-small sans-serif; font-size:150%; line-height:1.5em; font-weight:normal;"> ----
=== H3 17pt === <div style="color:black; font: x-small sans-serif; font-size:132%; line-height:1.5em; font-weight:bold;">
==== H4 14pt blue ==== <div style="color:#4F81BD; font: x-small sans-serif; font-size:112%; line-height:1.5em; font-weight:bold;">
===== H5 13pt (=body+bold) ===== <div style="color:black; font: x-small sans-serif; font-size:100%; line-height:1.5em; font-weight:bold;">
====== H6 10pt ====== <div style="color:black; font: x-small sans-serif; font-size:80%; line-height:1.5em; font-weight:bold;">
[edit] indented heading
<div style="margin:0 0 0 2em" > ===== indented heading ===== </div>
[edit] REDIRECTS
Redirect "top note" — emulate wikipedia Template:Redirect
Example: see Script_variables
"String" redirects here. For the String() conversion function, see Internal functions: String
''"String" redirects here. For the String() conversion function, see [[Internal_functions#String|Internal functions: String]]''
[edit] CITATIONS
Emulate Wikipedia's Extension:Cite
(body text) The sky is blue.<sup>[http://en.wikipedia.org/wiki/Rayleigh_scattering (1)]</sup> . . . (optional References section) # [http://en.wikipedia.org/wiki/Rayleigh_scattering ''Rayleigh scattering''] (wikipedia.org)
The sky is blue.(1)
. . .
- References
- Rayleigh scattering (wikipedia.org)
[edit] SPECIAL CHARACTERS & MATH
- Dashes
- – (medium dash)
- — (long dash)
- Bullets
- • (bullet)
- ■ (square bullet, U+25A0)
- ► (triangle bullet, U+25BA)
- ♦ (diamond bullet,
♦
) - ♦ BoldColor version: //
{{BoldColor|blue|120|♦}}
- Arrows
- Arrows: → / ← / ↔
- Misc
- © / ® / µ / ¶ / ° / § / † / ‡ / π / π //
{{Serif|π}}
- Math Symbols
- 2×3; Y · (k/256 + 1); √2
- Simple math formatting with Template:Serif
- 10 dB / 20 //
{{Serif|10}}<sup> {{Serif|'''dB''' / 20}}</sup>
- Pn //
{{Serif|P<sub>''n''</sub>}}
- Complex math formatting
- Enter the formula in Wikipedia's math editor, save the image & upload to the AviSynth wiki -- see this Wikipedia sandbox.
. . . . . . . . . . . . . .