Difference between revisions of "Template:ScratchImg"

From Arks-Visiphone
Jump to navigation Jump to search
Line 4: Line 4:
 
<div class="modal-dialog" role="document">
 
<div class="modal-dialog" role="document">
 
<div class="modal-content">
 
<div class="modal-content">
<div class="modal-body">
+
<div class="modal-body mx-auto">
[[File:{{#replace: {{#replace: {{{2}}}| |}}|'|}}|class="img-fluid mx-auto"|link=]]
+
[[File:{{#replace: {{#replace: {{{2}}}| |}}|'|}}|class="img-fluid"|link=]]
</div>
 
<div class="modal-footer">
 
<span class="text-left muted">{{{2}}}</span>
 
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 13:03, 17 April 2020

[[File:{{{2}}}|class="img-fluid"|128px|link=]]

How to use:

Template:
{{ScratchImg|UniqueFilename|Filename.jpg/png}}

Template usage example:
{{ScratchImg|VoidRecorder|UIFashionVoidRecorder.png}}

Result:

UIFashionVoidRecorder.png