Difference between revisions of "Template:CitationMaker"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|Publisher=
 
|Publisher=
 
|Type of publication=
 
|Type of publication=
|OCLC number=
+
|OCLC=
 +
|ISBN=
 
|Date published=
 
|Date published=
 
|Language =
 
|Language =
Line 14: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude>
'''Title:''' [[dc:title::{{{Title|}}}]]
+
[[Category: Reference]]<includeonly>
'''Author:''' {{#arraymap:{{{Author|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:dc:creator=x}}}}
+
 
'''Publisher:''' [[dc:publisher::{{{Publisher|}}}]]
+
'''Title:''' [[Title::{{{Title|}}}]]
'''Format:''' [[dcterms:format::{{{Type of publication|}}}]]
+
 
'''OCLC number:''' [[OCLC number::{{{OCLC number|}}}]]
+
'''Author:''' {{#arraymap:{{{Author|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:Author=x}}}}
 +
 
 +
'''Publisher:''' [[Publisher::{{{Publisher|}}}]]
 +
 
 +
'''Publication place:''' [[Location::{{{location|}}}]]
 +
 
 +
'''Format:''' [[Format::{{{Type of publication|}}}]]
 +
 
 +
'''OCLC number:''' [[OCLC number::{{{OCLC|}}}]]
 +
 
 
'''ISBN:''' {{{ISBN|}}}
 
'''ISBN:''' {{{ISBN|}}}
 +
 
'''Date published:''' [[dc:date::{{{Date published|}}}]]
 
'''Date published:''' [[dc:date::{{{Date published|}}}]]
 +
 
'''Language:''' {{#arraymap:{{{Language code|}}}|,|x|[[dc:language::x]]}}
 
'''Language:''' {{#arraymap:{{{Language code|}}}|,|x|[[dc:language::x]]}}
  
[[Category:Reference]]
 
==Test ask #1==
 
{{#ask: [[source::{{PAGENAME}}]]
 
|?skos:prefLabel
 
|format=table
 
}}
 
  
==Test ask #2==
+
[[Category: Reference]]
{{#ask:{{#if:{{{source|}}}|[[source::{{PAGENAME|}}]]}}
+
 
|format=table
+
{{#ask: [[-Has subobject::+]][[Citation::{{PAGENAME}}]]
 +
|?Language code
 +
|?Translated term#-raw
 +
|?source|+index=1
 +
|format=table
 +
|limit=50
 +
|offset=0
 +
|link=all
 +
|sort=
 +
|order=
 +
|headers=show
 +
|mainlabel=Term in English
 +
|searchlabel=... further results
 +
|class=sortable wikitable smwtable
 +
|sep=,
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 14:04, 25 October 2020

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

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

Edit the page to see the template text.