Difference between revisions of "Template:File checker"

From ArcheAge Wiki
Jump to: navigation, search
(Created page with "File:{{ #ifexist: File:{{{Name}}}.{{ifempty|{{{Ext|}}}|png}} | {{{Name}}}.{{ifempty|{{{Ext|}}}|png}}{{!}}{{ifempty|{{{Size|}}}|x150px}}{{!}}{{#if: {{{Style|}}}|{{{Style}}}...")
 
 
Line 1: Line 1:
 
[[File:{{ #ifexist: File:{{{Name}}}.{{ifempty|{{{Ext|}}}|png}}
 
[[File:{{ #ifexist: File:{{{Name}}}.{{ifempty|{{{Ext|}}}|png}}
 
   | {{{Name}}}.{{ifempty|{{{Ext|}}}|png}}{{!}}{{ifempty|{{{Size|}}}|x150px}}{{!}}{{#if: {{{Style|}}}|{{{Style}}}{{!}}}}{{{Desc}}}
 
   | {{{Name}}}.{{ifempty|{{{Ext|}}}|png}}{{!}}{{ifempty|{{{Size|}}}|x150px}}{{!}}{{#if: {{{Style|}}}|{{{Style}}}{{!}}}}{{{Desc}}}
   | No File.png{{!}}link=http://wiki.mabinogiworld.com/index.php?title=Special:Upload&wpDestFile={{urlencode|{{{Name}}}}}.{{ifempty|{{{Ext|}}}|png}}{{!}}{{ifempty|{{{UploadSize|}}}|{{{Size|}}}|x75px}}{{!}}{{{UploadDesc}}}
+
   | No File.png{{!}}link=http://wiki.archeagegame.com/index.php?title=Special:Upload&wpDestFile={{urlencode|{{{Name}}}}}.{{ifempty|{{{Ext|}}}|png}}{{!}}{{ifempty|{{{UploadSize|}}}|{{{Size|}}}|x75px}}{{!}}{{{UploadDesc}}}
 
}}]]<noinclude>
 
}}]]<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:10, 3 November 2014

{{{UploadDesc}}}

[edit]Template Documentation

Description

This template is to check to see if a given file has already been uploaded. If not, a placeholder image will be displayed requesting the reader to upload the file.

Parameters

Parameter Usage Important?
Name Name of the file to be checked. Do not include file extension yes
Ext The file extension of the file if it is not png, Default png no
Desc Tooltip description of the uploaded file yes
UploadDesc Tooltip description of what file needs to be uploaded yes
Size Size of the image when displayed. Default is x150px no
UploadSize Size of the upload icon when displayed. Default is x75px no
Style Set styles for the image like thumb. Separate styles with {{!}} no