Template:Infobox Character: Difference between revisions

From AnotherEidos Wiki
Jump to navigation Jump to search
No edit summary
(moved alter's code here now)
Line 1: Line 1:
<div class="infobox character">
<!-- Infobox Character Alter:  
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
WIP Updated Infoboxm Still figuring out how best to handle some stuff, but it's mostly ok
{{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|315px]]</div>}}}
    Template: Infobox Character Alter will now just rely on this template
<table>
{{{#if:{{{param1|}}}|<tr> <th>Illustration</th>
<td>{{{param1}}}</td></tr>}}}
{{{#if:{{{param2|}}}|<tr> <th>Class</th>
<td>[[{{{param2}}}]]</td></tr>}}}
{{{#if:{{{param3|}}}|<tr> <th>Country</th>
<td>[[{{{param3}}}]]</td></tr>}}}
{{{#if:{{{param4|}}}|<tr> <th>Release Date</th>
<td>{{{param4}}}</td></tr>}}}
{{{#if:{{{param5|}}}|<tr><th>Rarity</th>
<td>{{{param5}}}</td> </tr>}}}
{{{#if:{{{param6|}}}|<tr><th>Deploy Tile</th>
<td>{{{param6}}}</td> </tr>}}}
{{{#if:{{{param7|}}}|<tr><th>Damage Type</th>
<td>{{{param7}}}</td> </tr>}}}</table> </div>


[[Category:{{{param2|}}}]]
note: how it hides empty optional rows is very hacky but it does what it needs to.
-->


[[Category:{{{param3|}}}]]
<div class="infobox" style="width:auto; min-width:415px;">


[[Category:{{{param5|}}}]]
<div class="infobox-title" style="font-weight:bold;">{{{character-name|{{PAGENAME}}}}}
<div style="font-size:16px">{{{character-title|}}}</div>
</div>
<hr>
<div style="">
<div class="infobox-image">[[File:{{{image|Charactername.png}}}|250px|center|middle]]</div>
<div class="mw-collapsible mw-collapsed" style="padding: 5px; display:{{{image2|none}}};">
<div style="font-weight:bold;line-height:1.6;">Silver Rank</div>
<div class="mw-collapsible-content" >
<div class="infobox-image">[[File:{{{image2|Charactername.png}}}|410px|center|middle]]</div> </div>
</div>
</div>
<hr>


[[Category:{{{param6|}}}]]
<table style="width:100%;">
<tr>
<th>Rarity</th>
<td>[[:Category:{{{rarity|{{{param5}}}}}}|{{{rarity|{{{param5}}}}}}]]</td>
</tr>
<tr>
<th>Class</th>
<td>[[{{{class|{{{param2}}}}}}]]</td>
</tr>
<tr>
<th>Deploy Tile</th>
<td>[[:Category:{{{deploy-tile|{{{param6}}}}}}|{{{deploy-tile|{{{param6}}}}}}]]</td>
</tr>
<tr>
<th>Damage Type</th>
<td>[[:Category:{{{damage-type|{{{param7}}}}}}|{{{damage-type|{{{param7}}}}}}]]</td>
</tr>
    <tr style="display:{{{attack-reach|none}}};">
<th>Attack Reach</th>
<td>[[:Category:{{{attack-reach|Ground}}}|{{{attack-reach|Ground}}}]]</td>
</tr>
</table>


[[Category:{{{param7|}}}]]
<hr>
<table style="width:100%">
<tr>
<th>Country</th>
<td>[[{{{country|{{{param3}}}}}}]]</td>
</tr>
<tr>
<th>Illustrator</th>
<td>{{{illustrator-link|{{{param1}}}}}}</td>
</tr>
<tr>
<th>Release Date</th>
<td>{{{release-date|{{{param4}}}}}}</td>
</tr>
<tr style="display:{{{availability|none}}};">
<th>Availability</th>
<td>{{{availability|Flyers}}}</td>
</tr>
</table>
<div style="display:{{{alternate-link|none}}};">
<hr>
<table style="width:100%">
<tr>
<th>Alternate</th>
<td>{{{alternate-link|n/a}}}</td>
</tr>
</table>
</div>
</div>
[[Category:{{{class|{{{param2}}}}}}]]
[[Category:{{{country|{{{param3}}}}}}]]
[[Category:{{{rarity|{{{param5}}}}}}]]
[[Category:{{{deploy-tile|{{{param6}}}}}}]]
[[Category:{{{damage-type|{{{param7}}}}}}]]
[[Category:{{{attack-reach|Ground}}}]]
 
