Template:Person image/doc: Difference between revisions
Jump to navigation
Jump to search
m (Penguinplushie moved page Template:Person Image/doc to Template:Person image/doc without leaving a redirect) |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
When using it, copy the text below and paste it in the infobox under the {{para|Image}} parameter. Do {{font color|red|'''not'''}} delete the items that do not have information, leave them as they are. | When using it, copy the text below and paste it in the infobox under the {{para|Image}} parameter. Do {{font color|red|'''not'''}} delete the items that do not have information, leave them as they are. | ||
{{tj|Person | {{tj|Person image | ||
| Image: | | Image: | ||
| | | Width: | ||
| Caption: | | Caption: | ||
}} | }} | ||
== Parameters == | == Parameters == | ||
; {{para|Image}} : The creator or company's picture, format should be | ; {{para|Image}} : The creator or company's picture, format should be Romaji Name. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else. | ||
; {{para| | ; {{para|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. | ||
; {{para|Caption}} : Put the creator or company's | ; {{para|Caption}} : Put the creator or company's Romaji name (for creators always format them {{code|Family Name First Name}}) here. This will also be used for the {{code|Alt 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). {{font color|red|PLEASE ALWAYS INCLUDE THIS!}} '''Example:''' Intercommunications | ||
== TemplateData == | == TemplateData == | ||
Line 22: | Line 22: | ||
"description": "Displays an image in a creator or company infobox.", | "description": "Displays an image in a creator or company infobox.", | ||
"params": { | "params": { | ||
" | "Image": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The file name of the image.", | "description": "The file name of the image.", | ||
Line 28: | Line 28: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "Width": { | ||
"label": "Width", | "label": "Width", | ||
"description": "The width of the image if it is smaller then the default.", | "description": "The width of the image if it is smaller then the default.", | ||
Line 35: | Line 35: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "Caption": { | ||
"label": "Cation", | "label": "Cation", | ||
"description": "The name of the creator, or company.", | "description": "The name of the creator, or company in Romaji.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
Line 44: | Line 44: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>{{sandbox other||{{testcases other|| | <includeonly>{{sandbox other||{{testcases other|| | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category: | [[Category:Creator page templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Latest revision as of 03:31, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
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 |