|
|
(31 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <div class="center"><h1>Browse the catalogue for manuscripts</h1>
| | #REDIRECT [[Show:Manuscripts/Browse]] |
| <div class="btn-group" style="background-color:#875851; border-radius:5px; margin-bottom:10px;">{{#arraymap:A;Á;B;C;D;E;É;F;G;H;I;Í;J;K;L;M;N;O;Ó;Ö; P; Q; R; S; T; Þ;Ð; U; Ú;V; W; X; Y; Z;|;|@@@|{{#widget: Button v2
| |
| |href=/codecs/{{urlencode:{{FULLPAGENAME}}|WIKI}}?string=@@@
| |
| |title=@@@
| |
| |text=@@@
| |
| |class=btn btn-customredsoft btn-lg btn-alphabetic whiteagainstdark
| |
| |style=padding:10px 20px;
| |
| }}| }}</div>
| |
| </div>
| |
| <!-------------------->
| |
| {{#vardefine:@string|{{#switch:{{#urldecode:{{#urlget:string}}}}
| |
| |A=A;Á;
| |
| |B=B
| |
| |C=C
| |
| |D=D
| |
| |E=E;É
| |
| |F=F
| |
| |G=G
| |
| |#default={{#urldecode:{{#urlget:string}}}}
| |
| }}}}
| |
| <!----------------------->
| |
| <div class="row">
| |
| <div class="col-md-7 col-md-push-5">{{#if:{{#urlget:ms}}
| |
| |{{#vardefine:@ms|{{#urldecode:{{#urlget:ms}}}}}}<!--
| |
| -->{{#switch: {{#ask: [[{{#var:@ms}}]] [[Modification date::+]] |format=count }}
| |
| |0=<div class="h1 text-serif">''{{#var:@ms}}''</div>
| |
| {{Instruction|1={{Fa|ellipsis-h fa-fw}} Catalogue entry not (yet) available {{#ifingroup:user|{{#formlink:form=Manuscript |target={{#var:@ms}} |link text=({{Fa|plus fa-fw}} add?)}}}}
| |
| }}
| |
| |#default=<div class="h1 text-serif">''[[{{#var:@ms}}]]'' <br><small>{{Fa|chain fa-fw}} catalogue entry available</small></div>
| |
| <div>
| |
| {{Max chars |String={{#show: {{#var:@ms}} |?MS has description }} |Number=300 }}
| |
| </div>
| |
| }}
| |
| {{#ask: [[Has subobject::<q>[[Is item in MS::{{#var:@ms}}]] [[Subobject describes::Manuscript witness of a text]]</q>]] OR [[-MS item refers to text::<q>[[Is item in MS::{{#var:@ms}}]]</q>]]
| |
| |intro=<h3>Texts <small>indexed</small></h3>
| |
| |mainlabel=- |?
| |
| |format=template
| |
| |template=Format text query
| |
| |link=none
| |
| |limit=50
| |
| |searchlabel=
| |
| }}
| |
| {{#ifexpr: {{#ask: [[Has subobject::<q>[[Is item in MS::{{#var:@ms}}]] [[Subobject describes::Manuscript witness of a text]]</q>]] OR [[-MS item refers to text::<q>[[Is item in MS::{{#var:@ms}}]]</q>]] |format=count}} > 50
| |
| |{{Fa|ellipsis-v fa-fw}} {{Button
| |
| |Text=More {{Fa|chevron-right}}
| |
| |Link={{#var:@ms}}
| |
| |Href=
| |
| |Target=_self
| |
| |Class=<!--(default: btn btn-sm whiteagainstdark btn-customredsoft)-->
| |
| |Title=More...
| |
| }}
| |
| }}
| |
| {{Query manuscripts/bibliographical subjects
| |
| |Subject={{#var:@ms}}
| |
| }}
| |
| {{#switch: {{#ask: [[{{#var:@ms}}]] [[Modification date::+]] |format=count }}
| |
| |0=
| |
| |#default={{Web page identifiers |Page={{#var:@ms}} }}
| |
| }}
| |
| | |
| {{#ifingroup:sysop|
| |
| ------------------------------------------
| |
| <h3>Incoming properties</h3>
| |
| {{#ask: [[{{#var:@ms}}]]
| |
| |format=incoming
| |
| |template=Incomingprops
| |
| |default=''none retrieved''
| |
| |userparam={{#var:@ms}}
| |
| }}}}
| |
| |{{#if:{{#var:@string}}|{{Instruction|1=To visit any catalogue entry (if available), click the link. To see other results, click the icon {{Fa|search}}.
| |
| {{Query form/legend}}
| |
| }}}}
| |
| <!-- end of if var ms: --->}}
| |
| </div>
| |
| <div class="col-md-5 col-md-pull-7">{{Query form manuscripts/suggestions}}
| |
| {{#widget:Input GET
| |
| |page={{fullurl:Show:Browse manuscripts}}
| |
| |string={{#urldecode:{{#urlget:string}}}}
| |
| |inputclass=
| |
| |inputstyle=width:300px;
| |
| }}
| |
| <div class="container-fluid">
| |
| {{#if:{{#urlget:string}} |
| |
| {{#ask: {{#arraymap:{{#var:@string}}|;|xxx|[[Concept:All manuscripts]] [[~xxx*]] <!---OR [[MS has alternative identifier::+]] [[~xxx*]] --->
| |
| |
| |
| OR
| |
| }}
| |
| |format=list
| |
| |intro=<small> |outro=</small>
| |
| |sep=<div style="border:0.05em solid; margin-top:5px; margin-bottom:5px;"></div>
| |
| |limit=999
| |
| |link=none
| |
| |template=Format manuscript query
| |
| }}</div>
| |
| }}
| |
| </div>
| |
| </div>
| |
| | |
| | |
| {{#ifingroup:sysop|
| |
| ;List
| |
| {{Show asset|Template:Format manuscript query}}
| |
| : to do: search suggestions + alternative identifiers such as LL
| |
| : emphasis for selected ms
| |
| : display title for existing entries
| |
| | |
| ;MS
| |
| ...
| |
| | |
| }}
| |