Difference between revisions of "Template:Resources list item"
From Earth Science Information Partners (ESIP)
Line 18: | Line 18: | ||
|URL = <i class="fas fa-link text-muted"></i> [{{{URL|}}} {{{Resources text|}}}] | |URL = <i class="fas fa-link text-muted"></i> [{{{URL|}}} {{{Resources text|}}}] | ||
|Video = <i class="fas fa-video text-muted"></i> [{{{URL|}}} {{{Resources text|}}}] | |Video = <i class="fas fa-video text-muted"></i> [{{{URL|}}} {{{Resources text|}}}] | ||
− | |Wiki = <i class="fas fa-quote-left text-muted"></i> [[{{{Wikipage|}}}|{{{Resources text|{{{Wikipage|}}}}}}]] | + | |Wiki = <i class="fas fa-quote-left text-muted"></i> [[{{{Wikipage|}}}|{{{Resources text|{{{Wikipage|}}}}}}]] |
}} <i class="text-muted">{{#if: {{{Author|}}} | }} <i class="text-muted">{{#if: {{{Author|}}} | ||
|by {{#arraymap:{{{Author|}}}|;|@@@|@@@|, }} {{#if: {{{Has date|}}} | |by {{#arraymap:{{{Author|}}}|;|@@@|@@@|, }} {{#if: {{{Has date|}}} | ||
Line 25: | Line 25: | ||
|{{#if: {{{Has date|}}} | |{{#if: {{{Has date|}}} | ||
|, {{#time: Y|{{{Has date|}}} }}  | |, {{#time: Y|{{{Has date|}}} }}  | ||
+ | |{{#ifeq: {{{Resources type|}}}|Wiki|, {{#show: {{{Wikipage|}}}|?Modification date#-F[M j, Y]}}}} | ||
}} | }} | ||
}}</i> {{#if: {{{Comment|}}} | }}</i> {{#if: {{{Comment|}}} |
Revision as of 05:22, July 21, 2020
Resources item formatting and semantics.