Template:Infobox Character: Difference between revisions

From AnotherEidos Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Tag: Manual revert
 
(46 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="min-width: max-content; background:#e7e7e7; overflow:overlay;">


<div class="infobox" style="width:auto; min-width:40%;">
<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}}}|480x480px|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}}}|460px|center|middle]]</div> </div>
</div>
}}}
</div>
 
<table style="width:100%;>
<tr>
<tr>
<th style="background-color:#AA9671; color: white;">Rarity</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;">[[:Category:{{{rarity}}}|{{{rarity}}}]]</td>
{{{character-title|[Title]}}}<br>
</tr>
<span style="font-size:24px; font-weight:bold; ">{{{character-name|{{PAGENAME}} }}}</span><br>
<tr>
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
<th style="background-color:#AA9671; color: white;">Class</th>
</td>
<td style="background-color:white;">[[{{{class}}}]]</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>
[[{{{class|Fighter}}}]]
<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:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
<tr>
[[{{{country|Pays Blanc}}}]]
<th  style="background-color:#AA9671; color: white;">Damage Type</th>
</td>
<td style="background-color:white;">[[:Category:{{{damage-type}}}|{{{damage-type}}}]]</td>
</tr>
    <tr style="display:{{{attack-reach|none}}};">
<th  style="background-color:#AA9671; color: white;">Attack Reach</th>
<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>  
<tr><td>[[File:{{{image|Charactername.png}}}|440x440px|center|middle]]</td></tr>
<th  style="background-color:#AA9671; color: white;">Country</th>  
</table>
<td style="background-color:white;">[[{{{country}}}]]</td>
  <table class="wikitable mw-collapsible mw-collapsed" style="width:100%;  margin: 0.4em 0; display:{{{image2|none}}}; border:0;" >
</tr>
<th>{{{image2-label|Silver}}}</th>
<tr><td>[[File:{{{image2|Charactername.png}}}|440x440px|center|middle]]</td></tr>
</table>
{{{skin-list|}}}
<table style="width:100%; padding-top:10px;">
<tr>  
<tr>  
<th style="background-color:#AA9671; color: white;">Illustrator</th>  
<th style="background-color:#304762; 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;">{{{release-date| {{{release-mm-dd}}}{{{release-year}}}[[Category:{{{release-year}}} }}}</td>
<td style="background-color:white;">[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</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;">{{{availability}}}[[Category:{{{availability}}}</td>
<td style="background-color:white;">[[:Category:{{{availability}}}|{{{availability}}}]]</td>
</tr>
</tr>
</table>
</table>
<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 style="display:none;">__NOTOC__
</div>
 
<div>{{{alternate-list|}}}</div>
 
<div style="display:">
<span style="float:left; font-size:10px;">[[Characters]]</span>
<span style="float:right; font-size:10px;">[[Template:{{{template-name|Infobox Character}}}|[template edit]]]</span>
</div></div>
<div style="display:none;">__NOTOC__
[[Category:{{{class}}}]]
[[Category:{{{class}}}]]
[[Category:{{{country}}}]]
[[Category:{{{country}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{deploy-tile}}}]]
[[Category:{{{availability}}}]]  
[[Category:{{{damage-type}}}]]
[[Category:Released by {{{release-year|2021}}}]]</div>
[[Category:{{{attack-reach|Ground}}}]] </div>
<noinclude>
<noinclude>==Test==
 
 
 
 
 
 
 
 
==Test==
<pre><nowiki>
<pre><nowiki>
{{Infobox Character
{{Infobox Character

Latest revision as of 09:04, 15 May 2024

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

Fighter

Pays Blanc

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

Alternate Variants
n/a

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

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





Test[edit source]

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