Template:Publication: Difference between revisions

From PrintRoom archive
No edit summary
No edit summary
 
(72 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{Publication
{{Publication
|Title=
|has title
|publisher=
|has isbn
|coordinates=
|has publisher
|creator=
|has artist publisher
|contributor=
|has publishing year
|format=
|has location
|role=
|has publishing coordinates
|language=
|has author
|publishing year=
|has writer
|printing method=
|has editor
|binding method=
|has copyeditor
|inscription=
|has translator
|cover=
|has creator
|extent=
|has proofreader
|isbn=
|has designer
|volume nr=
|has illustrator
|issue nr=
|has binder
|edition order=
|has photographer
|related publication=
|has language
|edition size=
|has format=format (object type)
|acquisition history=
|has printing method
|trivia=
|has binding method
|garment type=
|has cover
|related gathering=
|has volume nr
|location in physical archive=
|has issue nr
|status=
|has edition=edition (name)
|amount in the archive=
|has printrun
|sign of use=
|has edition order
|has acquisition history
|has trivia
|has garment type
|has sign of use
|has amount in the archive
|has copyright license
|has status
|has description
|has unique identifier
|has other features
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{|style="display:block"
</noinclude><includeonly>{|class="smwtable-clean broadtable"
! Title
! Title
| [[Title::{{{{{PAGENAME}}|}}}]]
| [[has title::{{{has title|}}}]]
|-
! ISBN
| [[has isbn::{{{has isbn|}}}]]
|-
|-
! publisher
! publisher
| [[publisher::{{{publisher|}}}]]
| {{#arraymap:{{{has publisher|}}}|,|x|[[has publisher::x]]}}
|-
! artist publisher
| {{#arraymap:{{{has artist publisher|}}}|,|x|[[has artist publisher::x]]}}
|-
! publishing year
| [[has publishing year::{{{has publishing year|}}}]]
|-
|-
! coordinates
! Location
| {{{coordinates|}}}
| [[has location::{{{has location|}}}]]
|-
|-
! creator
! author
| {{{creator|}}}
| {{#arraymap:{{{has author|}}}|,|x|[[has author::x]]}}
|-
|-
! contributor
! editor
| {{{contributor|}}}
| {{#arraymap:{{{has editor|}}}|,|x|[[has editor::x]]}}
|-
|-
! format
! copy-editor
| {{{format|}}}
| {{#arraymap:{{{has copyeditor|}}}|,|x|[[has copyeditor::x]]}}
|-
|-
! role
! writer
| {{{role|}}}
| {{#arraymap:{{{has writer|}}}|,|x|[[has writer::x]]}}
|-
! translator
| {{#arraymap:{{{has translator|}}}|,|x|[[has translator::x]]}}
|-
! proofreader
| {{#arraymap:{{{has proofreader|}}}|,|x|[[has proofreader::x]]}}
|-
! Creator???
| {{#arraymap:{{{has creator|}}}|,|x|[[has creator::x]]}}
|-
! designer
| {{#arraymap:{{{has designer|}}}|,|x|[[has designer::x]]}}
|-
! illustrator
| {{#arraymap:{{{has illustrator|}}}|,|x|[[has illustrator::x]]}}
|-
! binder
| {{#arraymap:{{{has binder|}}}|,|x|[[has binder::x]]}}
|-
! photographer
| {{#arraymap:{{{has photographer|}}}|,|x|[[has photographer::x]]}}
|-
|-
! language
! language
| {{{language|}}}
| [[has language::{{{has language|}}}]]
|-
|-
! publishing year
! format (object type)
| {{{publishing year|}}}
| [[has format::{{{has format|}}}]]
|-
|-
! printing method
! printing method
| {{{printing method|}}}
|[[has printing method::{{{has printing method|}}}]]
|-
|-
! binding method
! binding method
| {{{binding method|}}}
| [[has binding method::{{{has binding method|}}}]]
|-
! inscription
| {{{inscription|}}}
|-
|-
! cover
! cover
| {{{cover|}}}
| [[has cover::{{{has cover|}}}]]
|-
|-
! extent
! volume number
| {{{extent|}}}
| [[has volume nr::{{{has volume nr|}}}]]
|-
! ISBN
| {{{isbn|}}}
|-
|-
! volume nr
! issue number
| {{{volume nr|}}}
| [[has issue nr::{{{has issue nr|}}}]]
|-
|-
! issue nr
! printrun
| {{{issue nr|}}}
| [[has printrun::{{{has printrun|}}}]]
|-
|-
! edition order
! edition order
| {{{edition order|}}}
| [[has edition order::{{{has edition order|}}}]]
|-
! reated publication
| {{{related publication|}}}
|-
! edition size
| {{{edition size|}}}
|-
|-
! acquisition history
! acquisition history
| {{{acquisition history|}}}
| [[has acquisition history::{{{has acquisition history|}}}]]
|-
|-
! trivia
! trivia
| {{{trivia|}}}
| [[has trivia::{{{has trivia|}}}]]
|-
|-
! garment type
! garment type ???
| {{{garment type|}}}
| [[has garment type::{{{garment type|}}}]]
|-
! related gathering
| {{{related gathering|}}}
|-
|-
! location in physical archive
! location in physical archive
| {{{location in physical archive|}}}
| [[has location in physical archive::{{{has location in physical archive|}}}]]
|-
|-
! status
! status
| {{{status|}}}
| [[has status::{{{has status|}}}]]
|-
|-
! amount in the archive
! amount of copies in the archive
| {{{amount in the archive|}}}
| [[has amount in the archive::{{{has amount in the archive|}}}]]
|-
|-
! sign of use
! sign of use
| {{{sign of use|}}}
| [[has sign of use::{{{has sign of use|}}}]]
|-
! unique identifier
| [[has unique identifier::{{{has unique identifier|}}}]]
|-
! Copyright License
| [[has copyright license::{{{has copyright license|}}}]]
|-
! Description
| [[has description::{{{has description|}}}]]
|-
! Image
| [[has image::{{{has image|}}}]]
|}
|}


<!-- da mettere in reverse link: has related publication (from category events, related publications) and has related gathering -->
<!-- da guardare per multi-instance template
{{#ask:[[{{FULLPAGENAME}}]]
|?has contributor
}} -->
{{#ask:[[{{FULLPAGENAME}}]]
|?has image
|offset=0
|link=all
|order=asc,asc
|headers=show
|mainlabel=-
|format=broadtable
|class=smwtable-clean entrypage-table
|transpose=yes
}}


{{#ask:[[{{FULLPAGENAME}}]]
{{#ask:[[{{FULLPAGENAME}}]]
|?Title
|?
|?publisher
|?has title=Title
|?coordinates
|?has isbn
|?creator
|?has publisher
|?contributor
|?has artist publisher=Artist Publisher
|?format
|?has publishing year
|?role
|?has location
|?language
|?has author
|?publishing year
|?has writer
|?printing method
|?has editor
|?binding method
|?has copyeditor
|?inscription
|?has translator
|?cover
|?has proofreader
|?extent
|?has creator
|?isbn
|?has designer
|?volume nr
|?has binder
|?issue nr
|?has illustrator
|?edition order
|?has photographer
|?related publication
|?has language
|?edition size
|?has format=format (object type)
|?acquisition history
|?has printing method
|?trivia
|?has binding method
|?garment type
|?has cover
|?related gathering
|?has volume nr
|?location in physical archive
|?has issue nr
|?status
|?has edition=edition (name)
|?amount in the archive
|?has printrun
|?sign of use
|?has edition order
|?has acquisition history
|?has trivia
|?has garment type
|?has sign of use
|?has amount in the archive
|?has copyright license
|?has status
|?has description
|?has unique identifier
|?has other features
|offset=0
|offset=0
|link=all
|link=all
Line 161: Line 228:
}}
}}


<!-- test with nested templates -->
<!-- {{{RoleTest|}}}
{|style="display:block; border: 1px solid #aaaaaa"
! Contribution (RoleTest)
|{{#arraymaptemplate:{{{RoleTest|}}}|Contribution|,|,}}
|}
-->




[[Category:Publication]]
[[Category:Publication]]
</includeonly>
</includeonly>

Latest revision as of 13:18, 5 July 2025

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

{{Publication
|has title
|has isbn
|has publisher
|has artist publisher
|has publishing year
|has location
|has publishing coordinates
|has author
|has writer
|has editor
|has copyeditor
|has translator
|has creator
|has proofreader
|has designer
|has illustrator
|has binder
|has photographer
|has language
|has format=format (object type)
|has printing method
|has binding method
|has cover
|has volume nr
|has issue nr
|has edition=edition (name)
|has printrun
|has edition order
|has acquisition history
|has trivia
|has garment type
|has sign of use
|has amount in the archive
|has copyright license
|has status
|has description
|has unique identifier
|has other features
}}

Edit the page to see the template text.