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)
 
(8 intermediate revisions by the same user not shown)
Line 1:
{{documentation subpage}}
{{Lua|Module:Infobox Unitunit}}
 
__TOC__
Line 7 ⟶ 8:
{
"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 ⟶ 27:
"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 ⟶ 35:
"example": " 25時、ナイトコードで。",
"label": "Japanese",
"description": "The groupunit's name in Japanese."
},
"romaji": {
Line 47 ⟶ 41:
"example": " Nijuugo-ji, Naito Koodo de. ",
"label": "Romaji",
"description": "The romanized version of the groupunit's name."
},
"english": {
"type": "string",
"example": "Nightcord at 25 o’clock, by Night Code :00",
"label": "English",
"description": "The English translation of the groupunit's name."
},
"members": {
Line 59 ⟶ 53:
"label": "Members",
"example": "Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki",
"description": "The list of members in the groupunit, separated by commas",
"suggested": true
},
"virtual singers": {
"type": "string",
"example": "Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO",
"label": "Virtual Singers",
"description": "The virtual singers associated with the groupunit, separated by commas.",
"suggested": true
},
"group 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 CodeNightcord de.",
"type": "wiki-page-name",
"required": true,
},
"group 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 ⟶ 81:
"bg color",
"text color",
"group name",
"group image",
"japanese",
"romaji",
Line 90 ⟶ 91:
],
"format": "block",
"description": "Infobox Groupsunit for display groupunit information."
}
</templatedata>
Line 96 ⟶ 97:
==Quick Copy==
<pre>
{{Infobox Groupunit
|bg color =
|text color =
|groupunit name =
|groupunit image =
|japanese =
|romaji =
Line 111 ⟶ 112:
 
==Examples==
{{Infobox Groupunit
|bg color = #884499
|text color = #ffffff
|group name = 25-ji, Night CodeNightcord de.
|group image = night_code_cgNightcord cg.png
|logo = 25ji25-ji, Nightcord de. logo (bordered).png
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji, Naito KoodoNaitokoodo de.
|english = 25Nightcord o’clock,at by Night Code25:00
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}
<pre>
{{Infobox Groupunit
|bg color = #884499
|text color = #ffffff
|group name = 25-ji, Night CodeNightcord de.
|group image = night_code_cgNightcord cg.png
|logo = 25ji25-ji, Nightcord de. logo (bordered).png
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji, Naito KoodoNaitokoodo de.
|english = 25Nightcord o’clock,at by Night Code25:00
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}
</pre>

Latest revision as of 07:43, 22 January 2022

Parameters[edit source]

Infobox unit for display unit 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 Namename

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

Example
25-ji, Nightcord de.
Page namerequired
Unit Imageimage

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[edit source]

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

Examples[edit source]

25-ji, Nightcord de.
Japanese25時、ナイトコードで。
RomajiNijuugo-ji, Naitokoodo de.
EnglishNightcord at 25:00
Logo
Information
Members
Virtual Singers
{{Infobox unit
|bg color   = #884499
|text color = #ffffff
|name  = 25-ji, Nightcord de.
|image = Nightcord cg.png
|logo     = 25-ji, Nightcord de. logo (bordered).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.