Template:Publication: Difference between revisions
No edit summary |
No edit summary |
||
| (83 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 | ||
| | |has publishing year | ||
| | |has location | ||
| | |has publishing coordinates | ||
|language | |has author | ||
| | |has writer | ||
|printing method | |has editor | ||
|binding method | |has copyeditor | ||
|has translator | |||
|cover | |has creator | ||
|has proofreader | |||
|has designer | |||
|volume nr | |has illustrator | ||
|issue nr | |has binder | ||
|edition | |has photographer | ||
| | |has language | ||
|edition | |has format=format (object type) | ||
|acquisition history | |has printing method | ||
|trivia | |has binding method | ||
|garment type | |has cover | ||
| | |has volume nr | ||
| | |has issue nr | ||
|status | |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 | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{| class=" | </noinclude><includeonly>{|class="smwtable-clean broadtable" | ||
| | ! Title | ||
! | | [[has title::{{{has title|}}}]] | ||
| {{{ | |- | ||
! ISBN | |||
| [[has isbn::{{{has isbn|}}}]] | |||
|- | |- | ||
! 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|}}}]] | |||
|- | |||
! Location | |||
| [[has location::{{{has location|}}}]] | |||
|- | |||
! author | |||
| {{#arraymap:{{{has author|}}}|,|x|[[has author::x]]}} | |||
|- | |||
! editor | |||
| {{#arraymap:{{{has editor|}}}|,|x|[[has editor::x]]}} | |||
|- | |||
! copy-editor | |||
| {{#arraymap:{{{has copyeditor|}}}|,|x|[[has copyeditor::x]]}} | |||
|- | |||
! writer | |||
| {{#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|}}}]] | ||
|- | |- | ||
! | ! format (object type) | ||
| {{{ | | [[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|}}}]] | ||
|- | |- | ||
! cover | ! cover | ||
| {{{cover|}}} | | [[has cover::{{{has cover|}}}]] | ||
|- | |- | ||
! | ! volume number | ||
| {{{ | | [[has volume nr::{{{has volume nr|}}}]] | ||
|- | |- | ||
! | ! issue number | ||
| | | [[has issue nr::{{{has issue nr|}}}]] | ||
|- | |- | ||
! | ! printrun | ||
| {{{ | | [[has printrun::{{{has printrun|}}}]] | ||
|- | |- | ||
! edition order | ! edition order | ||
| | | [[has edition order::{{{has edition order|}}}]] | ||
|- | |- | ||
! acquisition history | ! acquisition history | ||
| {{{acquisition history|}}} | | [[has acquisition history::{{{has acquisition history|}}}]] | ||
|- | |- | ||
! trivia | ! trivia | ||
| {{{trivia|}}} | | [[has trivia::{{{has trivia|}}}]] | ||
|- | |- | ||
! | ! garment type ??? | ||
| {{{ | | [[has garment type::{{{garment type|}}}]] | ||
|- | |- | ||
! 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}}]] | |||
|? | |||
|?has title=Title | |||
|?has isbn | |||
|?has publisher | |||
|?has artist publisher=Artist Publisher | |||
|?has publishing year | |||
|?has location | |||
|?has author | |||
|?has writer | |||
|?has editor | |||
|?has copyeditor | |||
|?has translator | |||
|?has proofreader | |||
|?has creator | |||
|?has designer | |||
|?has binder | |||
|?has illustrator | |||
|?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 | |||
|offset=0 | |||
|link=all | |||
|order=asc,asc | |||
|headers=show | |||
|mainlabel=- | |||
|format=broadtable | |||
|class=smwtable-clean entrypage-table | |||
|transpose=yes | |||
}} | |||
<!-- 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.