Template:Correspondence: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(61 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-info">[[Correspondence]]</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}}]]
|-
|-
|[[Institution::@@@]]
|[[Institution::@@@]]
Line 22: Line 24:
|-
|-
|[[Correspondence date::@@@]]
|[[Correspondence date::@@@]]
|[[Correspondence date::{{{Correspondence date|}}}]]
|[[Correspondence date::{{{Correspondence date|}}}|]]{{#show:{{PAGENAME}}|?Correspondence date#LOCL}}
|-
|-
|[[Place::@@@]]
|[[Place::@@@]]
Line 32: Line 34:
|[[Literature::@@@]]
|[[Literature::@@@]]
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|-
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|-
|[[Language::@@@]]
|{{#arraymap:{{{CorrespondenceLanguage|}}}|;|@@@@|[[Language::@@@@]]}}
|-
|-
|[[Link::@@@]]
|[[Link::@@@]]
|[[Link::{{{Link|}}}]]
|style="word-break: break-all;"|[[Link::{{{Link|}}}]]
|}
|}
</div><div class="panel-footer">Export: <span class="glyphicon glyphicon-save-file" title="Download"></span> {{#ask:[[{{FULLPAGENAME}}]]
</div><div class="card-footer">Export: <span class="fa fa-download" title="Download"></span> {{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
  |mainlabel=Entry
  |mainlabel=Entry
  |?Author
  |?Author
Line 46: Line 53:
  |?Institution
  |?Institution
  |?Literature
  |?Literature
|?Link
|?Numismatic keyword
  |?Modification date#LOCL#TO
  |?Modification date#LOCL#TO
  |?Last editor is
  |?Last editor is
Line 55: Line 64:
  |default=
  |default=
}} [[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 class="col-md-6">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Map</h5> </div>
<div class="card-body mw-collapsible-content">
{{#ask: [[{{PAGENAME}}]]
| format=leaflet
| ?Coordinates
| ?Place
| ajaxquery = [[Category:Correspondence]]
| ajaxcoordproperty = Coordinates
| zoom=7
| minzoom=4
| maxzoom=12
| center={{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }}
| outro=You can move or zoom the map to explore other correspondence!
}}</div>
</div></div>
</div></div>
</div>
<div class="card"><div class="mw-collapsible">
<div class="col-md-7">
<div class="card-header bg-light"><h5>[[Grand document::@@@]]</h5></div>
<div class="panel panel-default mw-collapsible">
<div class="card-body mw-collapsible-content">
<div class="panel-heading"><div class="panel-title ">[[Grand document::@@@]]</div></div>
<div class="panel-body mw-collapsible-content">
[[Grand document::{{{Grand document|}}}]]
[[Grand document::{{{Grand document|}}}]]
</div></div>
</div></div></div>
</div>
{{#default_form:Correspondence}}[[Category:Correspondence]]{{#set:Title Icon=Correspondence.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}} }}</includeonly>
{{#default_form:Correspondence}}[[Category:Correspondence]]{{#set:Title Icon=Correspondence.png}}</includeonly>

Latest revision as of 12:56, 14 February 2023

Template formatting Correspondences.