Template:Correspondence: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(44 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__<div class="btn btn-default">[[Correspondence]]</div><br/>
</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 33: Line 35:
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|{{#arraymap:{{{Literature|}}}|;|@@@@|[[Literature::@@@@]][[CiteRef::{{#explode:@@@@|,|0}}]]}}
|-
|-
|[[Keyword::@@@]] (personal)
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::@@@@]]}}
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|-
|-
|[[Numismatic keyword::@@@]] (numismatic)
|[[Language::@@@]]
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::@@@@]]}}
|{{#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 63: 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>
</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 ">Map</div></div>
<div class="card-header bg-light"><h5>Map</h5> </div>
<div class="panel-body mw-collapsible-content">
<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
{{#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 class="panel panel-default mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="panel-heading"><div class="panel-title ">[[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: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|PageID={{PAGEID}}}}</includeonly>

Latest revision as of 12:56, 14 February 2023

Template formatting Correspondences.