Difference between revisions of "Template:TrackListArranger"

From Video Game Music Preservation Foundation Wiki
Jump to: navigation, search
(Change from |name|link to |link|name to match [[ style)
(Move arranger name from meta element to span so it's not "hidden")
Line 3: Line 3:
  
 
Use:
 
Use:
* <nowiki>{{TrackListArranger|John Doe}}</nowiki> → [[John Doe]]
+
* <code><nowiki>{{TrackListArranger|John Doe}}</nowiki></code> → [[John Doe]]
* <nowiki>{{TrackListArranger|Jonathan M. Doe|John Doe}}</nowiki> → [[Jonathan M. Doe|John Doe]] (links to [[Jonathan M. Doe]])
+
* <code><nowiki>{{TrackListArranger|Jonathan M. Doe|John Doe}}</nowiki></code> → [[Jonathan M. Doe|John Doe]] (links to [[Jonathan M. Doe]])
  
 
[[Category:Track listing templates]]
 
[[Category:Track listing templates]]
 
<hr/>
 
<hr/>
</noinclude><span><!--
+
</noinclude><span itemprop="composer" itemscope itemtype="http://schema.org/Person"><!--
  
 
microdata note: Although we are using the "composer" tag, we are inside a "musicArrangement" structure (set by Template:TrackListEntry) so the composer here refers to the composer of this musicArrangement, i.e. the actual arranger.
 
microdata note: Although we are using the "composer" tag, we are inside a "musicArrangement" structure (set by Template:TrackListEntry) so the composer here refers to the composer of this musicArrangement, i.e. the actual arranger.
Line 14: Line 14:
 
name is always {{{1}}} and if {{{2}}} is given, it is the alternateName
 
name is always {{{1}}} and if {{{2}}} is given, it is the alternateName
  
--><span itemprop="composer" itemscope itemtype="http://schema.org/Person"><meta itemprop="name" content="{{{1|}}}" />{{#if:{{{2|}}}|<meta itemprop="alternateName" content="{{{2|}}}" />}}</span><!--
+
-->{{#if:{{{2|}}}|<!--
 +
  --><meta itemprop="name" content="{{{1}}}" /><span itemprop="alternateName">[[{{{1|Unknown}}}|{{{2}}}]]</span><!--
 +
  -->|<span itemprop="name">[[{{{1|Unknown}}}|{{{1|''Unknown arranger''}}}]]</span><!--
 +
-->}}<!--
  
-->[[{{#if:{{{2|}}}|{{{2}}}|{{{1|Unknown}}}}}|{{{1|''Unknown arranger''}}}]]</span><includeonly>[[Category:Games arranged by {{{1|an unknown artist}}}|{{{1|Unknown}}}]]
+
--></span><includeonly>[[Category:Games arranged by {{{1|an unknown artist}}}|{{{1|Unknown}}}]]
 
[[Category:All games involving {{{1|an unknown arranger}}}|{{{1|Unknown}}}]]</includeonly>
 
[[Category:All games involving {{{1|an unknown arranger}}}|{{{1|Unknown}}}]]</includeonly>

Revision as of 02:37, 16 May 2015

This template is used by Template:TrackListEntry, see there for details.

Use:


Unknown arranger