Difference between revisions of "Template:Resources list item"
From Earth Science Information Partners (ESIP)
Line 13: | Line 13: | ||
|Has comment={{{Comment|}}} | |Has comment={{{Comment|}}} | ||
}} | }} | ||
− | <div> | + | <div>{{#switch:{{{Resources type|}}} |
− | |||
− | |||
− | |||
− | |||
|Picture | |Picture | ||
|File = [[media:{{{File|}}}|{{{Resources text|}}}]] | |File = [[media:{{{File|}}}|{{{Resources text|}}}]] | ||
Line 24: | Line 20: | ||
|Wiki = [[{{{Wikipage|}}}|{{{Resources text|{{{Wikipage|}}}}}}]] | |Wiki = [[{{{Wikipage|}}}|{{{Resources text|{{{Wikipage|}}}}}}]] | ||
}}{{#if: {{{Author|}}} | }}{{#if: {{{Author|}}} | ||
− | + | |by {{#arraymap:{{{Author|}}}|;|@@@|@@@|, }} {{#if: {{{Has date|}}} | |
− | |{{#if: {{{Has date|}}} | + | |({{#time: Y|{{{Has date|}}} }})  |
+ | }} | ||
+ | |{{#if: {{{Has date|}}} | ||
|, {{#time: Y|{{{Has date|}}} }})  | |, {{#time: Y|{{{Has date|}}} }})  | ||
}} | }} | ||
− | + | }} {{#if: {{{Comment|}}} | |
|{{#info: {{{Comment|}}} }} | |{{#info: {{{Comment|}}} }} | ||
}}</div></includeonly><noinclude> | }}</div></includeonly><noinclude> | ||
Resources item formatting and semantics. | Resources item formatting and semantics. | ||
</noinclude> | </noinclude> |
Revision as of 03:31, July 21, 2020
Resources item formatting and semantics.