Template:Infobox Character: Difference between revisions

From AnotherEidos Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(99 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="infobox">
<!-- Infobox Character
<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}}}|300px]]</div>}}}
    Template: Infobox Character Alter will now just rely on this template
<table>
 
{{{#if:{{{param1|}}}|<tr> <th>Illustration</th>  
note: how it hides empty optional rows is very hacky but it does what it needs to.
<td>{{{param1}}}</td></tr>}}}
 
{{{#if:{{{param2|}}}|<tr> <th>Pronouns</th>  
-->
<td>{{{param2}}}</td></tr>}}}
<div class="infobox" style="min-width: max-content; background:#e7e7e7; overflow:overlay;">
{{{#if:{{{param3|}}}|<tr> <th>Country</th>
 
<td>{{{param3}}}</td></tr>}}}
<table style="width:100%; background:#f8f9fa; padding:5px; color: #304762; align:center; ">
{{{#if:{{{param4|}}}|<tr> <th>Release Date</th>
<tr>
<td>{{{param4}}}</td></tr>}}}
<td style="min-height:120px; text-align:left; width:auto; line-height:1.2; padding-left:15px; display: table-cell; vertical-align: middle;">
{{{#if:{{{param5|}}}|<tr><th>Girlboss</th>
{{{character-title|[Title]}}}<br>
<td>{{{param5}}}</td> </tr>}}}</table> </div>
<span style="font-size:24px; font-weight:bold; ">{{{character-name|{{PAGENAME}} }}}</span><br>
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px;">
[[File:{{{class|Fighter}}}.png|50px|  center | middle|link={{{class|Fighter}}}]]
[[{{{class|Fighter}}}]]
</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px; ">
[[File:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
[[{{{country|Pays Blanc}}}]]
</td>
</tr>
</table>
<table class="wikitable mw-collapsible" style="width:100%; margin: 0.4em 0; border:0;" >
<th>{{{image-label|Bronze}}}</th>
<tr><td>[[File:{{{image|Charactername.png}}}|440x440px|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}}}|440x440px|center|middle]]</td></tr>
</table>
{{{skin-list|}}}
<table style="width:100%; padding-top:10px;">
<tr>  
<th style="background-color:#304762; color: white;">Illustrator</th>  
<td style="background-color:white;">{{{illustrator-link}}}</td>
</tr>
<tr>
<th  style="background-color:#304762; color: white;">Release Date</th>
<td style="background-color:white;">[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</td>
</tr>
<tr style="display:{{{availability|none}}};">  
<th style="background-color:#304762; color: white;">Availability</th>
<td style="background-color:white;">[[:Category:{{{availability}}}|{{{availability}}}]]</td>
</tr>
</table>
<div style="display:{{{alternate-link|none}}}">
<table style="width:100%; padding-top:10px;">
<tr>
<td style="background-color:white;">
<span style=" color:#304762; font-weight:bold;">Alternate Variants</span><br>
{{{alternate-link|n/a}}}
</td>
</tr>
</table>
</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:{{{country}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{availability}}}]]
[[Category:Released by {{{release-year|2021}}}]]</div>
<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>

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