Difference between revisions of "Template:Infobox Album Microdata"
(22 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|}}}| <span itemprop="alternativeHeadline">{{{longtype|}}}</span>}}{{#if:{{{artist|}}}| by <div class="contributor" itemprop="byArtist" style="display:inline">{{{artist|}}}</div> }} | + | | header1 = <includeonly>{{Infobox album/link|{{{type|}}} }}</includeonly>{{#if:{{{longtype|}}}| <span itemprop="alternativeHeadline">{{{longtype|}}}</span>}}{{#if:{{{artist|}}}| 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= | + | <meta itemprop="name" content="{{{name}}}" /> |
<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|}}}}}" />--> | ||
− | <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> | ||
}} | }} | ||