Difference between revisions of "Template:CitationMaker"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
Line 15: Line 15:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
 
'''Title:''' [[dc:title::{{{Title|}}}]]
 
'''Title:''' [[dc:title::{{{Title|}}}]]
 
'''Author:''' {{#arraymap:{{{Author|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:dc:creator=x}}}}
 
'''Author:''' {{#arraymap:{{{Author|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:dc:creator=x}}}}
Line 26: Line 27:
  
 
[[Category:Reference]]
 
[[Category:Reference]]
==Test ask #1==
 
{{#ask: [[skos:prefLabel.source::{{PAGENAME}}]]
 
|?skos:prefLabel
 
|format=table
 
}}
 
  
 
{{#ask: [[source::{{PAGENAME}}]]
 
{{#ask: [[source::{{PAGENAME}}]]
 
|?skos:prefLabel
 
|?skos:prefLabel
 
|?source
 
|?source
|format=table
 
}}
 
 
==Test ask #2==
 
{{#ask:{{#if:{{{source|}}}|[[source::{{PAGENAME|}}]]}}
 
 
|format=table
 
|format=table
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 00:33, 27 August 2020

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

{{CitationMaker
|Title=
|Author=
|Publisher=
|Type of publication=
|OCLC number=
|Date published=
|Language =
}}

Edit the page to see the template text.