Template:Concert page machine - 1995/doc: Difference between revisions

m
mNo edit summary
Line 40: Line 40:
==Notes==
==Notes==
===Setlist parameter auto-options===
===Setlist parameter auto-options===
If you enter "gone" for this parameter (without quotes), it'll give you "this setlist is gone" template with the lil weezer guy. If you do "missing" it'll give you the missing setlist template. If you enter anything else ''(like enter in an actual setlist)'', you should just add in a normal <nowiki>{{Setlist}}</nowiki> template. The above example assumes you'll have a setlist to enter in and provides parameters for 11 songs. I saw a few '95 shows with 11-song setlists so I chose that #. Curious about how the auto-options work? It's a "parser function" called "switch." See the [https://en.wikipedia.org/wiki/Help:Switch_parser_function Wikipedia help page]. Wondering if Jason made up the term auto-option? Yes I did.
If you enter "gone" for this parameter (without quotes), it'll give you the "this setlist is gone" template with the lil weezer guy. If you enter in "missing" it'll give you the missing setlist template. If you're going to add an actual setlist, you should just use the <nowiki>{{Setlist}}</nowiki> template like you would normally, but within the "setlist" paramter as displayed above (if that was confusing just ask). The above example assumes you'll have a setlist to enter in and provides parameters for 11 songs. I saw a few '95 shows with 11-song setlists so I chose that #. Curious about how the auto-options work? It's a "parser function" called "switch." See the [https://en.wikipedia.org/wiki/Help:Switch_parser_function Wikipedia help page]. Wondering if Jason made up the term auto-option? Yes I did.
 
===Setlist source parameter===
===Setlist source parameter===
Pretty pretty please put sources if you're adding a setlist. The "setlist source" parameter is included above within the <nowiki>{{Setlist}}</nowiki> template. That same parameter works within this concert page machine template too, (i.e. not within the <nowiki>{{Setlist}}</nowiki> but still in the template you're using.) This is so you can specify a source the setlist being "gone." If you're making a concert page whose setlist is gone, you can complete this template thusly (HMC trademarked word):
Pretty pretty please put sources if you're adding a setlist. The "setlist source" parameter is included above within the <nowiki>{{Setlist}}</nowiki> template. That same parameter works within this concert page machine template too, (i.e. not within the <nowiki>{{Setlist}}</nowiki> but still in the template you're using.) This is so you can specify a source the setlist being "gone." If you're making a concert page whose setlist is gone, you can complete this template thusly (HMC trademarked word):