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 7: Line 7:


{| class="wikitable"
{| class="wikitable"
! Prefix
! [[Special:UnusedFiles]] prevention
! Provides a file page link
|-
! <code>Media:</code>
! <code>Media:</code>
| Prevents file from showing up in [[Special:UnusedFiles]] but no file page link is provided.
| [[File:Check mark.svg|25px]]
| [[File:X mark.svg|25px]]
|-
|-
! <code>:File:</code>
! <code>:File:</code>
| Does not prevent file from showing up in [[Special:UnusedFiles]] but file page link is provided.
| [[File:X mark.svg|25px]]
| [[File:Check mark.svg|25px]]
|}
|}



Revision as of 15:37, 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 Special:UnusedFiles prevention Provides a file page link
Media: Check mark.svg X mark.svg
:File: X mark.svg Check mark.svg

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

Other

Uses {{!}}.