Template:Person image/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
{{tj|Person image
{{tj|Person image
   | Image:  
   | Image:  
   | Image width:
   | Width:
   | Caption:
   | Caption:
}}
}}


== Parameters ==
== Parameters ==
; {{para|Image}} : The creator or company's picture, format should be Romanji Name.jpg. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else.
; {{para|Image}} : The creator or company's picture, format should be Romaji Name. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else.
; {{para|Image 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|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 Romanji name (for creators always format them {{code|Last 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
; {{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 28: Line 28:
"required": true
"required": true
},
},
"Image width": {
"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 37: Line 37:
"Caption": {
"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 49: Line 49:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Creator page templates]]
[[Category:General Use Templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 03:31, 20 August 2023

Light bulb.png }}
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.

{{Person image
| Image =
| Width =
| Caption =
}}

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 the 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). PLEASE ALWAYS INCLUDE THIS! Example: Intercommunications

TemplateData

Displays an image in a creator or company infobox.

Template parameters

ParameterDescriptionTypeStatus
NameImage

The file name of the image.

Stringrequired
WidthWidth

The width of the image if it is smaller then the default.

Default
100
Numberoptional
CationCaption

The name of the creator, or company in Romaji.

Stringrequired