Template:Repository Row: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Repository_Row/styles.css" />
<div class="irlreprow">
<div class="irlreprow">
<div class="irlreprowtop"><span class="irlreprowtitle">{{#replace:{{{Title|}}}|_|&nbsp;}}</span>{{#if:{{{URL|}}}| {{#ifeq:{{{Type|}}}|PDF|[[File:icon-pdf.png|24px|frameless|bottom|Open Document|link={{{URL|}}}]] | [{{{URL|}}} Link] }}|}} <span class="irlrepbutton mw-customtoggle-{{{_rowID|}}}">Info</span></div>
<div class="irlreprowtop"><span class="irlreprowtitle">{{#replace:{{{Title|}}}|_|&nbsp;}}</span>
<span class="irlreprowlink mw-customtoggle-{{{_rowID|}}}">Details</span><span class="irlreprowlink">{{#if:{{{ArchiveURL|}}}| [{{{ArchiveURL|}}} View] |}}</span></div>
<div class="irlreprowmiddle mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{_rowID|}}}">
<div class="irlreprowmiddle mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{_rowID|}}}">
{{#if:{{{Image|}}} |<div class="irlrepimage">[[File:{{{Image|}}}|144px|frameless|right|alt=View {{{Title|}}}|link={{{URL|}}} ]]</div>}}
{{#if:{{{Image|}}} |<div class="irlreprowimage">[[File:{{{Image|}}}|144px|frameless|right|alt=View {{{Title|}}}|link={{{URL|}}} ]]</div>}}
{{#if:{{{Description|}}}| <div class="irlrepdesc">{{{Description|}}}</div> |}}
{{#if:{{{Description|}}}| <div class="irlrepdesc">{{{Description|}}}</div> |}}
<div class="irlreprowdetails">{{#if:{{{Count|}}} | , {{{Count|}}} |}}{{#if:{{{Size|}}} | , {{{Size|}}} |}}) |}}{{#if:{{{Publication|}}}| Publication: {{{Publication|}}} |}}{{#if:{{{Author|}}}|&nbsp;{{!}} Author: {{{Author|}}} |}}{{#if:{{{Publisher|}}}| &nbsp;{{!}} Publisher: {{{Publisher|}}} |}}{{#if:{{{Published|}}}| &nbsp;{{!}} Published Date: {{#time: F j, Y|{{{Published|}}} }} |}}{{#if:{{{Archived|}}}| &nbsp;{{!}} Archived Date: {{#time: F j, Y|{{{Archived|}}} }} |}}{{#if:{{{Type|}}} | &nbsp;{{!}} ({{{Type|}}}</div></div></div></includeonly><noinclude>This is the "Repository Row" template. It displays the Repository table.</noinclude>
<div class="irlreprowdetails">
{{#if:{{{Publication|}}}| Publication: {{{Publication|}}} |}}{{#if:{{{Author|}}}|&nbsp;{{!}} Author: {{{Author|}}} |}}{{#if:{{{Publisher|}}}| &nbsp;{{!}} Publisher: {{{Publisher|}}} |}}{{#if:{{{Published|}}}| &nbsp;{{!}} Published Date: {{#time: F j, Y|{{{Published|}}} }} |}}{{#if:{{{Archived|}}}| &nbsp;{{!}} Archived Date: {{#time: F j, Y|{{{Archived|}}} }} |}}{{#if:{{{Type|}}} | &nbsp;{{!}} ({{{Type|}}}{{#if:{{{Count|}}} | , {{{Count|}}} |}}{{#if:{{{Size|}}} | , {{{Size|}}} |}}) |}}</div></div></div></includeonly><noinclude>This is the "Repository Row" template. Cargo uses it to display the Repository.</noinclude>

Latest revision as of 18:15, October 18, 2020

This is the "Repository Row" template. Cargo uses it to display the Repository.