Open main menu

Difference between revisions of "Template:Infobox Album Microdata"

 
(20 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 58: Line 58:
 
}}
 
}}
 
| below      = {{{misc|}}}
 
| below      = {{{misc|}}}
<meta itemprop='name' content="{{{name}}}" />  
+
<meta itemprop="name" content="{{{name}}}" />  
 
<meta itemprop="datePublished" content="{{{released|}}}" />
 
<meta itemprop="datePublished" content="{{{released|}}}" />
 
<!--<meta itemprop="locationCreated" content="{{{venue|}}}" />
 
<div itemprop="recordedAt" >
 
  <meta itemprop="name" content="{{{venue|}}}" />
 
  <meta itemprop="location" content="{{{studio|}}}" />
 
 
</div>-->
 
  <meta itemprop="startDate" content="{{{recorded|}}}" />
 
 
<!--<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|}}}}}" />-->
<meta itemprop="publisher" content="{{{label|}}}" />
+
<!--<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