Difference between revisions of "Wiki Templates"
m (→Matrix with Header row and column) |
m (→Quotes) |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 159: | Line 159: | ||
=== Chord Chart Table === | === Chord Chart Table === | ||
| + | <tt><nowiki>{| | ||
| + | ! Chord 1 !! Chord 2 | ||
| + | |- | ||
| + | | | ||
| + | <pre> | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | |-|-|-|-|-| | ||
| + | </pre></nowiki></tt> | ||
| + | |||
{| | {| | ||
! Chord 1 !! Chord 2 | ! Chord 1 !! Chord 2 | ||
| Line 183: | Line 196: | ||
=== 2 column display of tables === | === 2 column display of tables === | ||
| + | <tt><nowiki>{| | ||
| + | | | ||
| + | {|class="wikitable" | ||
| + | ... | ||
| + | |} | ||
| + | | | ||
| + | {|class="wikitable" | ||
| + | ... | ||
| + | |} | ||
| + | |}</nowiki></tt> | ||
| + | |||
{| | {| | ||
| | | | ||
| Line 203: | Line 227: | ||
== Multimedia == | == Multimedia == | ||
| − | * Embed youtube videos: <nowiki><youtube>YouTube Video ID</youtube>{{Clear}}</nowiki> | + | * Embed '''youtube''' videos: <nowiki><youtube>YouTube Video ID</youtube>{{Clear}}</nowiki> |
<nowiki><youtube>N5kXnPU4egE</youtube>{{Clear}}</nowiki>: | <nowiki><youtube>N5kXnPU4egE</youtube>{{Clear}}</nowiki>: | ||
| Line 209: | Line 233: | ||
<youtube>N5kXnPU4egE</youtube>{{Clear}} | <youtube>N5kXnPU4egE</youtube>{{Clear}} | ||
| − | * Embed uploaded audio: <nowiki><html5media>File:Filename as defined when uploaded to MAB Wiki</html5media></nowiki> | + | * Embed '''uploaded audio''': <nowiki><html5media>File:Filename as defined when uploaded to MAB Wiki</html5media></nowiki> |
<nowiki><html5media>File:DA-Demo.mp3</html5media></nowiki> | <nowiki><html5media>File:DA-Demo.mp3</html5media></nowiki> | ||
| Line 215: | Line 239: | ||
<html5media>File:DA-Demo.mp3</html5media> | <html5media>File:DA-Demo.mp3</html5media> | ||
| − | * Embed externally hosted audio: <nowiki><html5media>URL</html5media></nowiki> | + | * Embed '''externally hosted audio''': <nowiki><html5media>URL</html5media></nowiki> |
<nowiki><html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media></nowiki> | <nowiki><html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media></nowiki> | ||
| Line 221: | Line 245: | ||
<html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media> | <html5media>http://foobazaar.com/kemper/DA-Demo.mp3</html5media> | ||
| − | * Images: <nowiki>[[File:MAB Wiki Filename]]</nowiki> | + | * '''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] | 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> | + | * '''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> | |
| − | File: | + | <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> | + | <nowiki></gallery></nowiki> |
<gallery mode="packed-hover"> | <gallery mode="packed-hover"> | ||
File:Pod HD Graphic EQ 80.png|80 Hz | 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> | </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>: ''' | + | * <nowiki>'''Bold Text'''</nowiki>: '''Bold Text''' |
* <nowiki>''Italicized Text''</nowiki>: ''Italicized 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="b">Bold without font change</span></nowiki>: <span class="b">Bold without font change</span> | ||
| Line 254: | Line 302: | ||
*[[Template:flat|<nowiki>{{flat}}</nowiki>]], or [[Template:f|<nowiki>{{f}}</nowiki>]], or [[Template:b|<nowiki>{{b}}</nowiki>]]: {{flat}}, as in A{{flat}} | *[[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: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}} | *[[Template:natural|<nowiki>{{natural}}</nowiki>]]: {{natural}}, as in A{{natural}} | ||
| Line 277: | Line 329: | ||
*[[Template:squote|<nowiki>{{squote|statement|author}}</nowiki>]]: | *[[Template:squote|<nowiki>{{squote|statement|author}}</nowiki>]]: | ||
| − | {{squote|Here's a small quote.| | + | {{squote|Here's a small quote.|Anonymous}} |
*[[Template:quote|<nowiki>{{quote|statement|author}}</nowiki>]]: | *[[Template:quote|<nowiki>{{quote|statement|author}}</nowiki>]]: | ||
| − | {{quote|I don't like blabboface's freakin opinion | + | {{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}} | I can go on for multiple lines about how weak it is.|meambobbo@sevenstring.org}} | ||
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}}: