Difference between revisions of "Template:MV"

From Disobiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
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:American_Ninja_4_The_Annihilation-1990-Poster-1.jpg|American Ninja 4}}</pre>
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 21:09, 3 December 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:American_Ninja_4_The_Annihilation-1990-Poster-1.jpg|American Ninja 4}}