Difference between revisions of "Template:News attachment"

From Earth Science Information Partners (ESIP)
(Created page with "<includeonly>{{#switch: {{{News attachment type|}}} |Picture = <div class="card"> <div class="card-img-top">[[Image:{{{Picture|}}}|class=img-fluid]]</div> </div> |File = *...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{News attachment type|}}}
 
<includeonly>{{#switch: {{{News attachment type|}}}
|Picture =  
+
|Picture = <div class="card">
<div class="card">
+
<div class="card-body">[[Image:{{{File|}}}|class=img-fluid]]
<div class="card-img-top">[[Image:{{{Picture|}}}|class=img-fluid]]</div>
+
{{#if: {{{Link text|}}}|
 +
<div class="mt-2">{{{Link text|}}}</div>
 +
}}
 
</div>
 
</div>
|File    =
 
* [[media:{{{File|}}}|{{{Link text|{{{File|}}}}}}]]
 
|URL    =
 
* [{{{URL|}}} {{{Link text|{{{URL|}}}}}}]
 
|Video  =
 
* EmbedVideo extension is required
 
|Wiki    = {{#switch: {{{Inclusion|}}}
 
  |Insert  =
 
{{:{{{Wikipage|}}}}}
 
  |#default=
 
* [[{{{Wikipage|}}}|{{{Link text|{{{Wikipage|}}}}}}]]
 
}}
 
}}
 
 
</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.