Template:Cardinfo: Difference between revisions

From MikuColle Wiki
Jump to navigation Jump to search
(Added switch statements for BG that's called based on Vocaloid. Also easier to change color instead of needing to go through each card manually. Also added a switch to characters so a shortened name will input the full name (Miku > Hatsune Miku))
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| style="width: 100%;"
!  colspan="4" style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| Unit = Grey}};" | <span style="font-size: 150%;">{{{Name|Name}}}</span><br />{{{JPName|JPName}}}
|
{| style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| OtherC | Other | Unit = Grey}}; width: 100%; border:2px solid; border-color: #ccc;"
| style="font-size: 120%;"|<strong>{{{Name|}}}<br>{{{JPName|}}}</strong>
|}
{| style="float: left; width: 310px;"
|<includeonly>[[File:{{{File|}}}|384px]]</includeonly>
|-
|Illustrator: {{{Illustrator|}}}{{{IllustratorAlt|}}}
|}
{| class="wikitable" style="width: 290px; margin: 3px;"
!colspan=2 style="width:150px;" | Index No.
|colspan=2 style="width:140px;" |{{{Index|}}}
! Attr.
| {{#if: {{{Attribute|}}} | [[File:{{#switch: {{{Attribute|}}} | Mars | mars= icon_mars | Mercury | mercury = icon_mercury | Jupiter | jupiter = icon_jupiter | Sun | sun = icon_sun | Moon | moon = icon_moon | Null | null = icon_null}}.png|25px|link=]] | [[File:icon_random.png|25px|link=]]}}
|-
!colspan=2 | Character
|colspan=4 style="width:120px;" | {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Hatsune Miku | Rin | Kagamine Rin = Kagamine Rin | Len | Kagamine Len = Kagamine Len | Luka | Megurine Luka = Megurine Luka | KAITO | Kaito = KAITO | MEIKO | Meiko = MEIKO | Unit = Unit | OtherC | Other = Other }}
|-
!colspan=2 | Rarity
|colspan=4 style="width:120px;" | {{{Rarity|}}}
|-
!colspan=2 | Cost
|colspan=4 style="width:120px;" | {{{Cost|}}}
|-
!colspan=6 | Value when sold
|-
!colspan=2 | GP
|colspan=4 |{{#switch: {{{Char|}}} | Other = {{{GP|}}} | #default = {{#switch: {{{Rarity|}}} | N = 100 | N+ = 200 | R = 900 | R+ = 1200 | SR = 2000 | SR+ = 3900 | SSR = 39000 | SSR+ = 90000}}}}
|-
!colspan=2 | Card Medal(s)
|colspan=4 | {{#switch: {{{Char|}}} | Other = 0 | #default = {{#switch: {{{Rarity|}}} | N | N+ = 0 | R = 1 | R+ = 2 | SR = 10 | SR+ = 20 | SSR = 50 | SSR+ = 300}}}}
|-
<!--{| class="wikitable" style="width: 200px; margin: 3px 3px 3px -3px; float:left;" -->
!colspan=6 | Initial
|-
!colspan=2 | HP
|colspan=4 style="width:60px" | {{{iHP|}}}
|-
!colspan=2 | Singing Power
|colspan=4 style="width:60px" | {{{iSP|}}}
|-
!colspan=2 | Defense
|colspan=4 style="width:60px" | {{{iD|}}}
|-
!colspan=6 | Max Lv: {{#switch: {{{Char|}}} | Other = 1 | #default = {{#switch: {{{Rarity|}}} | N | N+ = 40 | R | R+ = 60 | SR | SR+ = 80 | SSR | SSR+ = 100}}}}
|-
!colspan=2 | HP
|colspan=4 style="width:60px" | {{{mHP|}}}
|-
!colspan=2 | Singing Power
|colspan=4 style="width:60px" | {{{mSP|}}}
|-
!colspan=2 | Defense
|colspan=4 style="width:60px" | {{{mD|}}}
|-  
|-  
colspan="1" width="192px" | {{{Image|}}} <br> Artist: {{{Artist|Artist Name}}}
!colspan=6 | Limit Break ★4: {{#switch: {{{Char|}}} | Other = N/A | #default = {{#switch: {{{Rarity|}}} | N | N+ = 80 | R | R+ = 100 | SR | SR+ = 120 | SSR | SSR+ = 140}}}}
|  colspan="3" style="padding: 0px;"|
|-
{|  class="wikitable" style="margin: 0px;"
!colspan=2 | HP
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | No.
|colspan=4 style="width:60px" | {{{LBHP|}}}
| style="background-color: #eee;" | {{{Index|Index}}}
|-
|-
!colspan=2 | Singing Power
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Character
|colspan=4 style="width:60px" | {{{LBSP|}}}
| style="background-color: #eee;" | {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Hatsune Miku | Rin | Kagamine Rin = Kagamine Rin | Len | Kagamine Len = Kagamine Len | Luka | Megurine Luka = Luka | KAITO | Kaito = KAITO | MEIKO | Meiko = MEIKO | Unit = Unit }}
|-
|-  
!colspan=2 | Defense
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Rarity
|colspan=4 style="width:60px" | {{{LBD|}}}
| style="background-color: #eee;" | {{{Rarity|Rarity}}}
<!-- |} -->
|-  
|}
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Cost
|}
| style="background-color: #eee;" | {{{Cost|Cost}}}
{| class="wikitable" style="width: 750px; border:2px solid; border-color: #ccc; margin: 3px;"
|-  
| style="width: 650px"|<strong>{{{Skill|}}}</strong> {{#if: {{{JPSkill|}}} | (<strong>{{{JPSkill|}}}</strong>) | }} || bgcolor=#ccc style="width: 100px;"| Skill Point: {{{SkillPoint|}}}
! align="center" colspan="2" style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| Unit = Grey}};" | Initial
|-
|-
|colspan=2 |{{{SkillDes|}}}
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | HP
| style="background-color: #eee;" | {{{iHP|Initial HP}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Singing Power
| style="background-color: #eee;" | {{{iSP|Initial Singing Power}}}
|-  
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Defense
| style="background-color: #eee;" | {{{iD|Initial Defense}}}
|-
!  align="center" colspan="2" style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| Unit = Grey}};" | Max Level: {{{MaxLv|Max Level}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | HP
| style="background-color: #eee;" | {{{mHP|Max HP}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Singing Power
| style="background-color: #eee;" | {{{mSP|Max Singing Power}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Defense
| style="background-color: #eee;" | {{{mD|Max Defense}}}
|-
! align="center" colspan="2" style=" color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| Unit = Grey}};" | Limit Break ★4: {{{LBLv|Limit Break Max Lv}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | HP
| style="background-color: #eee;" | {{{LBHP|Limit Break HP}}}
|-
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Singing Power
| style="background-color: #eee;" | {{{LBSP|Limit Break Singing Power}}}
|-  
! style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | Defense
| style="background-color: #eee;" | {{{LBD|Limit Break Defense}}}
|}
|}
|-
{| class="wikitable" style="width: 750px; border:2px solid; border-color: #ccc; margin: 3px;"
|  colspan="3" style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = Green | Rin | Kagamine Rin = DarkOrange | Len | Kagamine Len = Orange | Luka | Megurine Luka = DeepPink| KAITO | Kaito = SteelBlue | MEIKO | Meiko = FireBrick| Unit = DimGrey}};" | <strong>Skill: {{{Skill|Skill}}} <span style="font-size: 80%;>{{{JPSkill|JP Skill name}}}</span> </strong>
| style="width:60px"| Obtained:
| width="95px" style="background-color: #eee;" | Skill Point: {{{SkillPoint|Skill Points}}}
!Cheer Point Gacha
|-
|style="width:30px"|{{{Yell|}}}
| colspan="4" style="background-color: #eee;" | {{{SkillDes|Skill Description}}}
!Premium Gacha
|-
|style="width:30px"|{{{Premium|}}}
| colspan="4" style="color: white; background-color: {{#switch: {{{Char|}}} | Miku | Hatsune Miku = ForestGreen | Rin | Kagamine Rin = Orange | Len | Kagamine Len = Gold | Luka | Megurine Luka = HotPink| KAITO | Kaito = DodgerBlue | MEIKO | Meiko = FireBrick| Unit = Grey}};" | <strong>Obtained from</strong>
!Limited Gacha Only
|-  
|style="width:30px"|{{{Limited|}}}
| colspan="4" style="background-color: #eee;" | {{{Obtain|How to get}}}
|-
|colspan=7 |{{{Obtain|}}}
|}
|}
{{#if: {{{Notes|}}} |
{{{!}} class="wikitable" style="width: 750px; border:2px solid; border-color: #ccc; margin: 3px;"
{{!}} <strong>Notes</strong>
{{!}}-
{{!}} {{{Notes|}}}
{{!}}} |}}
<noinclude>{{{CardList|[[File:{{{File|}}}.jpg|54px]]}}}</noinclude>
<includeonly>[[Category:Card:{{#switch: {{{Char|}}} | Miku | Hatsune Miku = Hatsune Miku | Rin | Kagamine Rin = Kagamine Rin | Len | Kagamine Len = Kagamine Len | Luka | Megurine Luka = Megurine Luka | KAITO | Kaito = KAITO | MEIKO | Meiko = MEIKO | Unit = Unit | OtherC | Other = Other }}]][[Category:Rarity:{{{Rarity|}}}]]{{#if: {{{Illustrator|}}} | [[Category:Illustrator:{{{Illustrator|}}}]] | [[Category:Illustrator:Unknown]]}} {{#if: {{{Attribute|}}}
| [[Category:Attribute:{{#switch: {{{Attribute|}}} | Mars | mars= Mars | Mercury | mercury = Mercury | Jupiter | jupiter = Jupiter | Sun | sun = Sun | Moon | moon = Moon | Null | null = Null}}]] | [[Category:Attribute:Unknown]]}}</includeonly>

Latest revision as of 07:04, 14 June 2020


Illustrator:
Index No. Attr.
Character
Rarity
Cost
Value when sold
GP
Card Medal(s)
Initial
HP
Singing Power
Defense
Max Lv:
HP
Singing Power
Defense
Limit Break ★4:
HP
Singing Power
Defense
Skill Point:
Obtained: Cheer Point Gacha Premium Gacha Limited Gacha Only

File:.jpg