Open main menu

Difference between revisions of "Template:Infobox Album Microdata"

 
(13 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
| headerclass = description
 
| headerclass = description
  
| header1    = <includeonly>{{Infobox album/link|{{{type|}}} }}</includeonly>{{#if:{{{longtype|}}}|&#32;<span itemprop="alternativeHeadline">{{{longtype|}}}</span>}}{{#if:{{{artist|}}}|&#32;by <div class="contributor" itemprop="byArtist" style="display:inline">{{{artist|}}}</div> }}
+
| header1    = <includeonly>{{Infobox album/link|{{{type|}}} }}</includeonly>{{#if:{{{longtype|}}}|&#32;<span itemprop="alternativeHeadline">{{{longtype|}}}</span>}}{{#if:{{{artist|}}}|&#32;by <div class="contributor" itemprop="byArtist" itemscope itemtype="https://schema.org/MusicGroup" style="display:inline"><span itemprop="name">{{{artist|}}}</span></div> }}
 
| label2      = Released
 
| label2      = Released
 
| data2      = {{{released|}}}
 
| data2      = {{{released|}}}
Line 61: Line 61:
 
<meta itemprop="datePublished" content="{{{released|}}}" />
 
<meta itemprop="datePublished" content="{{{released|}}}" />
 
<!--<meta itemprop="genre" content="{{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}" />-->
 
<!--<meta itemprop="genre" content="{{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}" />-->
<div itemprop="publisher"><meta itemscope = itemtype="https://schema.org/Organization" content="{{{label|}}}" /></div>
+
<!--<meta itemprop="publisher" itemtype="https://schema.org/Organization"  content="{{{label|}}}" />-->
<meta itemprop="producer" content="{{{producer|}}}" />
+
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> <meta itemprop="name" content="{{{label|}}}" /></div>
 +
<div itemprop="producer" itemscope itemtype="https://schema.org/Organization"><meta itemprop="name" content="{{{producer|}}}" /></div>
 +
<meta itemprop="albumProductionType" content="{{{type|}}}" />
 +
<meta itemprop="genre" content="{{{genre|}}}" />
 +
<div itemprop="locationCreated" itemscope itemtype="https://schema.org/Place"> <meta itemprop="address" content="{{{studio|}}}" /></div>
 
}}
 
}}
  

Latest revision as of 17:35, 15 November 2020