Template:Infobox Character: Difference between revisions

From AnotherEidos R Wiki
Bejeebs (talk | contribs)
No edit summary
Bejeebs (talk | contribs)
No edit summary
Line 1: Line 1:
<!-- Infobox Character
{{#css:
WIP Updated Infoboxm Still figuring out how best to handle some stuff, but it's mostly ok
.anados-infobox { width: 400px; background:#e7e7e7; float:right; padding: 15px;}
    Template: Infobox Character Alter will now just rely on this template
.anados-infobox table{ width:100%; background:#f8f9fa; padding:5px; color:#304762; align:center;}
 
.anados-infobox .character-heading { height:120px; text-align:left; line-height:1.2px; padding-left:15px; display: table-cell; vertical-align: middle;}
note: how it hides empty optional rows is very hacky but it does what it needs to.
.anados-infobox .character-heading span{font-size:24px; font-weight:bold;}
 
.anados-infobox .icon-container {width:100px; display:table-cell; vertical-align: middle; line-height:1px; font-size:10px;}
-->
}}
<div class="infobox" style="min-width: 400px; background:#e7e7e7; overflow:overlay; float:right; padding: 15px;">
<div class="anados-infobox">
<table style="width:100%; background:#f8f9fa; padding:5px; color: #304762; align:center; ">
<table>
<tr>
<tr>
<td style="min-height:120px; text-align:left; width:auto; line-height:1.2; padding-left:15px; display: table-cell; vertical-align: middle;">
<td class="character-heading">
{{{character-title|[Title]}}}<br>
{{{character-title|[Title]}}}<br>
<span style="font-size:24px; font-weight:bold; ">{{{character-name|{{PAGENAME}} }}}</span><br>
<span>{{{character-name|{{PAGENAME}} }}}</span><br>
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
</td>
</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px;">
<td class="icon-container">
[[File:{{{class|Fighter}}}.png|50px|  center | middle|link={{{class|Fighter}}}]]
[[File:{{{class|Fighter}}}.png|50px|  center | middle|link={{{class|Fighter}}}]]
[[{{{class|Fighter}}}]]
[[{{{class|Fighter}}}]]
</td>
</td>
<td style="width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px; ">
<td class="icon-container">
[[File:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
[[File:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
[[{{{country|Pays Blanc}}}]]
[[{{{country|Pays Blanc}}}]]
Line 57: Line 57:
</tr>
</tr>
</table>
</table>
</div>
<div style="background-color:#f8f9fa;">
<div class="infobox-title" style="font-weight:bold; background-color:#304762;  color:white; padding: 10px; margin-bottom:10px; line-height: 0.7;">{{{Good_name|Good Name}}}<br><span style="font-size:16px; line-height: 1.1;">{{{Unit_name|Unit's Title and Full name}}}</span></div>
<div class="infobox-image">[[File:item_crystal_{{{filename|}}}.png|200px|]]</div>
</div>
</div>
<div>{{{alternate-list|}}}</div>
<div>{{{alternate-list|}}}</div>
<div>{{{eidos-list|}}}</div>
<div>{{{eidos-list|}}}</div>
 
<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>
Line 72: Line 75:
[[Category:Released by {{{release-year|2021}}}]]</div>
[[Category:Released by {{{release-year|2021}}}]]</div>
<noinclude>
<noinclude>
==Test==
==Test==
<pre><nowiki>
<pre><nowiki>

Revision as of 11:16, 31 March 2025

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

Fighter

Pays Blanc

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

Alternate Variants
n/a

Good Name
Unit's Title and Full name

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