Template:Imageexists: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{ #if: {{{width|}}} | {{!}}{{{width}}} | }}{{ #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | File:NoImage.p...")
 
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{
<includeonly>{{#ifexist: Media:{{{file}}} |{{#if: {{{property|}}} | [[{{{property|}}}::File:{{{file}}}|]] [[{{{property|}}} link::{{filepath:{{{file}}}}}|]] |}}[[File:{{{file}}}{{
  #if: {{{width|}}} | {{!}}{{{width}}} | }}{{
  #if: {{{maxwidth|}}} | {{#ifexpr: {{#mediawidth:File:{{{file}}}}}>={{{maxwidth}}} | {{!}}{{{maxwidth}}}px |}}|}}{{
  #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: {{{link|}}} | {{!}}link={{{link}}} |}}{{
Lovingly lifted from TCRF.</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>}}</includeonly><noinclude>
Lovingly lifted from TCRF, somewhat edited.</noinclude>

Latest revision as of 23:50, January 9, 2023

Lovingly lifted from TCRF, somewhat edited.