Difference between revisions of "Template:News attachment"
From Earth Science Information Partners (ESIP)
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#switch: {{{News attachment type|}}} |
− | {{#switch: {{{News attachment type|}}} | + | |Picture = <div class="card"> |
− | |Picture = | + | <div class="card-body">[[Image:{{{File|}}}|class=img-fluid]] |
− | <div class="card"> | + | {{#if: {{{Link text|}}}| |
− | <div class="card- | + | <div class="mt-2">{{{Link text|}}}</div> |
+ | }} | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
+ | |File = <div>[[media:{{{File|}}}|{{{Link text|{{{File|}}}}}}]]</div> | ||
+ | |URL = <div>[{{{URL|}}} {{{Link text|{{{URL|}}}}}}]</div> | ||
+ | |Video = <div>EmbedVideo extension is required</div> | ||
+ | |Wiki = <div>[[{{{Wikipage|}}}|{{{Link text|{{{Wikipage|}}}}}}]]</div> | ||
+ | }}</includeonly><noinclude> | ||
+ | An attached item. | ||
+ | </noinclude> |
Latest revision as of 08:54, July 17, 2020
An attached item.