Template:Infobox unit/doc: Difference between revisions

Template page
Content added Content deleted
m (group => unit)
m (group => unit)
Line 7: Line 7:
{
{
"params": {
"params": {
"group name": {
"required": true,
"type": "wiki-page-name",
"label": "Group Name",
"description": "The group name. Defaults to the page title if none given.",
"example": "25-ji, Night Code de."
},
"bg color": {
"bg color": {
"type": "string",
"type": "string",
Line 33: Line 26:
"required": true,
"required": true,
"type": "string",
"type": "string",
"label": "Group Logo",
"label": "Unit Logo",
"example": "25ji-logo.png",
"example": "25ji-logo.png",
"description": "The logo of the group. Use the file's name."
"description": "The logo of the unit. Use the file's name."
},
},
"japanese": {
"japanese": {
Line 41: Line 34:
"example": " 25時、ナイトコードで。",
"example": " 25時、ナイトコードで。",
"label": "Japanese",
"label": "Japanese",
"description": "The group's name in Japanese."
"description": "The unit's name in Japanese."
},
},
"romaji": {
"romaji": {
Line 47: Line 40:
"example": " Nijuugo-ji, Naito Koodo de. ",
"example": " Nijuugo-ji, Naito Koodo de. ",
"label": "Romaji",
"label": "Romaji",
"description": "The romanized version of the group's name."
"description": "The romanized version of the unit's name."
},
},
"english": {
"english": {
Line 53: Line 46:
"example": " 25 o’clock, by Night Code ",
"example": " 25 o’clock, by Night Code ",
"label": "English",
"label": "English",
"description": "The English translation of the group's name."
"description": "The English translation of the unit's name."
},
},
"members": {
"members": {
Line 59: Line 52:
"label": "Members",
"label": "Members",
"example": "Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki",
"example": "Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki",
"description": "The list of members in the group, separated by commas",
"description": "The list of members in the unit, separated by commas",
"suggested": true
"suggested": true
},
},
Line 66: Line 59:
"example": "Hatsune Miku",
"example": "Hatsune Miku",
"label": "Virtual Singers",
"label": "Virtual Singers",
"description": "The virtual singers associated with the group, separated by commas.",
"description": "The virtual singers associated with the unit, separated by commas.",
"suggested": true
"suggested": true
},
},
"group image": {
"unit name": {
"label": "Unit Name",
"description": "An image containing the group's members. Use the image's name.",
"description": "The unit's name. Defaults to the page title if none given.",
"example": "25-ji, Night Code de.",
"type": "wiki-page-name",
"required": true
},
"unit image": {
"label": "Unit Image",
"description": "An image containing the unit's members. Use the image's name.",
"example": "night_code_cg.png",
"type": "string",
"type": "string",
"required": true,
"required": true
"label": "Group Image",
"example": "night_code_cg.png"
}
}
},
},
Line 80: Line 80:
"bg color",
"bg color",
"text color",
"text color",
"group name",
"unit name",
"group image",
"unit image",
"japanese",
"japanese",
"romaji",
"romaji",
Line 96: Line 96:
==Quick Copy==
==Quick Copy==
<pre>
<pre>
{{Infobox Group
{{Infobox Unit
|bg color =
|bg color =
|text color =
|text color =
|group name =
|unit name =
|group image =
|unit image =
|japanese =
|japanese =
|romaji =
|romaji =
Line 111: Line 111:


==Examples==
==Examples==
{{Infobox Group
{{Infobox Unit
|bg color = #884499
|bg color = #884499
|text color = #ffffff
|text color = #ffffff
|group name = 25-ji, Night Code de.
|unit name = 25-ji, Night Code de.
|group image = night_code_cg.png
|unit image = night_code_cg.png
|logo = 25ji-logo.png
|logo = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|japanese = 25時、ナイトコードで。
Line 124: Line 124:
}}
}}
<pre>
<pre>
{{Infobox Group
{{Infobox Unit
|bg color = #884499
|bg color = #884499
|text color = #ffffff
|text color = #ffffff
|group name = 25-ji, Night Code de.
|unit name = 25-ji, Night Code de.
|group image = night_code_cg.png
|unit image = night_code_cg.png
|logo = 25ji-logo.png
|logo = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|japanese = 25時、ナイトコードで。

Revision as of 21:34, 3 July 2021

Parameters

Infobox Groups for display group information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background Colorbg color

The background color of the headers.

Default
#000000
Example
#884499
Stringrequired
Text Colortext color

The color of the text inside headers.

Default
#FFFFFF
Example
#FFFFFF
Stringsuggested
Unit Nameunit name

The unit's name. Defaults to the page title if none given.

Example
25-ji, Night Code de.
Page namerequired
Unit Imageunit image

An image containing the unit's members. Use the image's name.

Example
night_code_cg.png
Stringrequired
Japanesejapanese

The unit's name in Japanese.

Example
25時、ナイトコードで。
Stringoptional
Romajiromaji

The romanized version of the unit's name.

Example
Nijuugo-ji, Naito Koodo de.
Stringoptional
Englishenglish

The English translation of the unit's name.

Example
25 o’clock, by Night Code
Stringoptional
Unit Logologo

The logo of the unit. Use the file's name.

Example
25ji-logo.png
Stringrequired
Membersmembers

The list of members in the unit, separated by commas

Example
Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
Stringsuggested
Virtual Singersvirtual singers

The virtual singers associated with the unit, separated by commas.

Example
Hatsune Miku
Stringsuggested

Quick Copy

{{Infobox Unit
|bg color    =
|text color  =
|unit name  = 
|unit image = 
|japanese =
|romaji   =
|english  =
|logo     =
|members  =
|virtual singers =
}}

Examples

Template:Infobox Unit

{{Infobox Unit
|bg color    = #884499
|text color  = #ffffff
|unit name  = 25-ji, Night Code de.
|unit image = night_code_cg.png
|logo     = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|romaji   = Nijuugo-ji, Naito Koodo de.
|english  = 25 o’clock, by Night Code
|members  = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku
}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.