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 8: | Line 8: | ||
{| class="wikitable" | {| class="wikitable" | ||
! <code>Media:</code> | ! <code>Media:</code> | ||
| Prevents file from showing up in [[Special:UnusedFiles]] but no file page link. | | Prevents file from showing up in [[Special:UnusedFiles]] but no file page link is provided. | ||
|- | |- | ||
! <code>:File:</code> | ! <code>:File:</code> |
Revision as of 15:33, January 1, 2017
Usage
Template idea for the prefix "Media:"
Media: vs. :File:
Both prefixes display a link instead of the image itself but there are some key differences:
Media:
|
Prevents file from showing up in Special:UnusedFiles but no file page link is provided. |
---|---|
:File:
|
Does not prevent file from showing up in Special:UnusedFiles but file page link is provided. |
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|}}
- test
{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|test}}
Other
Uses {{!}}
.