There are currently 0 stubs. You can help us by expanding these articles!
Template:Media link
From the Conker Wiki, the Conker encyclopedia
Jump to navigationJump to search
Usage
Template idea for the prefix Media:
. The template was originally from the Super Mario Wiki.
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 | Provides a special link to Special:Upload if red link is detected |
---|---|---|---|---|
Media:
|
Media:Conker's House.png Media:aeilsdfilasjdl.png |
|||
:File:
|
File:Conker's House.png File:aeilsdfilasjdl.png |
That's what this template addresses by bring both together. This template should only be used for main articles.
Usage
MediaWiki parsing | Code |
---|---|
File:Conker's House.png | {{media link|Conker's House.png}}
|
File:Conker's House.png | {{media link|Conker's House.png|}}
|
test | {{media link|Conker's House.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
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.