<noinclude>
==Test==
<pre><nowiki>
{{Infobox Character
|image = barlitz.png
|param1 = [https://twitter.com/canynekhai Canyne Khai]
|param2 = Vanguard
|param3 = Pays Blanc
|param4 = 3/31/2022
|param5 = 5 Stars ☆☆☆☆☆
|param6 = Low Ground
|param7 = Single-Target Physical}}
 
{{Infobox Character
|character-name = Rai
|character-title = The Beach's Thunder
|image = Rai_beach.png
|image2 = FULL_rai_beach.png
|alternate-link= [[Rai]]
|rarity = 5 Stars ☆☆☆☆☆
|class = Vanguard
|deploy-tile = Low Ground
|damage-type = Single-Target Physical
|country = Yamato
|illustrator-link = [https://twitter.com/Cotton_nottoC 狐塚遁(Cotton)]
|release-date = 9/30/2022
|availability = Bright Summer Fest Banner, Bright Summer Fest Invite}}
</nowiki></pre>
 
{{Infobox Character
|image = barlitz.png
|param1 = [https://twitter.com/canynekhai Canyne Khai]
|param2 = Vanguard
|param3 = Pays Blanc
|param4 = 3/31/2022
|param5 = 5 Stars ☆☆☆☆☆
|param6 = Low Ground
|param7 = Single-Target Physical}}
 
{{Infobox Character
|character-name = Rai
|character-title = The Beach's Thunder
|image = Rai_beach.png
|image2 = FULL_rai_beach.png
|alternate-link= [[Rai]]
|rarity = 5 Stars ☆☆☆☆☆
|class = Vanguard
|deploy-tile = Low Ground
|damage-type = Single-Target Physical
|country = Yamato
|illustrator-link = [https://twitter.com/Cotton_nottoC 狐塚遁(Cotton)]
|release-date = 9/30/2022
|availability = Bright Summer Fest Banner, Bright Summer Fest Invite}}
</noinclude>

Revision as of 10:07, 24 October 2022


Infobox Character


Rarity [[:Category:{{{param5}}}|{{{param5}}}]]
Class [[{{{param2}}}]]
Deploy Tile [[:Category:{{{param6}}}|{{{param6}}}]]
Damage Type [[:Category:{{{param7}}}|{{{param7}}}]]
Attack Reach Ground

Country [[{{{param3}}}]]
Illustrator {{{param1}}}
Release Date {{{param4}}}
Availability Flyers

Alternate n/a

[[Category:{{{param2}}}]] [[Category:{{{param3}}}]] [[Category:{{{param5}}}]] [[Category:{{{param6}}}]] [[Category:{{{param7}}}]]


Test

{{Infobox Character
|image = barlitz.png
|param1 = [https://twitter.com/canynekhai Canyne Khai]
|param2 = Vanguard
|param3 = Pays Blanc
|param4 = 3/31/2022
|param5 = 5 Stars ☆☆☆☆☆
|param6 = Low Ground
|param7 = Single-Target Physical}}

{{Infobox Character
|character-name = Rai
|character-title = The Beach's Thunder
|image = Rai_beach.png
|image2 = FULL_rai_beach.png
|alternate-link= [[Rai]]
|rarity = 5 Stars ☆☆☆☆☆ 
|class = Vanguard
|deploy-tile = Low Ground
|damage-type = Single-Target Physical
|country = Yamato
|illustrator-link = [https://twitter.com/Cotton_nottoC 狐塚遁(Cotton)]
|release-date = 9/30/2022
|availability = Bright Summer Fest Banner, Bright Summer Fest Invite}}


Infobox Character


Rarity 5 Stars ☆☆☆☆☆
Class Vanguard
Deploy Tile Low Ground
Damage Type Single-Target Physical
Attack Reach Ground

Country Pays Blanc
Illustrator Canyne Khai
Release Date 3/31/2022
Availability Flyers

Alternate n/a



Rai
The Beach's Thunder


Rarity 5 Stars ☆☆☆☆☆
Class Vanguard
Deploy Tile Low Ground
Damage Type Single-Target Physical
Attack Reach Ground

Country Yamato
Illustrator 狐塚遁(Cotton)
Release Date 9/30/2022
Availability Bright Summer Fest Banner, Bright Summer Fest Invite

Alternate Rai