Difference between revisions of "Template:MV"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>[{{fullurl:{{PAGENAME}}}}#/media/{{urlencode:{{{1}}|wiki}} {{{2}}}]</includeonly>
 
<includeonly>[{{fullurl:{{PAGENAME}}}}#/media/{{urlencode:{{{1}}|wiki}} {{{2}}}]</includeonly>
Creates a link to a file that will open in [[mediawikiwiki:Extension:Media Viewer|Media Viewer]], per https://www.mediawiki.org/wiki/Help:Extension:Media_Viewer.
+
Creates a link to a file that will open in [[mediawikiwiki:Extension:Media Viewer|Media Viewer]], per https://www.mediawiki.org/wiki/Help:Extension:Media_Viewer#How_can_I_link_to_an_image_from_Wikitext?.
 
==Usage==
 
==Usage==
 
<pre>{{MV|File:File:American_Ninja_4_The_Annihilation-1990-Poster-1.jpg|American Ninja 4}}</pre>
 
<pre>{{MV|File:File:American_Ninja_4_The_Annihilation-1990-Poster-1.jpg|American Ninja 4}}</pre>
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 11:37, 4 November 2018

Creates a link to a file that will open in Media Viewer, per https://www.mediawiki.org/wiki/Help:Extension:Media_Viewer#How_can_I_link_to_an_image_from_Wikitext?.

Usage

{{MV|File:File:American_Ninja_4_The_Annihilation-1990-Poster-1.jpg|American Ninja 4}}