Content added Content deleted
m (ChaoticShadow moved page Template:Infobox Unit/doc to Template:Infobox unit/doc without leaving a redirect) |
m (→Parameters) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
{{documentation subpage}}
{{Lua|Module:Infobox
__TOC__
Line 63:
"suggested": true
},
"
"label": "Unit Name",
"description": "The unit's name. Defaults to the page title if none given.",
Line 70:
"required": true
},
"
"label": "Unit Image",
"description": "An image containing the unit's members. Use the image's name.",
Line 81:
"bg color",
"text color",
"
"
"japanese",
"romaji",
Line 91:
],
"format": "block",
"description": "Infobox
}
</templatedata>
Line 97:
==Quick Copy==
<pre>
{{Infobox
|bg color =
|text color =
Line 112:
==Examples==
{{Infobox
|bg color = #884499
|text color = #ffffff
|
|
|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
}}
<pre>
{{Infobox
|bg color = #884499
|text color = #ffffff
|
|
|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
}}
|
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 }}