User:Raffriff42/Wiki notes

From Avisynth wiki
Jump to: navigation, search


Contents

Mediawiki

More special characters & useful wikicode knowledge at Mediawiki Help:Formatting


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>


nicer looking PREFORMATTED box

<div {{BoxWidthIndent|24|2}} >
 BlankClip
</div>

Example:

BlankClip

(set width & indentation to preference)


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)


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)


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)


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)


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)


FuncDef LINE BREAK

{{FuncDef
|FilterName(arguments,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 ] )


ListItemContinue

* Item 1
<div {{ListItemContinue}} >
More about Item 1.
</div>

Example:

  • Item 1

More about Item 1.


LINK ANCHORS etc


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...


HEADINGS

And their CSS equivalents

H2 19pt + HR

== 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
=== H3 17pt ===
<div style="color:black; font: x-small sans-serif; font-size:132%; line-height:1.5em; font-weight:bold;">
H4 14pt blue
==== 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)
===== 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
====== H6 10pt ======
<div style="color:black; font: x-small sans-serif; font-size:80%; line-height:1.5em; font-weight:bold;">
indented heading
<div style="margin:0 0 0 2em" >
===== indented heading =====
</div>


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]]''
 


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
  1. Rayleigh scattering (wikipedia.org)


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.

. . . . . . . . . . . . . .

Personal tools