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" | ||
! Prefix | ! Prefix | ||
! Sample | |||
! [[Special:UnusedFiles]] prevention | ! [[Special:UnusedFiles]] prevention | ||
! Provides a file page link | ! Provides a file page link | ||
|- | |- | ||
! <code>Media:</code> | ! <code>Media:</code> | ||
| [[Media:Alternate screen.png]] | |||
| [[File:Check mark.svg|25px]] | | [[File:Check mark.svg|25px]] | ||
| [[File:X mark.svg|25px]] | | [[File:X mark.svg|25px]] | ||
|- | |- | ||
! <code>:File:</code> | ! <code>:File:</code> | ||
| [[:File:Alternate screen.png]] | |||
| [[File:X mark.svg|25px]] | | [[File:X mark.svg|25px]] | ||
| [[File:Check mark.svg|25px]] | | [[File:Check mark.svg|25px]] |
Revision as of 15:41, 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:
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|}}
- test
{{User:Wildgoosespeeder/MediaLink|Alternate screen.png|test}}
Other
Uses {{!}}
.