Difference between revisions of "Wiki Templates"

m (Wiki Templates)
m (Quotes)
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Top-Level Crumbs|10}}
 +
 
== Tab==
 
== Tab==
 
===Full===
 
===Full===
Line 90: Line 92:
  
 
=== 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 107: 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 125: Line 140:
 
=== Table class mycellpadding ===
 
=== Table class mycellpadding ===
  
<pre>{|class="mycellpadding"</pre>
+
<tt><nowiki>{|class="mycellpadding"</nowiki></tt>
  
{| class="mycellpadding"
+
{|class="mycellpadding"
 
! !! Col A !! Col B !! Col C !! Col D
 
! !! Col A !! Col B !! Col C !! Col D
 
|-
 
|-
Line 144: 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 168: Line 196:
  
 
=== 2 column display of tables ===
 
=== 2 column display of tables ===
 +
<tt><nowiki>{|
 +
|
 +
{|class="wikitable"
 +
...
 +
|}
 +
|
 +
{|class="wikitable"
 +
...
 +
|}
 +
|}</nowiki></tt>
 +
 
{|
 
{|
 
|
 
|
Line 186: 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&amp;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;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: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}}
  
 
+
=== {{dim}}, {{hdim}}, and {{maj}} ===
 
*[[Template:dim|<nowiki>{{dim}}</nowiki>]]: {{dim}}, as in A{{dim}}
 
*[[Template:dim|<nowiki>{{dim}}</nowiki>]]: {{dim}}, as in A{{dim}}
 
*[[Template:hdim|<nowiki>{{hdim}}</nowiki>]]: {{hdim}}, as in A{{hdim}}{{7}}
 
*[[Template:hdim|<nowiki>{{hdim}}</nowiki>]]: {{hdim}}, as in A{{hdim}}{{7}}
 
*[[Template:maj|<nowiki>{{maj}}</nowiki>]]: {{maj}}, as in C{{maj}}{{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:6|<nowiki>{{6}}</nowiki>]]: {{6}}, as in N{{6}}
 
*[[Template:7|<nowiki>{{7}}</nowiki>]]: {{7}}, as in G{{7}}
 
*[[Template:7|<nowiki>{{7}}</nowiki>]]: {{7}}, as in G{{7}}
Line 207: Line 322:
 
*[[Template:supSharp|<nowiki>{{supSharp}}</nowiki>]]: {{supSharp}}, as in G{{supSharp}}{{11}}
 
*[[Template:supSharp|<nowiki>{{supSharp}}</nowiki>]]: {{supSharp}}, as in G{{supSharp}}{{11}}
  
 
+
=== {{q}} and {{e}} ===
 
*[[Template:q|<nowiki>{{q}}</nowiki>]]: {{q}}
 
*[[Template:q|<nowiki>{{q}}</nowiki>]]: {{q}}
 
*[[Template:e|<nowiki>{{e}}</nowiki>]]: {{e}}
 
*[[Template:e|<nowiki>{{e}}</nowiki>]]: {{e}}
  
 +
=== Quotes ===
 
*[[Template:squote|<nowiki>{{squote|statement|author}}</nowiki>]]:
 
*[[Template:squote|<nowiki>{{squote|statement|author}}</nowiki>]]:
  
{{squote|Here's a small quote.|MINISCULE}}
+
{{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. It's like totally weak.  I can make a really, really, really-really ridiculously long wrapping line about how weak it is.  It goes on and on and on and on and on and on and on.
+
{{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}}
  
*[[Template:crumbs|<nowiki>{{crumbs|color|current#|c1|c2|c3|...|c20}}</nowiki>]]:
+
=== Crumbs/Page Navigation ===
 +
*[[Template:crumbs|<nowiki>{{crumbs|color|current#
 +
|c1|c1 descr
 +
|c2|c2 descr
 +
|c3|c3 descr
 +
...
 +
|c20}}</nowiki>]]:
  
<nowiki>
+
<nowiki>{{</nowiki>crumbs|blue|3<br>
{{crumbs|red|1
+
|ext. page 1|ext page 1<br>
|link1|"title 1"
+
|ext. page 2|ext page 2<br>
|link2|"no. 2"
+
|ext. page 3|ext page 3<br>
|link3|"else"
+
<nowiki>}}</nowiki>  
}}</nowiki>  
 
  
 
generates:
 
generates:
  
{{crumbs|red|1|"title 1"|"no. 2"|"else"}}
+
{{crumbs|blue|3
 +
|ext. page 1|ext page 1
 +
|ext. page 2|ext page 2
 +
|ext. page 3|ext page 3
 +
}}
  
*[[Template:top|<nowiki>{{top}}</nowiki>]]
+
* [[Template:Top-Level Crumbs|<nowiki>{{Top-Level Crumbs|current#}}</nowiki>]]
 +
 
 +
<nowiki>{{Top-Level Crumbs|10}}</nowiki>:
 +
 
 +
{{Top-Level Crumbs|10}}
 +
* [[Template:TM|<nowiki>{{TM}}</nowiki>: {{TM}}]]
 +
* [[Template:top|<nowiki>{{top}}</nowiki>]]
  
 
{{top}}
 
{{top}}
 +
 +
*[[Template:up|<nowiki>{{up|link}}</nowiki>]]
 +
{{up|Contents}}
  
 
[[Category:Wiki]]
 
[[Category:Wiki]]
 
[[Category:Chords]]
 
[[Category:Chords]]
 
[[Category:Notation]]
 
[[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" ... |} |}

header A header b
1 2
3 4
header A header b
1 2
3 4

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>

[[File:Pod HD Graphic EQ 80.png|150px]]

Electrical transducer.png

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 MediaWiki Help:Images

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

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

°, ø, and Δ

6, 7, 9, 11, and 13, and

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/Page Navigation

{{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}}: