Template:EmbedVideo Gif Frame: Difference between revisions

From Space Station 14 Wiki
(Created page with "<includeonly><div style=" background-color: var(--bg-color-light-x2); border-color: var(--border-color); "><!-- --><div style=" border: 1px solid var(--border-color-light); width: fit-content; margin: 0.75em; margin-bottom: 0.5em; ">[[File:{{{1}}}|gif|{{{dims|}}}]]</div><!-- -->{{#if: {{{caption|}}} |<div style=" padding: 0 0.75em 0.75em 0.75em; ">{{{caption}}}</div><!-- -->}}<!-- --></d...")
 
No edit summary
Line 2: Line 2:
     background-color: var(--bg-color-light-x2);
     background-color: var(--bg-color-light-x2);
     border-color: var(--border-color);
     border-color: var(--border-color);
    width: fit-content;
    padding: 0.75em;
"><!--
"><!--
     --><div style="
     --><div style="
         border: 1px solid var(--border-color-light);  
         border: 1px solid var(--border-color-light);  
         width: fit-content;
         width: fit-content;
        margin: 0.75em;
        margin-bottom: 0.5em;
     ">[[File:{{{1}}}|gif|{{{dims|}}}]]</div><!--
     ">[[File:{{{1}}}|gif|{{{dims|}}}]]</div><!--
     -->{{#if: {{{caption|}}}
     -->{{#if: {{{caption|}}}
         |<div style="
         |<div style="
             padding: 0 0.75em 0.75em 0.75em;
             margin-top: 0.5em;
         ">{{{caption}}}</div><!--
         ">{{{caption}}}</div><!--
     -->}}<!--
     -->}}<!--

Revision as of 19:29, 14 August 2024

Template documentation
view or edit this documentation about template documentation

Examples

{{EmbedVideo Gif Frame
| PlasmaChamberGif.mp4
| dims = 200px
| caption = Plasma
}}

An emulation of a "frame"-type image file, but for videos, with the purpose of making gifs out of them.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Video file1

no description

Filerequired
Captioncaption

An optional caption.

Linesuggested
Dimensionsdims

See the "File:" docs for details.

Linesuggested