Template:Kolimage: Difference between revisions
imported>JRSiebz No edit summary |
imported>Quietust mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="boilerplate" style="margin:0.5em auto; width:80%; clear:both; background-color:#f7f8ff; border:2px solid #8888aa; padding:4px; font-size:85%;min-height:100px; vertical-align:center;" id="imageLicense"> | <includeonly><div class="boilerplate" style="margin:0.5em auto; width:80%; clear:both; background-color:#f7f8ff; border:2px solid #8888aa; padding:4px; font-size:85%;min-height:100px; vertical-align:center;" id="imageLicense"> | ||
<div style="float:left" id="imageLicenseIcon">[[ | <div style="float:left" id="imageLicenseIcon">[[File:leftswordguy.gif]]</div> | ||
<div style="text-align:left;margin-left:84px" id="imageLicenseText"> | <div style="text-align:left;margin-left:84px" id="imageLicenseText"> | ||
This image is property of [http://www.kingdomofloathing.com '''The Kingdom of Loathing'''], copyright [http://asymmetric.net/ Asymmetric Publications, LLC]. | This image is property of [http://www.kingdomofloathing.com '''The Kingdom of Loathing'''], copyright [http://asymmetric.net/ Asymmetric Publications, LLC]. | ||
Line 6: | Line 6: | ||
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 /> | 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 /> | <br /> | ||
{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist: | {{#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:{{localurl:Media:{{PAGENAME}}}}|/thekolwiki/images/a/ad/{{PAGENAME}}|<br />'''If you do not see this image, it is likely being blocked by an advertisement filter.'''[[Category:Ad-filtered Images]]}} | {{#ifeq:{{localurl:Media:{{PAGENAME}}}}|/thekolwiki/images/a/ad/{{PAGENAME}}|<br />'''If you do not see this image, it is likely being blocked by an advertisement filter.'''[[Category:Ad-filtered Images]]}} | ||
</div> | </div> |
Revision as of 16:13, 17 January 2012
<div style="float:left" id="imageLicenseIcon">[[File:leftswordguy.gif]]</div> <div style="text-align:left;margin-left:84px" id="imageLicenseText"> This image is property of [http://www.kingdomofloathing.com '''The Kingdom of Loathing'''], copyright [http://asymmetric.net/ Asymmetric Publications, LLC]. 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:{{localurl:Media:{{PAGENAME}}}}|/thekolwiki/images/a/ad/{{PAGENAME}}|<br />'''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.