Difference between revisions of "Template:Smw composer"

From PUBLIC DOMAIN PROJECT MEDIAPOOL
Jump to: navigation, search
(Created page with "<noinclude> This is the "Smw composer" template. It should be called in the following format: <pre> {{Smw composer |Name= |Year Born= |Year Died= |Wikilink= Link to a wiki pag...")
 
(automatic categorization if year of birth/death added)
 
Line 19: Line 19:
 
|Wikilink= {{{Wikilink|}}}
 
|Wikilink= {{{Wikilink|}}}
 
|MusicBrainzID= {{{MusicBrainzID|}}}
 
|MusicBrainzID= {{{MusicBrainzID|}}}
}} [[Dc:creator::{{{Name|}}}| ]] [[Schema:creator::{{{Name|}}}| ]] [[Dbo:composer::{{{Name|}}}| ]] [[Category:{{{Name|}}}]] {{#if: {{{Year Born|}}}| [[ComposerYearBorn::{{{Year Born|}}}| ]] }} {{#if: {{{Year Died|}}}| [[ComposerYearDied::{{{Year Died|}}}| ]] }} {{#if: {{{Wikilink|}}}| [[ComposerHasMoreInformation::{{fullurl:{{{Wikilink|}}} }}| ]] }} {{#if: {{{MusicBrainzID|}}} | [[ComposerHasMusicBrainzID::{{{MusicBrainzID|}}}| ]] }}  
+
}} [[Dc:creator::{{{Name|}}}| ]] [[Schema:creator::{{{Name|}}}| ]] [[Dbo:composer::{{{Name|}}}| ]] [[Category:{{{Name|}}}]] {{#if: {{{Year Born|}}}| [[ComposerYearBorn::{{{Year Born|}}}| ]] }} {{#if: {{{Year Died|}}}| [[ComposerYearDied::{{{Year Died|}}}| ]] }} {{#if: {{{Wikilink|}}}| [[ComposerHasMoreInformation::{{fullurl:{{{Wikilink|}}} }}| ]] }} {{#if: {{{MusicBrainzID|}}} | [[ComposerHasMusicBrainzID::{{{MusicBrainzID|}}}| ]] }} {{#if: {{{Year Born|}}} | | [[Category:Year of birth missing]] }} {{#if: {{{Year Died|}}} | | [[Category:Year of death missing]] }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category:Semantic MediaWiki helpers]]
 
[[Category:Semantic MediaWiki helpers]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:05, 11 February 2018

This is the "Smw composer" template. It should be called in the following format:

{{Smw composer
|Name=
|Year Born=
|Year Died=
|Wikilink= Link to a wiki page, wiki category or a interwiki link
|MusicBrainzID=
}}

Edit the page to see the template text.