Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox unit/doc: Difference between revisions

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