Template:Kolimage: Difference between revisions
imported>Quietust {{#imageurl}} now includes the server hostname as well, making it pretty much identical to the builtin {{filepath}} |
imported>Fig bucket m reduce some of the unnecessary vertical space when the ad-filtered images notice appears |
||
Line 2: | Line 2: | ||
The original location of this image was:<br />[http://images.kingdomofloathing.com/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}} <nowiki>http://images.kingdomofloathing.com/</nowiki>{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}}]{{#if:{{{2|}}}|<br /><br />{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist:File:{{{2}}}|to avoid conflicting with [[:File:{{{2}}}|{{{2}}}]].|due to filename length restrictions.}}[[Category:Renamed In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add <nowiki>|renamed=1</nowiki>.[[Category:Misnamed In-game Images]]}}}}|{{#ifeq:{{{nodirs|0}}}|0|[[Category:Unchecked Images]]|}}}} | The original location of this image was:<br />[http://images.kingdomofloathing.com/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}} <nowiki>http://images.kingdomofloathing.com/</nowiki>{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}}]{{#if:{{{2|}}}|<br /><br />{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist:File:{{{2}}}|to avoid conflicting with [[:File:{{{2}}}|{{{2}}}]].|due to filename length restrictions.}}[[Category:Renamed In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add <nowiki>|renamed=1</nowiki>.[[Category:Misnamed In-game Images]]}}}}|{{#ifeq:{{{nodirs|0}}}|0|[[Category:Unchecked Images]]|}}}} | ||
{{#ifeq:{{filepath:{{PAGENAME}}}}|http://cdn.coldfront.net/thekolwiki/images/a/ad/{{PAGENAME}}| | {{#ifeq:{{filepath:{{PAGENAME}}}}|http://cdn.coldfront.net/thekolwiki/images/a/ad/{{PAGENAME}}|'''If you do not see this image, it is likely being blocked by an advertisement filter.'''[[Category:Ad-filtered Images]]}}</div></div>[[Category:In-game Images]]</includeonly> | ||
<noinclude> | <noinclude> | ||
{{prot high-use}} | {{prot high-use}} |
Revision as of 21:11, 20 July 2013
The original location of this image was:<br />[http://images.kingdomofloathing.com/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}} <nowiki>http://images.kingdomofloathing.com/</nowiki>{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}}]{{#if:{{{2|}}}|<br /><br />{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist:File:{{{2}}}|to avoid conflicting with [[:File:{{{2}}}|{{{2}}}]].|due to filename length restrictions.}}[[Category:Renamed In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add <nowiki>|renamed=1</nowiki>.[[Category:Misnamed In-game Images]]}}}}|{{#ifeq:{{{nodirs|0}}}|0|[[Category:Unchecked Images]]|}}}} {{#ifeq:{{filepath:{{PAGENAME}}}}|http://cdn.coldfront.net/thekolwiki/images/a/ad/{{PAGENAME}}|'''If you do not see this image, it is likely being blocked by an advertisement filter.'''[[Category:Ad-filtered Images]]}}</div></div>[[Category:In-game Images]]
Usage
{{kolimage|directory/subdirectory|filename.gif}}
Optional parameter:
- renamed - specify 1 if the image was intentionally renamed during upload to avoid conflicting with an existing image.
- nodirs - specify 1 if the image has no directories other than the base image directory to avoid conflicting with Category:Unchecked Images, which lists images which haven't had their filenames separated out to check for renaming.