Template:Correspondence: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
(28 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__[[Correspondence]]
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-default">[[Correspondence]]</div><br/>
<div class=row>
<div class=row>
<div class="col-md-5">
<div class="col-md-5">
Line 8: Line 8:
<div class="panel-body mw-collapsible-content">
<div class="panel-body mw-collapsible-content">
{| class="table table-hover table-condensed"
{| class="table table-hover table-condensed"
|[[ID::@@@]]
|[[ID::{{PAGEID}}]]
|-
|-
|[[Institution::@@@]]
|[[Institution::@@@]]
|{{#set:Institution={{{Institution|}}}}}{{#formredlink:target={{{Institution|}}}|form=Institution}}
|{{#set:Institution={{{Institution|}}}}}{{#formredlink:target={{{Institution|}}}|form=Institution}}
|-
|[[Inventory::@@@]]
|[[Inventory::{{{Inventory |}}}]]
|-
|-
|[[Author::@@@]]
|[[Author::@@@]]
Line 18: Line 23:
|{{#arraymap:{{{Recipient|}}}|;|@@@@|{{#set:Recipient=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|{{#arraymap:{{{Recipient|}}}|;|@@@@|{{#set:Recipient=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|-
|[[Publication date::@@@]]
|[[Correspondence date::@@@]]
|[[Publication date::{{{Publication date|}}}]]
|[[Correspondence date::{{{Correspondence date|}}}|]]{{#show:{{PAGENAME}}|?Correspondence date#LOCL}}
|-
|-
|[[Place::@@@]]
|[[Place::@@@]]
|[[Place::{{{Place|}}}]]
|[[Place::{{{Place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Coordinates}}</sup>{{#set:Coordinates={{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }} }}
|-
|-
|[[Associated persons::@@@]]
|[[Associated persons::@@@]]
Line 29: Line 34:
|[[Literature::@@@]]
|[[Literature::@@@]]
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|-
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{lc:@@@@}}]]}}
|-
|[[Language::@@@]]
|{{#arraymap:{{{CorrespondenceLanguage|}}}|;|@@@@|[[Language::@@@@]]}}
|-
|[[Link::@@@]]
|[[Link::{{{Link|}}}]]
|}
|}
</div></div>
</div><div class="panel-footer">Export: <span class="glyphicon glyphicon-save-file" title="Download"></span> {{#ask:[[{{FULLPAGENAME}}]]
 
<div class="panel panel-default"><div class="panel-heading"><div class="panel-title"><span class="fa fa-download">&nbsp;</span>Download</div></div>
<div class="panel-body mw-collapsible-content">
<span class="glyphicon glyphicon-save-file" title="CSV (Comma Separated Value)"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
|mainlabel=-
  |mainlabel=Entry
  |mainlabel=Entry
Line 44: Line 54:
  |?Institution
  |?Institution
  |?Literature
  |?Literature
|?Link
|?Numismatic keyword
  |?Modification date#LOCL#TO
  |?Modification date#LOCL#TO
  |?Last editor is
  |?Last editor is
Line 54: Line 66:
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
</div></div>
</div></div>
</div>
</div>
<div class="col-md-7">
<div class="col-md-7">
<div class="panel panel-default mw-collapsible">
<div class="panel-heading"><div class="panel-title ">Map</div></div>
<div class="panel-body mw-collapsible-content">
{{#display_map:{{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }}~{{PAGENAME|}}~{{{Place|}}}, {{{Correspondence date|}}}, {{{Place|}}}~red~0.42~10
}}
</div></div>
<div class="panel panel-default mw-collapsible">
<div class="panel panel-default mw-collapsible">
<div class="panel-heading"><div class="panel-title ">[[Grand document::@@@]]</div></div>
<div class="panel-heading"><div class="panel-title ">[[Grand document::@@@]]</div></div>
Line 63: Line 79:
[[Grand document::{{{Grand document|}}}]]
[[Grand document::{{{Grand document|}}}]]
</div></div>
</div></div>
</div>{{#if:{{{Coordinates|}}}|{{#set:Coordinates={{{Coordinates|}}} }}|{{#if:{{{Place|}}}|{{#set:Coordinates={{#geocode:{{{Place|}}} }} }} }} }}
</div>
{{#default_form:Correspondence}}[[Category:Correspondence]]{{#set:Title Icon=Correspondence.png}}</includeonly>
{{#default_form:Correspondence}}[[Category:Correspondence]]{{#set:Title Icon=Correspondence.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}} }}</includeonly>

Revision as of 14:09, 1 October 2020

Template formatting Correspondences.