Template:Person image: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:{{{Image}}}|{{ #if: {{{ | [[File:{{{Image}}}|{{ #if: {{{Width|}}}|{{{Width}}}px|100px }}|{{ #if: {{{Caption|}}}|{{{Caption}}}|Please Include a Caption }}]]<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:32, 21 June 2023
[[File:{{{Image}}}|100px|Please Include a Caption]]
This is a template for adding an image to the {{Infobox Creator}} or {{Infobox Company}}.
Usage
When using it, copy the text below and paste it in the infobox under the |Image=
parameter. Do not delete the items that do not have information, leave them as they are.
Parameters
|Image=
- The creator or company's picture, format should be Romaji Name. Do not include the
File:
,[[]]
, or anything else. |Width=
- This is used for an image that is smaller than the default 100px width. You only need to enter the number. Example: 50 or 75.
|Caption=
- Put the creator or company's Romaji name (for creators always format them
Family Name First Name
) here. This will also be used for theAlt Text
which is rendered if either the referenced image cannot be downloaded and embedded, or if the support media must use the alternative description text (e.g. when using a Braille reader or with accessibility options set by the user in its browser). PLEASE ALWAYS INCLUDE THIS! Example: Intercommunications
TemplateData
Displays an image in a creator or company infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Image | The file name of the image. | String | required |
Width | Width | The width of the image if it is smaller then the default.
| Number | optional |
Cation | Caption | The name of the creator, or company in Romaji. | String | required |