Template:Literature: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(85 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Template formatting {{PAGENAME}}.
Template formatting [[{{PAGENAME}}]].
</noinclude><includeonly>__NOEDITSECTION____NOTOC__[[Literature]]
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-info">[[Literature]]</div>{{#if:{{{FINA Bibliography|}}}|<div class="btn btn-info">[[Bibliography|FINA Bibliography]]</div>}}<br/>{{#if:{{{Literature type|}}}|{{{Literature type|}}} }}{{#if:{{{Place|}}}|, {{{Place|}}} }}
<div class=row>
<div class=row>
<div class="col-md-5">
<div class="col-md-5">
<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}}]]
|-
|-
|[[Author::@@@]]
|[[Author::@@@]]
|{{#arraymap:{{{Author|}}}|;|@@@@|{{#set:Author=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|{{#arraymap:{{{Author|}}}|;|@@@@|{{#set:Author=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|[[Title::@@@]]
|[[Title::{{{Title|}}}]]
|-
|-
|[[Literature year::@@@]]
|[[Literature year::@@@]]
|[[Literature year::{{{Literature year|}}}]]
|[[Literature year::{{{Literature year|}}}]]
|-
|[[Place::@@@]]
|[[Place::{{{Place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Coordinates}}</sup>{{#set:Coordinates={{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#if:{{{Place|}}}|{{#geocode:{{{Place|}}} }} }} }} }}
|-
|-
|[[Literature type::@@@]]
|[[Literature type::@@@]]
|[[Literature type::{{{Literature type|}}}]]
|{{#arraymap:{{{Literature type|}}}|;|@@@@|[[Literature type::{{lc:@@@@}}]]}}
|-
|[[Associated persons::@@@]]
|{{#arraymap:{{{Associated persons|}}}|;|@@@@|{{#set:Associated persons=@@@@}}{{#formredlink:target=@@@@|form=Person}}}}
|-
|-
|[[Citation::@@@]]
|[[Citation::@@@]]
|[[Citation::{{{Citation|}}}]]
|<span style="overflow-wrap: break-word; word-wrap: break-word; word-break: break-word;">[[Citation::{{{Citation|}}}]]</span>
|-
|[[Link::@@@]]
|<span style="overflow-wrap: break-word; word-wrap: break-word; word-break: break-word;">[[Link::{{{Link|}}}]]</span>
|-
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Numismatic keyword|}}}|;|@@@@|[[Numismatic keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|-
|[[Language::@@@]]
|{{#arraymap:{{{Language|}}}|;|@@@@|[[Language::@@@@]]}}
|}
|}
{{#scite:{{PAGENAME}}
{{#scite:{{PAGENAME}}  
  |author={{{Author|}}}
  |author={{{Author|}}}
|title={{{Title|}}}
  |year={{{Literature year|}}}
  |year={{{Literature year|}}}
  |type={{{Literature type|}}}
  |type={{{Literature type|}}}
Line 28: Line 49:
}}
}}
</div></div>
</div></div>
</div>
<div class="card"><div class="card-header bg-light"><h5><span class="fa fa-download">&nbsp;</span>Download</h5></div>
<div class="card-body mw-collapsible-content">
<span class="fa fa-download" title="BibTeX"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
|?author
|?=URL
|?Literature year=year
|?Literature type=type
|format=bibtex
|searchlabel=BibTeX
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
</div></div></div>


<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=Entry
|?Title
|?Inventory
|?Author
|?Publication date
|?Place
|?Annotator
|?Associated persons
|?Institution
|?Literature
|?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 class="col-md-7">
<div class="col-md-7">
<div class="panel panel-default mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="panel-heading"><div class="panel-title ">{{int:Document}}</div></div>
<div class="card-header bg-light"><h5>{{int:Document}}</h5></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask:[[Citation reference::+]]
{{#ask:[[Citation reference::~{{FULLPAGENAME}}*]]
  |mainlabel={{int:Document}}
  |mainlabel=
  |format=ul
  |format=ul
  |class=table table-hover table-condensed table-responsive sortable
|sort=Correspondence date
  |default=Currently no Literature is found.
  |class=table table-hover table-sm table-responsive sortable
  |default=Currently no {{int:Document}} has been found.
}}
}}
</div></div></div>
</div></div>
</div></div>
</div>
{{#default_form:Literature}}[[Category:Literature]]{{#set:Title Icon=Literature.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}}|FINA Bibliography={{{FINA Bibliography|}}} }}</includeonly>
{{#default_form:Literature}}[[Category:Literature]]{{#set:Title Icon=Literature.png}}</includeonly>

Latest revision as of 16:31, 14 February 2023

Template formatting Literature.