Editing Template:Gain/doc
From Fallen London Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
=== Parameter list === | === Parameter list === | ||
− | *'''image''', this parameter is used to set a custom image. Its value is the image name to be used, including the .png postfix but without the File: prefix. Please note that this should be the small version of the file (so ending in small.png). Also note that this will now only apply to the image at the front; changing the image of later {{tl|IL}}'s is no longer supported | + | *'''image''', this parameter is used to set a custom image. Its value is the image name to be used, including the .png postfix but without the File: prefix. Please note that this should be the small version of the file (so ending in small.png). Also note that this will now only apply to the image at the front; changing the image of later {{tl|IL}}'s is no longer supported. |
*'''<nowiki>{{{1}}}</nowiki>''', ie the first unnamed parameter defines the quality or item that is being increased, with its value being the full pagename of this quality. | *'''<nowiki>{{{1}}}</nowiki>''', ie the first unnamed parameter defines the quality or item that is being increased, with its value being the full pagename of this quality. | ||
*'''<nowiki>{{{2}}}</nowiki>''', ie the second unnamed parameter defines the amount by which the first unnamed parameter. Its value is the numerical increase, including either the x or the CP postfix. Do not use this parameter if one of the following two parameters are used. | *'''<nowiki>{{{2}}}</nowiki>''', ie the second unnamed parameter defines the amount by which the first unnamed parameter. Its value is the numerical increase, including either the x or the CP postfix. Do not use this parameter if one of the following two parameters are used. | ||
Line 41: | Line 41: | ||
"image": { | "image": { | ||
"label": "Image filename", | "label": "Image filename", | ||
− | "description": "Changes the image link displayed before the text | + | "description": "Changes the image link displayed before the text.", |
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"default": "The default image for a quality is stored in Property:Has icon." | "default": "The default image for a quality is stored in Property:Has icon." |