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><noinclude>
 
<includeonly>[{{fullurl:{{PAGENAME}}}}#/media/{{urlencode:{{{1}}}|wiki}} {{{2}}}]</includeonly><noinclude>
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 always open in [[mediawikiwiki:Extension:Media Viewer|Media Viewer]], per https://www.mediawiki.org/wiki/Help:Extension:Media_Viewer.
 
==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 12:08, 4 November 2018

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

Usage

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