Difference between revisions of "Template:TrackListArranger"

From Video Game Music Preservation Foundation Wiki
Jump to: navigation, search
m (microdata: Add itemtype IDs)
(Change from |name|link to |link|name to match [[ style)
Line 4: Line 4:
 
Use:
 
Use:
 
* <nowiki>{{TrackListArranger|John Doe}}</nowiki> → [[John Doe]]
 
* <nowiki>{{TrackListArranger|John Doe}}</nowiki> → [[John Doe]]
* <nowiki>{{TrackListArranger|John Doe|Jonathan M. Doe}}</nowiki> → [[Jonathan M. Doe|John Doe]] (links to [[Jonathan M. Doe]])
+
* <nowiki>{{TrackListArranger|Jonathan M. Doe|John Doe}}</nowiki> → [[Jonathan M. Doe|John Doe]] (links to [[Jonathan M. Doe]])
  
 
[[Category:Track listing templates]]
 
[[Category:Track listing templates]]
Line 12: Line 12:
 
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.
  
--><span itemprop="composer" itemscope itemtype="http://schema.org/Person">{{#if:{{{2|}}}|<!--
+
name is always {{{1}}} and if {{{2}}} is given, it is the alternateName
  if {{{2}}} is specified: --><meta itemprop="name" content="{{{2|}}}" /><meta itemprop="alternateName" content="{{{1|}}}" /><!--
+
 
-->|<!--
+
--><span itemprop="composer" itemscope itemtype="http://schema.org/Person"><meta itemprop="name" content="{{{1|}}}" />{{#if:{{{2|}}}|<meta itemprop="alternateName" content="{{{2|}}}" />}}</span><!--
  else {{{2}}} is omitted: --><meta itemprop="name" content="{{{1|}}}" /><!--
 
-->}}</span><!--
 
  
 
-->[[{{#if:{{{2|}}}|{{{2}}}|{{{1|Unknown}}}}}|{{{1|''Unknown arranger''}}}]]</span><includeonly>[[Category:Games arranged by {{{1|an unknown artist}}}|{{{1|Unknown}}}]]
 
-->[[{{#if:{{{2|}}}|{{{2}}}|{{{1|Unknown}}}}}|{{{1|''Unknown arranger''}}}]]</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 01:45, 16 May 2015

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

Use:


Unknown arranger