The SpongeBob Wiki has a guideline regarding the use of image galleries — collections of episode screenshots are no longer allowed on galleries due to potential fair use violations.
Template:Media link
From the SpongeBob Wiki, the SpongeBob encyclopedia
Jump to navigationJump to search
Usage[edit]
Template idea for the prefix Media:
.
Media: vs. :File:[edit]
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 | Provides a special link to Special:Upload if red link is detected |
---|---|---|---|---|
Media:
|
Media:Spy Buddies title card.png Media:aeilsdfilasjdl.png |
|||
:File:
|
File:Spy Buddies title card.png File:aeilsdfilasjdl.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[edit]
{{media link}} testing for bugs:
MediaWiki parsing | Code |
---|---|
File:Spy Buddies title card.png | {{media link|Spy Buddies title card.png}}
|
File:Spy Buddies title card.png | {{media link|Spy Buddies title card.png|}}
|
test | {{media link|Spy Buddies title card.png|test}}
|
[[Media:|test]] | {{media link||test}}
|
[[Media:|File:]] | {{media link||}}
|
[[Media:|File:]] | {{media link|}}
|
[[Media:{{{1}}}|File:{{{1}}}]] | {{media link}}
|
File:aeilsdfilasjdl.png | {{media link|aeilsdfilasjdl.png}}
|
File:aeilsdfilasjdl.png | {{media link|aeilsdfilasjdl.png|}}
|
test | {{media link|aeilsdfilasjdl.png|test}}
|
Other[edit]
Uses {{!}}. Also hides media prefix usage with <span> tag and a simple CSS code. Special code implemented if a red link results from the file string specified.