Difference between revisions of "Template:Resources list item"
From Earth Science Information Partners (ESIP)
Line 15: | Line 15: | ||
<li class="ml-4">{{#switch:{{{Resources type|}}} | <li class="ml-4">{{#switch:{{{Resources type|}}} | ||
|Picture | |Picture | ||
− | |File = [[media:{{{File|}}}|{{{Resources text|}}}]] | + | |File = <i class="fas fa-file"></i> [[media:{{{File|}}}|{{{Resources text|}}}]] |
|URL | |URL | ||
|Video = <i class="fas fa-video"></i> [{{{URL|}}} {{{Resources text|}}}] | |Video = <i class="fas fa-video"></i> [{{{URL|}}} {{{Resources text|}}}] | ||
− | |Wiki = [[{{{Wikipage|}}}|{{{Resources text|{{{Wikipage|}}}}}}]] | + | |Wiki = <i class="fas fa-link"></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|}}} |
Revision as of 05:04, July 21, 2020
Resources item formatting and semantics.