Template:Correspondence and Correspondence Collections: Difference between pages

From Fina Wiki
(Difference between pages)
m (Text replacement - "<div class="btn btn-default">" to "<div class="btn btn-light">")
 
m (Text replacement - "<div class="btn btn-default">" to "<div class="btn btn-light">")
 
Line 1: Line 1:
<noinclude>
<div class="btn btn-light">[[Form:Correspondence Collection|Add new entry]]</div><br/>
Template formatting {{PAGENAME}}s.
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-light">[[Correspondence]]</div><br/>
<div class=row>
<div class="col-md-5">
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>{{PAGENAME}}</h5></div>
<div class="card-header bg-light"><h5>{{PAGENAME}} in FINA Wiki</div></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{| class="table table-hover table-condensed"
{{#ask:[[Category:{{PAGENAME}}]]
|[[ID::@@@]]
|mainlabel={{int:Document}}
|[[ID::{{PAGEID}}]]
|?Title#
|-
|?Institution|+filter=value|+value filter collapsible=collapsed|+value filter switches=on off
|[[Institution::@@@]]
|?Inventory#
|{{#set:Institution={{{Institution|}}}}}{{#formredlink:target={{{Institution|}}}|form=Institution}}
|?Author|+filter=value|+value filter collapsible=collapsed|+value filter switches=on off
|-
|?Recipient|+filter=value|+value filter collapsible=collapsed|+value filter switches=on off
|[[Inventory::@@@]]
|?Publication date#LOCL|+filter=number|+number filter step=1|+number filter collapsible=collapsed|+show if undefined=yes|+number filter switches=on off
|[[Inventory::{{{Inventory |}}}]]
|?Publication date to#LOCL=to|+filter=number|+number filter step=1|+number filter collapsible=collapsed|+show if undefined=yes|+number filter switches=on off
|-
|?Place#|+filter=value|+value filter collapsible=collapsed||+value filter switches=on off|+hide=yes
|[[Author::@@@]]
|?Language#|+filter=value|+value filter collapsible=collapsed||+value filter switches=on off|+hide=yes
|{{#arraymap:{{{Author|}}}|;|@@@@|{{#set:Author=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|?Associated persons|+filter=value|+value filter collapsible=collapsed|+value filter switches=on off
|-
|?Literature#
|[[Recipient::@@@]]
|?Numismatic keyword#|+filter=value|+value filter collapsible=collapsed|+value filter switches=on off
|{{#arraymap:{{{Recipient|}}}|;|@@@@|{{#set:Recipient=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|format=filtered
|-
|limit=5000
|[[Correspondence date::@@@]]
|sort=Author.Last name
|[[Correspondence date::{{{Correspondence date|}}}|]]{{#show:{{PAGENAME}}|?Correspondence date#LOCL}}
|order=asc
|-
|views=table
|[[Place::@@@]]
|table view class=table table-hover table-responsive table-condensed sortable
|[[Place::{{{Place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Coordinates}}</sup>{{#set:Coordinates={{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }} }}
}}</div><div class="panel-footer">Export: <span class="glyphicon glyphicon-save-file" title="Download"></span> {{#ask:[[Category:{{PAGENAME}}]]
|-
|mainlabel={{int:Document}}
|[[Associated persons::@@@]]
|?Title#
|{{#arraymap:{{{Associated persons|}}}|;|@@@@|{{#set:Associated persons=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
  |?Inventory#
|-
  |?Author#
|[[Literature::@@@]]
  |?Publication date#ISO
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
  |?Publication to#ISO
|-
  |?Place#
|[[Numismatic keyword::@@@]]
  |?Associated persons#
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{lc:@@@@}}]]}}
  |?Institution#
|-
  |?Literature#
|[[Language::@@@]]
  |?Link#
|{{#arraymap:{{{CorrespondenceLanguage|}}}|;|@@@@|[[Language::@@@@]]}}
  |?Numismatic keyword#
|-
|[[Link::@@@]]
|[[Link::{{{Link|}}}]]
|}
</div><div class="panel-footer">Export: <span class="glyphicon glyphicon-save-file" title="Download"></span> {{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
  |mainlabel=Entry
  |?Author
  |?Recipient
  |?Publication date
  |?Place
  |?Associated persons
  |?Institution
  |?Literature
  |?Link
  |?Numismatic keyword
|?Modification date#LOCL#TO
|?Last editor is
|headers=plain
  |format=csv
  |format=csv
|limit=5000
  |sep=;
  |sep=;
  |bom=yes
  |bom=yes
Line 66: Line 44:
}} [[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>
{{#set:Title Icon=Correspondence Collection.png}}
<div class="col-md-7">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Map</div></div>
<div class="card-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="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>[[Grand document::@@@]]</div></div>
<div class="card-body mw-collapsible-content">
[[Grand document::{{{Grand document|}}}]]
</div></div>
</div>
{{#default_form:Correspondence}}[[Category:Correspondence]]{{#set:Title Icon=Correspondence.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}} }}</includeonly>

Revision as of 08:40, 27 August 2022


Correspondence Collections in FINA Wiki