Content added Content deleted
mNo edit summary |
(updated examples, updated parameter information) |
||
Line 45: | Line 45: | ||
"english": { |
"english": { |
||
"type": "string", |
"type": "string", |
||
"example": " 25 |
"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, |
"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, |
|unit name = 25-ji, Nightcord de. |
||
|unit image = |
|unit image = Nightcord cg.png |
||
|logo = 25ji-logo.png |
|logo = 25ji-logo.png |
||
|japanese = 25時、ナイトコードで。 |
|japanese = 25時、ナイトコードで。 |
||
|romaji = Nijuugo-ji, |
|romaji = Nijuugo-ji, Naitokoodo de. |
||
|english = |
|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, |
|unit name = 25-ji, Nightcord de. |
||
|unit image = |
|unit image = Nightcord cg.png |
||
|logo = 25ji-logo.png |
|logo = 25ji-logo.png |
||
|japanese = 25時、ナイトコードで。 |
|japanese = 25時、ナイトコードで。 |
||
|romaji = Nijuugo-ji, |
|romaji = Nijuugo-ji, Naitokoodo de. |
||
|english = |
|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
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
Infobox Groups for display group 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 | unit name | The unit's name. Defaults to the page title if none given.
| Page name | required |
Unit Image | unit 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
{{Infobox Unit |bg color = |text color = |unit name = |unit image = |japanese = |romaji = |english = |logo = |members = |virtual singers = }}
Examples
{{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 }}