Template:Seiyuu image/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


This is a template for adding an image to the {{tl|Infobox Voice Actor}}.
This is a template for adding an image to the {{tl|Infobox Seiyuu}}.


== Usage ==
== Usage ==
Line 13: Line 13:


== Parameters ==
== Parameters ==
; {{para|Image}} : The voice actor's picture, format should be Romanji Name.jpg. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else.
; {{para|Image}} : The seiyuu's picture, format should be Romaji Name.jpg. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else.
; {{para|Width}} : This is used for an image that is smaller than the default 200px width. You only need to enter the number. '''Example:''' 150 or 120.
; {{para|Width}} : This is used for an image that is smaller than the default 200px width. You only need to enter the number. '''Example:''' 150 or 120.
; {{para|Caption}} : Put the voice actor's Romanji name (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:''' Hatano Wataru
; {{para|Caption}} : Put the seiyuu's Romaji name (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:''' Hatano Wataru


== TemplateData ==
== TemplateData ==
<templatedata>
<templatedata>
{
{
"description": "Displays an image in the voice actor infobox.",
"description": "Displays an image in the seiyuu infobox.",
"params": {
"params": {
"Image": {
"Image": {
Line 37: Line 37:
"Caption": {
"Caption": {
"label": "Cation",
"label": "Cation",
"description": "The name of the voice actor.",
"description": "The name of the seiyuu.",
"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:Seiyuu page templates]]
[[Category:General Use Templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 03:56, 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 Seiyuu}}.

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.

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

Parameters

|Image=
The seiyuu's picture, format should be Romaji Name.jpg. Do not include the File:, [[]], or anything else.
|Width=
This is used for an image that is smaller than the default 200px width. You only need to enter the number. Example: 150 or 120.
|Caption=
Put the seiyuu's Romaji name (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: Hatano Wataru

TemplateData

Displays an image in the seiyuu 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
200
Numberoptional
CationCaption

The name of the seiyuu.

Stringrequired