Template talk:Track listing item

From Wikipedia, the free encyclopedia

[edit] Subst

To preserve the template call for future use (i.e., template changes), please include the template code in a comment, for example:

<!-- Preserved pre-subst template code
{{subst:Track listing item
| title     =     The Super Secret Track of Eris
| writers   =     [[Malaclypse The Younger]], James Bojangles
| length    =     5:55
| on-line   =     **
}}{{subst:Track listing item
| title     =     Accordian Harmony
| writers   =     ''unknown''
| length    =     0:25
}}
-->
<!-- The following was subst'd in -->
{{subst:Track listing item
| title     =     The Super Secret Track of Eris
| writers   =     [[Malaclypse The Younger]], James Bojangles
| length    =     5:55
| on-line   =     **
}}{{subst:Track listing item
| title     =     Accordian Harmony
| writers   =     ''unknown''
| length    =     0:25
}}
<!-- end subst'd text -->

Which will be saved like this:

<!-- Preserved pre-subst template code
{{subst:Track listing item
| title     =     The Super Secret Track of Eris
| writers   =     [[Malaclypse The Younger]], James Bojangles
| length    =     5:55
| on-line   =     **
}}{{subst:Track listing item
| title     =     Accordian Harmony
| writers   =     ''unknown''
| length    =     0:25
}}
-->
<!-- The following was subst'd in -->

# "The Super Secret Track of Eris" ([[Malaclypse The Younger]], James Bojangles) – 5:55 **
# "Accordian Harmony" (''unknown'') – 0:25 {{{on-line| }}}
<!-- end subst'd text -->

The commented template code will not cause template-based drain on the server and will not show up in the article. If the template updates and you would like to get the new template in your article, you can now simply copy the commented template-code and paste it over the subst'd text. bmearns, KSC(talk) 20:21, 6 March 2006 (UTC)

[edit] Subst warning

While I appreciate the intention, I've removed the red subst warning, as it splashed red text on every page that hasn't yet subst'ed the template.

But... I subst'ed the template on one page, American Idol Compilation Series, and I'm worried that the resulting dense code will make it difficult to edit track listings. Example:

# "{{{1|[[At Last]]}}}" {{#if:{{{subtitle|}}}|<small>[{{{subtitle}}}]</small>}} {{#if:{{{artist|}}}|by {{{artist}}}}} {{#if:{{{guests|}}}|<small>featuring {{{guests}}}</small>}} {{#if:[[Etta James]]|<small>''([[Etta James]])''</small>}} – {{{2|}}} [[Julia DeMato]] {{#if:{{{notes|}}}|<nowiki />

Thoughts? --zenohockey 05:34, 17 December 2006 (UTC)