This wiki is still a major work in progress, and a lot is being worked on. Please be patient.Newmaker

Difference between revisions of "Template:Brightened"

From Petscop
Jump to: navigation, search
(Created page with "This is a brightened version of [[:File:{{{1}}}]]. <includeonly>Category:Brightened images</includeonly><noinclude> For images that were a brightened version of a differ...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This is a brightened version of [[:File:{{{1}}}]].
+
This is a brightened version of [[:File:{{#if: {{{1|}}} | {{{1}}} | {{#ifexist:{{#replace:File:{{PAGENAME}}|-Bright.png|.png}} | {{#replace:{{PAGENAME}}|-Bright.png|.png}} | {{{1}}}}}}}]].<includeonly>[[Category:Brightened images]]</includeonly><noinclude>
 
 
<includeonly>[[Category:Brightened images]]</includeonly><noinclude>
 
  
 
For images that were a brightened version of a different image.
 
For images that were a brightened version of a different image.
  
 
Use the filename without the <tt>File:</tt> prefix.
 
Use the filename without the <tt>File:</tt> prefix.
 +
 +
Alternatively, if your files are <tt>File:Image.png</tt> and <tt>File:Image-Bright.png</tt>, you can just leave it blank and it'll auto-link it instead. Wow!
  
 
[[Category:Categorization templates]]
 
[[Category:Categorization templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:40, 22 November 2018

This is a brightened version of [[:File:{{{1}}}]].

For images that were a brightened version of a different image.

Use the filename without the File: prefix.

Alternatively, if your files are File:Image.png and File:Image-Bright.png, you can just leave it blank and it'll auto-link it instead. Wow!