Template:Annotated Printed Book: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(112 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Template formatting {{PAGENAME}}s.
Template formatting {{PAGENAME}}s.
</noinclude><includeonly>__NOEDITSECTION____NOTOC__
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-info">[[Annotated Printed Books]]</div><br/>{{#if:{{{Author|}}}|{{{Author|}}} }}{{#if:{{{Place|}}}|, {{{Place|}}} }}{{#if:{{{Publication date|}}}|, {{{Publication date|}}} }}
<div class=row>
<div class=row>
<div class="col-md-5">
<div class="col-md-6">
<div class="panel panel-default mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="panel-heading"><div class="panel-title ">{{PAGENAME}}</div></div>
<div class="card-header bg-light"><h5>{{PAGENAME}}</h5></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{| class="table table-hover table-condensed"
{| class="table table-hover table-sm"
|[[ID::@@@]]
|[[ID::{{PAGEID}}]]
|-
|-
|Title{{#info:Title of the book}}
|[[Title::@@@]]
|[[Title::{{{Title|}}}]]
|[[Title::{{{Title|}}}]]
|-
|-
|Inventory no.{{#info:Inventory number}}
|[[Author::@@@]]
|[[Inventory ::{{{Inventory |}}}]]
|{{#arraymap:{{{Author|}}}|;|@@@@|{{#set:Author=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|-
|Author{{#info:Author of the book}}
|[[Printer::@@@]]
|{{#arraymap:{{{Author|}}}|,|@@@@|[[Author::@@@@]]}}
|[[Printer::{{{Printer|}}}]]
|-
|-
|Publication date{{#info:Date of the publication}}
|[[Publication date::@@@]]
|[[Publication date::{{{Publication date|}}}]]
|[[Publication date::{{{Publication date|}}}|]]{{#show:{{PAGENAME}}|?Publication date#LOCL}}
|-
|-
|Place{{#info:Place of the publication.}}
|[[Institution::@@@]]
|[[Place::{{{Place|}}}]]
|{{#set:Institution={{{Institution|}}}}}{{#formredlink:target={{{Institution|}}}|form=Institution}}
|-
|-
|Annotator{{#info:Name of the annotator}}
|[[Inventory::@@@]]
|{{#arraymap:{{{Annotator|}}}|,|@@@@|[[Annotator::@@@@]]}}
|[[Inventory::{{{Inventory |}}}]]
|-
|-
|Associated persons{{#info:Persons, further associated with the annotation.}}
|[[Place::@@@]]
|{{#arraymap:{{{Associated persons|}}}|,|@@@@|[[Associated persons::@@@@]]}}
|[[Place::{{{Place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Coordinates}}</sup>{{#set:Coordinates={{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }} }}
|-
|-
|Institution{{#info:Institution of the current location of the book.}}
|[[Annotator::@@@]]
|[[Institution::{{{Institution|}}}]]
|{{#arraymap:{{{Annotator|}}}|;|@@@@|{{#set:Annotator=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|-
|Literature{{#info:Literature}}
|[[Associated persons::@@@]]
|{{#arraymap:{{{Literature|}}}|,|@@@@|[[Literature::@@@@]]}}
|{{#arraymap:{{{Associated persons|}}}|;|@@@@|{{#set:Associated persons=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|[[Literature::@@@]]
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|-
|[[Link::@@@]]
|style="word-break: break-all;"|[[Link::{{{Link|}}}]]
|-
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|}
|}
</div></div>
</div><div class="card-footer">Export: <span class="fa fa-download" title="Download"></span> {{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
|mainlabel=Entry
|?Title
|?Inventory
|?Author
|?Publication date
|?Place
|?Annotator
|?Associated persons
|?Institution
|?Literature
|?Link
|?Numismatic keyword
|?Modification date#LOCL#TO
|?Last editor is
|headers=plain
|format=csv
|sep=;
|bom=yes
|filename={{FULLPAGENAME}}.csv
|default=
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
</div></div></div>
</div>
</div>
<div class="col-md-7">
<div class="col-md-6">
<div class="panel panel-default mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="panel-heading"><div class="panel-title ">Grand document{{#info:Original text in the grand document}}</div></div>
<div class="card-header bg-light"><h5>[[Grand document::@@@]]</h5></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
[[Grand document::{{{Grand document|}}}]]
[[Grand document::{{{Grand document|}}}]]
</div></div>
</div></div></div>
</div>
{{#default_form:Annotated Printed Book}}[[Category:Annotated Printed Books]]{{#set:Title Icon=Annotated Printed Book.png|PageID={{PAGEID}}|Pagename={{PAGENAME}} }}</includeonly>
{{#default_form:Annotated Printed Book}}[[Category:Annotated Printed Books]]</includeonly>

Latest revision as of 12:40, 14 February 2023

Template formatting Annotated Printed Books.