Template:Song: Difference between revisions

Jump to navigation Jump to search
408 bytes added ,  14:08, 24 April 2020
Adjusting Song-entries to be more compact while still being listed in the TOC. Also added a fixed width for avoiding width-change on expand. Added details to documentation.
imported>Deantwo
(Ok, bad idea. See; http://en.wikipedia.org/wiki/Help:Editing_sections_of_included_templates.)
(Adjusting Song-entries to be more compact while still being listed in the TOC. Also added a fixed width for avoiding width-change on expand. Added details to documentation.)
Line 1: Line 1:
<includeonly>==== {{{name|Name}}} ====
<includeonly>{| class="mw-collapsible mw-collapsed wikitable" width="600"
{| class="mw-collapsible mw-collapsed wikitable"
|-
|-
!
!
==== {{{name|Name}}} ====
|-
|-
| scope="row" |
| scope="row" |
<pre<noinclude></noinclude>>{{{notes|song BPM and notes}}}</pre<noinclude></noinclude>>
<pre<noinclude></noinclude>>{{{notes|song BPM and notes}}}</pre<noinclude></noinclude>>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
[[Category:Templates]]


Template for adding new songs.
== About ==
Template for adding new expandable songs-entries in [[Songs]]. Beware that the entry is meant to be be visible in the table of contents as ypu can see above.
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!name
|Name
|Name of the song
|-
!notes
|song BPM and notes
|Content of the song
|}


To use, type this - but replace the song name, BPM and notes to the song of your liking:
== Examples ==
=== Template ===
<pre>{{Song
|name=The Song that never ends
|notes=BPM: 300
XX-XX-XX...
}}</pre>
{{Song
|name=The Song that never ends
|notes=BPM: 300
XX-XX-XX...
}}


=== Normal ===
<pre>{{Song
<pre>{{Song
|name=Sibelius: Carelia
|name=Sibelius: Carelia
Line 67: Line 94:
D-G-B/0,33,D-G,D-Gb-A/0,5,D-G/0,5,D-Gn/0,5
D-G-B/0,33,D-G,D-Gb-A/0,5,D-G/0,5,D-Gn/0,5
}}</pre>
}}</pre>
Makes:
{{Song
{{Song
|name=Sibelius: Carelia
|name=Sibelius: Carelia
Line 126: Line 149:
}}
}}


[[Category:Templates]]
</noinclude>
</noinclude>
1,133

edits

Navigation menu