Template:Imageexists: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#ifexist: File:{{{file}}} |{{#if: {{{property|}}} | [[{{{property|}}}::File:{{{file}}}|]] |}}File:{{{file}}}{{ #if: {{{maxwidth|}}} | {{#ifexpr: {{#mediawidt...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexist: File:{{{file}}} |{{#if: {{{property|}}} | [[{{{property|}}}::File:{{{file}}}|]] |}}[[File:{{{file}}}{{ | <includeonly> | ||
{{#ifexist: File:{{{file}}} |{{#if: {{{property|}}} | [[{{{property|}}}::File:{{{file}}}|]] |}}[[File:{{{file}}}{{ | |||
#if: {{{maxwidth|}}} | {{#ifexpr: {{#mediawidth:File:{{{file}}}}}>={{{maxwidth}}} | {{!}}{{{maxwidth}}}px |}}|}}{{ | #if: {{{maxwidth|}}} | {{#ifexpr: {{#mediawidth:File:{{{file}}}}}>={{{maxwidth}}} | {{!}}{{{maxwidth}}}px |}}|}}{{ | ||
#if: {{{link|}}} | {{!}}link={{{link}}} |}}{{ | #if: {{{link|}}} | {{!}}link={{{link}}} |}}{{ | ||
#if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:NoImage.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]] {{#if: {{{missingcat|}}} | [[Category:{{{missingcat}}}|{{PAGENAME}}]] | }}<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}}</includeonly><noinclude> | #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:NoImage.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]] {{#if: {{{missingcat|}}} | [[Category:{{{missingcat}}}|{{PAGENAME}}]] | }}<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}} | ||
Lovingly lifted from TCRF, somewhat edited.</noinclude> | </includeonly> | ||
<noinclude><span style="display: none;">Lovingly lifted from TCRF, somewhat edited.</span></noinclude> |
Revision as of 02:25, 11 January 2020