Template:Infobox unit/doc: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
(updated examples, updated parameter information)
Line 45: Line 45:
"english": {
"english": {
"type": "string",
"type": "string",
"example": " 25 o’clock, by Night Code ",
"example": "Nightcord at 25:00",
"label": "English",
"label": "English",
"description": "The English translation of the unit's name."
"description": "The English translation of the unit's name."
Line 58: Line 58:
"virtual singers": {
"virtual singers": {
"type": "string",
"type": "string",
"example": "Hatsune Miku",
"example": "Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO",
"label": "Virtual Singers",
"label": "Virtual Singers",
"description": "The virtual singers associated with the unit, separated by commas.",
"description": "The virtual singers associated with the unit, separated by commas.",
Line 66: Line 66:
"label": "Unit Name",
"label": "Unit Name",
"description": "The unit's name. Defaults to the page title if none given.",
"description": "The unit's name. Defaults to the page title if none given.",
"example": "25-ji, Night Code de.",
"example": "25-ji, Nightcord de.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": true
Line 115: Line 115:
|bg color = #884499
|bg color = #884499
|text color = #ffffff
|text color = #ffffff
|unit name = 25-ji, Night Code de.
|unit name = 25-ji, Nightcord de.
|unit image = night_code_cg.png
|unit image = Nightcord cg.png
|logo = 25ji-logo.png
|logo = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji, Naito Koodo de.
|romaji = Nijuugo-ji, Naitokoodo de.
|english = 25 o’clock, by Night Code
|english = Nightcord at 25:00
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}
}}
<pre>
<pre>
Line 128: Line 128:
|bg color = #884499
|bg color = #884499
|text color = #ffffff
|text color = #ffffff
|unit name = 25-ji, Night Code de.
|unit name = 25-ji, Nightcord de.
|unit image = night_code_cg.png
|unit image = Nightcord cg.png
|logo = 25ji-logo.png
|logo = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji, Naito Koodo de.
|romaji = Nijuugo-ji, Naitokoodo de.
|english = 25 o’clock, by Night Code
|english = Nightcord at 25:00
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}
}}
</pre>
</pre>

Revision as of 02:57, 31 October 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, Nightcord 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
Nightcord at 25:00
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, Kagamine Rin, Megurine Luka, MEIKO
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, Nightcord de.
|unit image = Nightcord cg.png
|logo     = 25ji-logo.png
|japanese = 25時、ナイトコードで。
|romaji   = Nijuugo-ji, Naitokoodo de.
|english  = Nightcord at 25:00
|members  = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}


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