User:Wildgoosespeeder/MediaLink: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
===Media: vs. :File:=== | ===Media: vs. :File:=== | ||
Both prefixes display a link instead of the image itself but there are some key differences: | Both prefixes display a link instead of embedding the image itself but there are some key differences: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 28: | Line 28: | ||
*{{{{FULLPAGENAME}}|Alternate screen.png}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png}}</nowiki></code> | *{{{{FULLPAGENAME}}|Alternate screen.png}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png}}</nowiki></code> | ||
*{{{{FULLPAGENAME}}|Alternate screen.png|}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|}}</nowiki></code> | *{{{{FULLPAGENAME}}|Alternate screen.png|}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|}}</nowiki></code> | ||
*{{{{FULLPAGENAME}}||test}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink||test}}</nowiki></code> | |||
*{{{{FULLPAGENAME}}|Alternate screen.png|test}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|test}}</nowiki></code> | *{{{{FULLPAGENAME}}|Alternate screen.png|test}} <code><nowiki>{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|test}}</nowiki></code> | ||
Revision as of 16:10, January 1, 2017
Usage
Template idea for the prefix "Media:"
Media: vs. :File:
Both prefixes display a link instead of embedding the image itself but there are some key differences:
Prefix | Sample | Special:UnusedFiles prevention | Provides a file page link |
---|---|---|---|
Media:
|
Media:Alternate screen.png | ||
:File:
|
File:Alternate screen.png |
That's what this template addresses by bring the best of both worlds together. This template should be used in main articles only!
Use Cases
- File:Alternate screen.png
{{User:Wildgoosespeeder/MediaLink|Alternate screen.png}}
- File:Alternate screen.png
{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|}}
- [[:File:|test]]
{{User:Wildgoosespeeder/MediaLink||test}}
- test
{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|test}}
Other
Uses {{!}}
.