Template:Infobox Character: Difference between revisions

From AnotherEidos Wiki
Jump to navigation Jump to search
(improving on the infobox to show alternates in fs)
No edit summary
(23 intermediate revisions by the same user not shown)
Line 4: Line 4:


note: how it hides empty optional rows is very hacky but it does what it needs to.
note: how it hides empty optional rows is very hacky but it does what it needs to.
-->
-->
<div class="infobox" style="width:380px; background:#e7e7e7; overflow:overlay;">


<div class="infobox" style="width: 100%; max-width:52em; min-width:400px;">
<table style="width:100%; background:#f8f9fa; padding:5px; color: #304762; align:center; ">
<div class="infobox-title" style="font-weight:bold; background-color:#AA9671;  color:white; line-height:.7; padding: 30px;"> {{{character-name|{{PAGENAME}}}}}<br>
<span style="font-size:16px;>{{{character-title|}}}</span></div>
<div style="padding: 10px 0px;">
{{{image-tabs|
<div class="infobox-image">[[File:{{{image|Charactername.png}}}|425x425px|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}}}|440px|center|middle]]</div> </div>
</div>
}}}
</div>
 
<table style="width:100%;>
<tr>
<th style="background-color:#AA9671; color: white;">Rarity</th>
<td style="background-color:white;">[[:Category:{{{rarity}}}|{{{rarity}}}]]</td>
</tr>
<tr>
<tr>
<th style="background-color:#AA9671; color: white;">Class</th>
<td style="min-height:120px; text-align:left; width:auto; line-height:1.2; padding-left:15px; display: table-cell; vertical-align: middle;">
<td style="background-color:white;">[[{{{class}}}]]</td>
{{{character-title|[Title]}}}<br>
</tr>
<span style="font-size:24px; font-weight:bold; ">{{{character-name|{{PAGENAME}} }}}</span><br>
<tr style="display:{{{deploy-tile|none}}};">
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
<th  style="background-color:#AA9671; color: white;">Deploy Tile</th>
</td>
<td style="background-color:white;">[[:Category:{{{deploy-tile}}}|{{{deploy-tile}}}]]</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px;">
</tr>
[[File:{{{class|Fighter}}}.png|50px|  center | middle|link={{{class|Fighter}}}]]
<tr style="display:{{{damage-type|none}}};">
[[{{{class|Fighter}}}]]
<th  style="background-color:#AA9671; color: white;">Damage Type</th>
</td>
<td style="background-color:white;">[[:Category:{{{damage-type}}}|{{{damage-type}}}]]</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px; ">
</tr>
[[File:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
    <tr style="display:{{{attack-reach|none}}};">
[[{{{country|Pays Blanc}}}]]
<th  style="background-color:#AA9671; color: white;">Attack Reach</th>
</td>
<td style="background-color:white;">[[:Category:{{{attack-reach|Ground}}}|{{{attack-reach|Ground}}}]]</td>  
</tr>
</tr>
</table>
</table>
 
<table class="wikitable mw-collapsible" style="width:100%; margin: 0.4em 0; border:0;" >
<table style="width:100%; padding-top:10px;">
<th>{{{image-label|Bronze}}}</th>
<tr><td>[[File:{{{image|Charactername.png}}}|330px|center|middle]]</td></tr>
</table>
  <table class="wikitable mw-collapsible mw-collapsed" style="width:100%;  margin: 0.4em 0; display:{{{image2|none}}}; border:0;" >
<th>{{{image2-label|Silver}}}</th>
<tr><td>[[File:{{{image2|Charactername.png}}}|330px|center|middle]]</td></tr>
</table>
{{{skin-list|}}}
<table style="width:100%; padding-top:10px;">
<tr>  
<tr>  
<th style="background-color:#AA9671; color: white;">Country</th>
<th style="background-color:#304762; color: white;">Illustrator</th>  
<td style="background-color:white;">[[{{{country}}}]]</td>
</tr>
<tr>
<th  style="background-color:#AA9671; color: white;">Illustrator</th>  
<td style="background-color:white;">{{{illustrator-link}}}</td>
<td style="background-color:white;">{{{illustrator-link}}}</td>
</tr>
</tr>
<tr>  
<tr>  
<th  style="background-color:#AA9671; color: white;">Release Date</th>
<th  style="background-color:#304762; color: white;">Release Date</th>
<td style="background-color:white;">[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</td>
<td style="background-color:white;"><includeonly>[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</includeonly></td>
</tr>
</tr>
<tr style="display:{{{availability|none}}};">  
<tr style="display:{{{availability|none}}};">  
<th  style="background-color:#AA9671; color: white;">Availability</th>
<th  style="background-color:#304762; color: white;">Availability</th>
<td style="background-color:white;">[[:Category:{{{availability}}}|{{{availability}}}]]</td>
<td style="background-color:white;">[[:Category:{{{availability}}}|{{{availability}}}]]</td>
</tr>
</tr>
</table>
</table>
<div style="display:">
<table style="width:100%; padding-top:10px;">
<tr>
{{{alternate-list|}}}
</tr>
</table>
</div>
<div style="display:{{{alternate-link|none}}}">
<div style="display:{{{alternate-link|none}}}">
<table style="width:100%; padding-top:10px;">
<table style="width:100%; padding-top:10px;">
<tr>
<tr>
<th  style="background-color:#AA9671; color: white;">Alternate</th>
<td style="background-color:white;">
<td style="background-color:white;">{{{alternate-link|n/a}}}</td>  
<span style=" color:#304762; font-weight:bold;">Alternate Variants</span><br>
{{{alternate-link|n/a}}}
</td>  
</tr>
</tr>
</table>
</table>
</div>
</div>


<div>{{{alternate-list|}}}</div>
<div>{{{eidos-list|}}}</div>
<div style="display:">
<span style="float:left; font-size:10px;">[[Characters]]</span>
<span style="float:left; font-size:10px;">[[Characters]]</span>
<span style="float:right; font-size:10px;">[[Template:{{{template-name|Infobox Character}}}|[template edit]]]</span>
<span style="float:right; font-size:10px;">[[Template:{{{template-name|Infobox Character}}}|[template edit]]]</span>
</div><div style="display:none;">__NOTOC__
</div></div>
<div style="display:none;">__NOTOC__
[[Category:{{{class}}}]]
[[Category:{{{class}}}]]
[[Category:{{{country}}}]]
[[Category:{{{country}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{deploy-tile}}}]]
[[Category:{{{damage-type}}}]]
[[Category:{{{attack-reach|Ground}}}]]
[[Category:{{{availability}}}]]  
[[Category:{{{availability}}}]]  
[[Category:Released by {{{release-year|2021}}}]]</div>
[[Category:Released by {{{release-year|2021}}}]]</div>
Line 122: Line 105:
|damage-type = Single-Target Physical
|damage-type = Single-Target Physical
|country = Yamato
|country = Yamato
|illustrator-link = [https://twitter.com/Cotton_nottoC 狐塚遁(Cotton)]
|illustrator-link = [https://twitter.com/Cotton_nottoC (Cotton)]
|release-date = 9/30/2022
|release-date = 9/30/2022
|availability = Bright Summer Fest Banner, Bright Summer Fest Invite}}
|availability = Bright Summer Fest Banner, Bright Summer Fest Invite}}
</nowiki></pre>
</nowiki></pre>

Revision as of 14:55, 13 April 2025

[Title]
Infobox Character
6 Stars ☆☆☆☆☆☆

Fighter

Pays Blanc

Bronze
Illustrator {{{illustrator-link}}}
Release Date
Availability [[:Category:{{{availability}}}|{{{availability}}}]]

Alternate Variants
n/a

[[Category:{{{class}}}]] [[Category:{{{country}}}]] [[Category:{{{rarity}}}]]

[[Category:{{{availability}}}]]





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}}