Open main menu

Difference between revisions of "Template:Infobox Album Microdata"

(Created page with "{{{{{|safesubst:}}}#invoke:Unsubst-infobox||$params=italic_title,name,type,longtype,artist,cover,border,alt,caption,released,recorded,venue,studio,genre,length,language,label,...")
 
 
(26 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 27: Line 27:
 
| data5      = {{{studio|}}}
 
| data5      = {{{studio|}}}
 
| class5      = plainlist
 
| class5      = plainlist
| label6      = [[Music genre|Genre]]
+
| label6      = Genre
 
| data6      = {{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}
 
| data6      = {{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}
 
| class6      = category hlist
 
| class6      = category hlist
Line 35: Line 35:
 
| data8      = {{{language|}}}
 
| data8      = {{{language|}}}
 
| class8      = category
 
| class8      = category
| label9      = [[Record label|Label]]
+
| label9      = Label
 
| data9      = {{{label|}}}
 
| data9      = {{{label|}}}
 
| class9      = hlist
 
| class9      = hlist
| label10    = [[Film director|Director]]
+
| label10    = Director
 
| data10      = {{{director|}}}
 
| data10      = {{{director|}}}
 
| class10    = hlist
 
| class10    = hlist
| label11    = [[Record producer|Producer]]
+
| label11    = Producer
 
| data11      = {{{producer|}}}
 
| data11      = {{{producer|}}}
 
| class11    = hlist
 
| class11    = hlist
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="{{{recorded|}}}" />
+
<!--<meta itemprop="genre" content="{{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}" />-->
<meta itemprop="recordedAt" content="{{{venue|}}}" />
+
<!--<meta itemprop="publisher" itemtype="https://schema.org/Organization" content="{{{label|}}}" />-->
<meta itemprop="recordedAt" content="{{{studio|}}}" />
+
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> <meta itemprop="name" content="{{{label|}}}" /></div>
<meta itemprop="genre" content="{{#ifexist:Template:Infobox album/genre/{{FULLPAGENAME}}|{{Infobox album/genre/{{FULLPAGENAME}}}}|{{{genre|}}}}}" />
+
<div itemprop="producer" itemscope itemtype="https://schema.org/Organization"><meta itemprop="name" content="{{{producer|}}}" /></div>
<meta itemprop="publisher" content="{{{label|}}}" />
+
<meta itemprop="albumProductionType" content="{{{type|}}}" />
<meta itemprop="producer" content="{{{producer|}}}" />
+
<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