Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShowImage: Difference between revisions

Template page
Created page with "<includeonly>{{SERVER}}{{SCRIPTPATH}}/imageproxy/{{#invoke:ImageProxy|encode|{{{1}}}}}.jpg</includeonly><noinclude> == Usage == This template takes an extensionless image URL and converts it into a special URL that MediaWiki can render as an inline image. === Syntax === <pre> {{ShowImage|url_of_the_image}} </pre> === Example === To generate the link for `https://tmnf.exchange/trackshow/2233/image/1`, use this template: <pre> {{ShowImage|https://tmnf.exchange/trackshow/..."
 
No edit summary
 
Line 9: Line 9:


=== Example ===
=== Example ===
To generate the link for `https://tmnf.exchange/trackshow/2233/image/1`, use this template:
To generate the image for `https://tmnf.exchange/trackshow/2233/image/1`, use this template:
<pre>
<pre>
{{ShowImage|https://tmnf.exchange/trackshow/2233/image/1}}
{{ShowImage|https://tmnf.exchange/trackshow/2233/image/1}}

Latest revision as of 20:24, 14 August 2025

Usage[edit]

This template takes an extensionless image URL and converts it into a special URL that MediaWiki can render as an inline image.

Syntax[edit]

{{ShowImage|url_of_the_image}}

Example[edit]

To generate the image for `https://tmnf.exchange/trackshow/2233/image/1`, use this template:

{{ShowImage|https://tmnf.exchange/trackshow/2233/image/1}}

Gives:

aHR0cHM6Ly90bW5mLmV4Y2hhbmdlL3RyYWNrc2hvdy8yMjMzL2ltYWdlLzE=.jpg