Content added Content deleted
m (group => unit) |
m (→Parameters) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1:
{{documentation subpage}}
{{Lua|Module:Infobox
__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": "
"example": "25ji-logo.png",
"description": "The logo of the
},
"japanese": {
Line 41 ⟶ 35:
"example": " 25時、ナイトコードで。",
"label": "Japanese",
"description": "The
},
"romaji": {
Line 47 ⟶ 41:
"example": " Nijuugo-ji, Naito Koodo de. ",
"label": "Romaji",
"description": "The romanized version of the
},
"english": {
"type": "string",
"example": "Nightcord at 25
"label": "English",
"description": "The English translation of the
},
"members": {
Line 59 ⟶ 53:
"label": "Members",
"example": "Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki",
"description": "The list of members in the
"suggested": true
},
"virtual singers": {
"type": "string",
"example": "Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO",
"label": "Virtual Singers",
"description": "The virtual singers associated with the
"suggested": true
},
"
"description": "An image containing the group's members. Use the image's name.",▼
▲ "type": "wiki-page-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",
"
"
"japanese",
"romaji",
Line 90 ⟶ 91:
],
"format": "block",
"description": "Infobox
}
</templatedata>
Line 96 ⟶ 97:
==Quick Copy==
<pre>
{{Infobox
|bg color
|text color
|
|
|japanese =
|romaji =
Line 111 ⟶ 112:
==Examples==
{{Infobox
|bg color
|text color
|
|
|logo =
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji,
|english =
|members = Yoisaki Kanade, Asahina Mafuyu, Shinonome Ena, Akiyama Mizuki
|virtual singers = Hatsune Miku, Kagamine Rin, Megurine Luka, MEIKO
}}
<pre>
{{Infobox
|bg color
|text color
|
|
|logo =
|japanese = 25時、ナイトコードで。
|romaji = Nijuugo-ji,
|english =
|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
This is a documentation subpage for Template:Infobox unit. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Parameters[edit source]
Infobox unit for display unit information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background Color | bg color | The background color of the headers.
| String | required |
Text Color | text color | The color of the text inside headers.
| String | suggested |
Unit Name | name | The unit's name. Defaults to the page title if none given.
| Page name | required |
Unit Image | image | An image containing the unit's members. Use the image's name.
| String | required |
Japanese | japanese | The unit's name in Japanese.
| String | optional |
Romaji | romaji | The romanized version of the unit's name.
| String | optional |
English | english | The English translation of the unit's name.
| String | optional |
Unit Logo | logo | The logo of the unit. Use the file's name.
| String | required |
Members | members | The list of members in the unit, separated by commas
| String | suggested |
Virtual Singers | virtual singers | The virtual singers associated with the unit, separated by commas.
| String | suggested |
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. | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
? (edit) | |||||||||||||||||||||||||||||
Japanese | 25時、ナイトコードで。 | ||||||||||||||||||||||||||||
Romaji | Nijuugo-ji, Naitokoodo de. | ||||||||||||||||||||||||||||
English | Nightcord 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 }}