Difference between revisions of "Wiki Templates"
m (→Wiki Templates) |
m (→Quotes) |
||
| (98 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Top-Level Crumbs|10}} | ||
| + | |||
== Tab== | == Tab== | ||
===Full=== | ===Full=== | ||
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 | 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 | ||
| − | + | E-----------------------------|----------------------------|----------------------------|----------------------------| | |
| − | + | B-----------------------------|----------------------------|----------------------------|----------------------------| | |
| − | + | G-----------------------------|----------------------------|----------------------------|----------------------------| | |
| − | + | D-----------------------------|----------------------------|----------------------------|----------------------------| | |
| − | + | A-----------------------------|----------------------------|----------------------------|----------------------------| | |
| − | + | E-----------------------------|----------------------------|----------------------------|----------------------------| | |
===Short=== | ===Short=== | ||
| − | + | E---------------------- | |
| − | + | B---------------------- | |
| − | + | G---------------------- | |
| − | + | D---------------------- | |
| − | + | A---------------------- | |
| − | + | E---------------------- | |
===Small=== | ===Small=== | ||
| Line 23: | Line 25: | ||
== Chord/Scale Charts == | == Chord/Scale Charts == | ||
| − | |||
* x/o - root/any other note | * x/o - root/any other note | ||
* r/R - root | * r/R - root | ||
| Line 78: | Line 79: | ||
|-|-|-|p|-| | |-|-|-|p|-| | ||
|-|-|-|-|-| | |-|-|-|-|-| | ||
| + | |||
| + | ===== Open String Chord ===== | ||
| + | o|-|-|-| | ||
| + | ||i|-|-| | ||
| + | o|-|-|-| | ||
| + | ||-|m|-| | ||
| + | ||-|-|r| | ||
| + | ||-|-|-| | ||
== Tables== | == Tables== | ||
| + | Tables can get quite finicky with how MediaWiki treats the markup. I ''strongly'' recommend using a visual editor, like [http://www.tablesgenerator.com/mediawiki_tables this one @ tablesgenerator.com]. | ||
| + | |||
=== Matrix with Header row and column=== | === Matrix with Header row and column=== | ||
| + | <tt><nowiki>{| class="wikitable" | ||
| + | ! !! Col A !! Col B !! Col C !! Col D | ||
| + | |- | ||
| + | ! Row 1 | ||
| + | | a||b||c||d | ||
| + | |- | ||
| + | ... | ||
| + | |}</nowiki></tt> | ||
| + | |||
{| class="wikitable" | {| class="wikitable" | ||
! !! Col A !! Col B !! Col C !! Col D | ! !! Col A !! Col B !! Col C !! Col D | ||
| Line 98: | Line 118: | ||
=== Unformatted Table === | === Unformatted Table === | ||
| + | <tt><nowiki>{| | ||
| + | ! !! Col A !! Col B !! Col C !! Col D | ||
| + | ...</nowiki></tt> | ||
| + | |||
{| | {| | ||
! !! Col A !! Col B !! Col C !! Col D | ! !! Col A !! Col B !! Col C !! Col D | ||
| Line 112: | Line 136: | ||
! Row 4 | ! Row 4 | ||
| m||n||o||p | | m||n||o||p | ||
| + | |} | ||
| + | |||
| + | === Table class mycellpadding === | ||
| + | |||
| + | <tt><nowiki>{|class="mycellpadding"</nowiki></tt> | ||
| + | |||
| + | {|class="mycellpadding" | ||
| + | ! !! Col A !! Col B !! Col C !! Col D | ||
| + | |- | ||
| + | ! Row 1 | ||
| + | | a||b||c||d | ||
| + | |- | ||
| + | ! Row 2 | ||
| + | | e||f||g||h | ||
| + | |- | ||
| + | ! Row 3 | ||
| + | | i||j||k||l | ||
| + | |- | ||
| + | ! Row 4 | ||
| + | | m||n||o||p | ||
| + | |} | ||
| + | |||
| + | === Chord Chart Table === | ||
| + | <tt><nowiki>{| | ||
| + | ! Chord 1 !! Chord 2 | ||
| + | |- | ||
| + | | | ||
| + | <pre> | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | </pre></nowiki></tt> | ||
| + | |||
| + | {| | ||
| + | ! Chord 1 !! Chord 2 | ||
| + | |- | ||
| + | | | ||
| + | <pre> | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | </pre> | ||
| + | | | ||
| + | <pre> | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | </pre> | ||
|} | |} | ||
=== 2 column display of tables === | === 2 column display of tables === | ||
| + | <tt><nowiki>{| | ||
| + | | | ||
| + | {|class="wikitable" | ||
| + | ... | ||
| + | |} | ||
| + | | | ||
| + | {|class="wikitable" | ||
| + | ... | ||
| + | |} | ||
| + | |}</nowiki></tt> | ||
| + | |||
{| | {| | ||
| | | | ||
| Line 133: | Line 225: | ||
|} | |} | ||
|} | |} | ||
| + | |||
| + | == Multimedia == | ||
| + | * Embed '''youtube''' videos: <nowiki><youtube>YouTube Video ID</youtube>{{Clear}}</nowiki> | ||
| + | |||
| + | <nowiki><youtube>N5kXnPU4egE</youtube>{{Clear}}</nowiki>: | ||
| + | |||
| + | <youtube>N5kXnPU4egE</youtube>{{Clear}} | ||
| + | |||
| + | * Embed '''uploaded audio''': <nowiki><html5media>File:Filename as defined when uploaded to MAB Wiki</html5media></nowiki> | ||
| + | |||
| + | <nowiki><html5media>File:DA-Demo.mp3</html5media></nowiki> | ||
| + | |||
| + | <html5media>File:DA-Demo.mp3</html5media> | ||
| + | |||
| + | * Embed '''externally hosted audio''': <nowiki><html5media>URL</html5media></nowiki> | ||
| + | |||
| + | <nowiki><html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media></nowiki> | ||
| + | |||
| + | <html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media> | ||
| + | |||
| + | * '''Images''': <nowiki>[[File:MAB Wiki Filename|options*]]</nowiki> [https://www.mediawiki.org/wiki/Help:Images#Syntax *options syntax] | ||
| + | |||
| + | <nowiki>[[File:Pod HD Graphic EQ 80.png|150px]]</nowiki> | ||
| + | |||
| + | [[File:Electrical_transducer.png|150px]] | ||
| + | |||
| + | Note: wikimedia commons is enabled on this wiki, and any wikimedia commons image can be linked the same way as a file local to this wiki. Just be sure to verify that the license is compatible with this wiki, and be sure to include attribution where applicable. | ||
| + | |||
| + | See [https://www.mediawiki.org/wiki/Help:Images MediaWiki Help:Images] | ||
| + | |||
| + | * '''Gallery of Images''': <nowiki><gallery mode="display mode">File:Image Name|Caption</gallery></nowiki> | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <nowiki><gallery mode="packed-hover"></nowiki> | ||
| + | |||
| + | <nowiki>File:Pod HD Graphic EQ 80.png|80 Hz</nowiki> | ||
| + | |||
| + | <nowiki>File:Graphic_EQ_220.png|220 Hz</nowiki> | ||
| + | |||
| + | <nowiki>File:Graphic_EQ_440.png|440 Hz</nowiki> | ||
| + | |||
| + | <nowiki>File:Graphic_EQ_1.1k.png|1.1 kHz</nowiki> | ||
| + | |||
| + | <nowiki>File:Graphic_EQ_2.2k.png|2.2 kHz</nowiki> | ||
| + | |||
| + | <nowiki></gallery></nowiki> | ||
| + | |||
| + | <gallery mode="packed-hover"> | ||
| + | File:Pod HD Graphic EQ 80.png|80 Hz | ||
| + | File:Graphic_EQ_220.png|220 Hz | ||
| + | File:Graphic_EQ_440.png|440 Hz | ||
| + | File:Graphic_EQ_1.1k.png|1.1 kHz | ||
| + | File:Graphic_EQ_2.2k.png|2.2 kHz | ||
| + | </gallery> | ||
| + | |||
| + | * Embed a '''SoundCloud player''': [[Template:Soundcloud|<nowiki>{{soundcloud|soundcloud_id}}</nowiki>]] | ||
| + | |||
| + | soundcloud_id is the number found in the URL given when you choose to share your soundcloud track, then choose "embed". For example, the URL for the clip below is: | ||
| + | |||
| + | <iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/233775547&color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe> | ||
| + | |||
| + | 233775547 is the soundcloud_id to use for this wiki template. | ||
| + | |||
| + | {{soundcloud|233775547}} | ||
== Wiki Templates == | == Wiki Templates == | ||
Wiki templates are shortcuts that let you quickly use common text or formatting. | Wiki templates are shortcuts that let you quickly use common text or formatting. | ||
| + | * <nowiki>'''Bold Text'''</nowiki>: '''Bold Text''' | ||
| + | * <nowiki>''Italicized Text''</nowiki>: ''Italicized Text'' | ||
| + | * <nowiki><span class="b">Bold without font change</span></nowiki>: <span class="b">Bold without font change</span> | ||
| + | * <nowiki><span class="i">Italics without font change</span></nowiki>: <span class="i">Italics without font change</span> | ||
| + | * [[Template:loud|<nowiki>{{loud|this is loud}}</nowiki>]]: {{loud|this is loud}} | ||
| + | |||
| + | === {{b}}, {{s}}, and {{natural}} === | ||
| + | *[[Template:flat|<nowiki>{{flat}}</nowiki>]], or [[Template:f|<nowiki>{{f}}</nowiki>]], or [[Template:b|<nowiki>{{b}}</nowiki>]]: {{flat}}, as in A{{flat}} | ||
| + | *[[Template:sharp|<nowiki>{{sharp}}</nowiki>]], or [[Template:s|<nowiki>{{s}}</nowiki>]]: {{sharp}}, as in A{{sharp}} | ||
| + | *[[Template:Double Flat|<nowiki>{{double flat}}</nowiki>]], or [[Template:df|<nowiki>{{df}}</nowiki>]], or [[Template:db|<nowiki>{{db}}</nowiki>]]: {{Double Flat}}, as in A{{Double Flat}} | ||
| + | *[[Template:Double Sharp|<nowiki>{{Double Sharp}}</nowiki>]], or [[Template:ds|<nowiki>{{ds}}</nowiki>]]: {{Double Sharp}}, as in A{{Double Sharp}} | ||
| + | *[[Template:Half Flat|<nowiki>{{Half Flat}}</nowiki>]], or [[Template:hf|<nowiki>{{hf}}</nowiki>]], or [[Template:hb|<nowiki>{{hb}}</nowiki>]]: {{Half Flat}}, as in A{{Half Flat}} | ||
| + | *[[Template:Half Sharp|<nowiki>{{Half Sharp}}</nowiki>]], or [[Template:hs|<nowiki>{{hs}}</nowiki>]]: {{Half Sharp}}, as in A{{Half Sharp}} | ||
| + | *[[Template:natural|<nowiki>{{natural}}</nowiki>]]: {{natural}}, as in A{{natural}} | ||
| + | |||
| + | === {{dim}}, {{hdim}}, and {{maj}} === | ||
| + | *[[Template:dim|<nowiki>{{dim}}</nowiki>]]: {{dim}}, as in A{{dim}} | ||
| + | *[[Template:hdim|<nowiki>{{hdim}}</nowiki>]]: {{hdim}}, as in A{{hdim}}{{7}} | ||
| + | *[[Template:maj|<nowiki>{{maj}}</nowiki>]]: {{maj}}, as in C{{maj}}{{7}} | ||
| + | |||
| + | === {{6}}, {{7}}, {{9}}, {{11}}, and {{13}}, and {{supSharp}} === | ||
| + | *[[Template:6|<nowiki>{{6}}</nowiki>]]: {{6}}, as in N{{6}} | ||
| + | *[[Template:7|<nowiki>{{7}}</nowiki>]]: {{7}}, as in G{{7}} | ||
| + | *[[Template:9|<nowiki>{{9}}</nowiki>]]: {{9}}, as in G{{9}} | ||
| + | *[[Template:11|<nowiki>{{11}}</nowiki>]]: {{11}}, as in G{{11}} | ||
| + | *[[Template:13|<nowiki>{{13}}</nowiki>]]: {{13}}, as in G{{13}} | ||
| + | |||
| + | *[[Template:supSharp|<nowiki>{{supSharp}}</nowiki>]]: {{supSharp}}, as in G{{supSharp}}{{11}} | ||
| + | |||
| + | === {{q}} and {{e}} === | ||
| + | *[[Template:q|<nowiki>{{q}}</nowiki>]]: {{q}} | ||
| + | *[[Template:e|<nowiki>{{e}}</nowiki>]]: {{e}} | ||
| + | |||
| + | === Quotes === | ||
| + | *[[Template:squote|<nowiki>{{squote|statement|author}}</nowiki>]]: | ||
| + | |||
| + | {{squote|Here's a small quote.|Anonymous}} | ||
| + | |||
| + | *[[Template:quote|<nowiki>{{quote|statement|author}}</nowiki>]]: | ||
| + | |||
| + | {{quote|I don't like blabboface's freakin' opinion! It's like totally weak. I can make a really, really, really-really ridiculously-long line-wrapping statement about how weak it is. It goes on and on and on and on and on and on and on. | ||
| − | + | I can go on for multiple lines about how weak it is.|meambobbo@sevenstring.org}} | |
| − | |||
| − | |||
| + | === Crumbs/Page Navigation === | ||
| + | *[[Template:crumbs|<nowiki>{{crumbs|color|current# | ||
| + | |c1|c1 descr | ||
| + | |c2|c2 descr | ||
| + | |c3|c3 descr | ||
| + | ... | ||
| + | |c20}}</nowiki>]]: | ||
| − | + | <nowiki>{{</nowiki>crumbs|blue|3<br> | |
| − | + | |ext. page 1|ext page 1<br> | |
| − | + | |ext. page 2|ext page 2<br> | |
| + | |ext. page 3|ext page 3<br> | ||
| + | <nowiki>}}</nowiki> | ||
| + | generates: | ||
| − | + | {{crumbs|blue|3 | |
| − | + | |ext. page 1|ext page 1 | |
| − | + | |ext. page 2|ext page 2 | |
| − | + | |ext. page 3|ext page 3 | |
| + | }} | ||
| − | *[[Template: | + | * [[Template:Top-Level Crumbs|<nowiki>{{Top-Level Crumbs|current#}}</nowiki>]] |
| − | |||
| + | <nowiki>{{Top-Level Crumbs|10}}</nowiki>: | ||
| − | *[[Template: | + | {{Top-Level Crumbs|10}} |
| + | * [[Template:TM|<nowiki>{{TM}}</nowiki>: {{TM}}]] | ||
| + | * [[Template:top|<nowiki>{{top}}</nowiki>]] | ||
| − | {{ | + | {{top}} |
| − | {{ | + | *[[Template:up|<nowiki>{{up|link}}</nowiki>]] |
| + | {{up|Contents}} | ||
[[Category:Wiki]] | [[Category:Wiki]] | ||
| + | [[Category:Chords]] | ||
| + | [[Category:Notation]] | ||
Latest revision as of 01:44, 24 November 2015
Tab
Full
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 E-----------------------------|----------------------------|----------------------------|----------------------------| B-----------------------------|----------------------------|----------------------------|----------------------------| G-----------------------------|----------------------------|----------------------------|----------------------------| D-----------------------------|----------------------------|----------------------------|----------------------------| A-----------------------------|----------------------------|----------------------------|----------------------------| E-----------------------------|----------------------------|----------------------------|----------------------------|
Short
E---------------------- B---------------------- G---------------------- D---------------------- A---------------------- E----------------------
Small
-------------- -------------- --------------
Chord/Scale Charts
- x/o - root/any other note
- r/R - root
- 3 - third
- 5 - fifth
- 7 - 7th
- i - index finger
- m - middle finger
- r - ring finger
- p - pinky finger
- t - thumb
- ) - barre but don't play
4
|-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-|
2
|-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-|
1
|-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-|
Examples
One Octave Major Scale
|-|-|-|-|-| |x|r|-|-|-| |x|-|x|-|-| |x|-|x|x|-| |-|-|-|r|-| |-|-|-|-|-|
Major Chord w/ Root, 3rd, 5th
|3|-|-|-|-| |-|R|-|-|-| |5|-|-|-|-| |-|-|3|-|-| |-|-|-|R|-| |-|-|-|-|-|
Major Chord w/ Fingering
|i|-|-|-|-| |)|m|-|-|-| |i|-|-|-|-| |-|-|r|-|-| |-|-|-|p|-| |-|-|-|-|-|
Open String Chord
o|-|-|-| ||i|-|-| o|-|-|-| ||-|m|-| ||-|-|r| ||-|-|-|
Tables
Tables can get quite finicky with how MediaWiki treats the markup. I strongly recommend using a visual editor, like this one @ tablesgenerator.com.
Matrix with Header row and column
{| class="wikitable" ! !! Col A !! Col B !! Col C !! Col D |- ! Row 1 | a||b||c||d |- ... |}
| Col A | Col B | Col C | Col D | |
|---|---|---|---|---|
| Row 1 | a | b | c | d |
| Row 2 | e | f | g | h |
| Row 3 | i | j | k | l |
| Row 4 | m | n | o | p |
Unformatted Table
{| ! !! Col A !! Col B !! Col C !! Col D ...
| Col A | Col B | Col C | Col D | |
|---|---|---|---|---|
| Row 1 | a | b | c | d |
| Row 2 | e | f | g | h |
| Row 3 | i | j | k | l |
| Row 4 | m | n | o | p |
Table class mycellpadding
{|class="mycellpadding"
| Col A | Col B | Col C | Col D | |
|---|---|---|---|---|
| Row 1 | a | b | c | d |
| Row 2 | e | f | g | h |
| Row 3 | i | j | k | l |
| Row 4 | m | n | o | p |
Chord Chart Table
{| ! Chord 1 !! Chord 2 |- | <pre> |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| </pre>
| Chord 1 | Chord 2 |
|---|---|
|-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |
|-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |-|-|-|-|-| |
2 column display of tables
{| | {|class="wikitable" ... |} | {|class="wikitable" ... |} |}
|
|
Multimedia
- Embed youtube videos: <youtube>YouTube Video ID</youtube>{{Clear}}
<youtube>N5kXnPU4egE</youtube>{{Clear}}:
- Embed uploaded audio: <html5media>File:Filename as defined when uploaded to MAB Wiki</html5media>
<html5media>File:DA-Demo.mp3</html5media>
- Embed externally hosted audio: <html5media>URL</html5media>
<html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media>
- Images: [[File:MAB Wiki Filename|options*]] *options syntax
[[File:Pod HD Graphic EQ 80.png|150px]]
Note: wikimedia commons is enabled on this wiki, and any wikimedia commons image can be linked the same way as a file local to this wiki. Just be sure to verify that the license is compatible with this wiki, and be sure to include attribution where applicable.
- Gallery of Images: <gallery mode="display mode">File:Image Name|Caption</gallery>
Example:
<gallery mode="packed-hover">
File:Pod HD Graphic EQ 80.png|80 Hz
File:Graphic_EQ_220.png|220 Hz
File:Graphic_EQ_440.png|440 Hz
File:Graphic_EQ_1.1k.png|1.1 kHz
File:Graphic_EQ_2.2k.png|2.2 kHz
</gallery>
- Embed a SoundCloud player: {{soundcloud|soundcloud_id}}
soundcloud_id is the number found in the URL given when you choose to share your soundcloud track, then choose "embed". For example, the URL for the clip below is:
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/233775547&color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe>
233775547 is the soundcloud_id to use for this wiki template.
Wiki Templates
Wiki templates are shortcuts that let you quickly use common text or formatting.
- '''Bold Text''': Bold Text
- ''Italicized Text'': Italicized Text
- <span class="b">Bold without font change</span>: Bold without font change
- <span class="i">Italics without font change</span>: Italics without font change
- {{loud|this is loud}}: this is loud
♭, ♯, and ♮
- {{flat}}, or {{f}}, or {{b}}: ♭, as in A♭
- {{sharp}}, or {{s}}: ♯, as in A♯
- {{double flat}}, or {{df}}, or {{db}}:
, as in A
- {{Double Sharp}}, or {{ds}}:
, as in A
- {{Half Flat}}, or {{hf}}, or {{hb}}:
, as in A
- {{Half Sharp}}, or {{hs}}:
, as in A
- {{natural}}: ♮, as in A♮
°, ø, and Δ
6, 7, 9, 11, and 13, and ♯
- {{6}}: 6, as in N6
- {{7}}: 7, as in G7
- {{9}}: 9, as in G9
- {{11}}: 11, as in G11
- {{13}}: 13, as in G13
- {{supSharp}}: ♯, as in G♯11
♩ and ♪
Quotes
"Here's a small quote."-Anonymous
- "I don't like blabboface's freakin' opinion! It's like totally weak. I can make a really, really, really-really ridiculously-long line-wrapping statement about how weak it is. It goes on and on and on and on and on and on and on. I can go on for multiple lines about how weak it is."-meambobbo@sevenstring.org
{{crumbs|blue|3
|ext. page 1|ext page 1
|ext. page 2|ext page 2
|ext. page 3|ext page 3
}}
generates:
{{Top-Level Crumbs|10}}: