Template:Infobox Character: Difference between revisions
From AnotherEidos R Wiki
No edit summary |
original>Jeebs No edit summary |
||
Line 1: | Line 1: | ||
<!-- Infobox Character | |||
. | WIP Updated Infoboxm Still figuring out how best to handle some stuff, but it's mostly ok | ||
Template: Infobox Character Alter will now just rely on this template | |||
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;"> | |||
<table style="width:100%; background:#f8f9fa; padding:5px; color: #304762; align:center; "> | |||
<tr> | <tr> | ||
<td | <td style="min-height:120px; text-align:left; width:auto; line-height:1.2; padding-left:15px; display: table-cell; vertical-align: middle;"> | ||
{{{character-title|[Title]}}}<br> | {{{character-title|[Title]}}}<br> | ||
<span>{{{character-name|{{PAGENAME}} }}}</span><br> | <span style="font-size:24px; font-weight:bold; ">{{{character-name|{{PAGENAME}} }}}</span><br> | ||
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span> | [[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span> | ||
</td> | </td> | ||
<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}}}]] | [[File:{{{class|Fighter}}}.png|50px| center | middle|link={{{class|Fighter}}}]] | ||
[[{{{class|Fighter}}}]] | [[{{{class|Fighter}}}]] | ||
</td> | </td> | ||
<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}}}]] | [[File:{{{country|Pays Blanc}}}.png| 50px | center | middle|link={{{country|Pays Blanc}}}]] | ||
[[{{{country|Pays Blanc}}}]] | [[{{{country|Pays Blanc}}}]] | ||
Line 29: | Line 25: | ||
</tr> | </tr> | ||
</table> | </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}}}|330px|center|middle]]</td></tr> | |||
}} | </table> | ||
<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>Illustrator</th> | <th style="background-color:#304762; color: white;">Illustrator</th> | ||
<td>{{{illustrator-link}}}</td> | <td style="background-color:white;">{{{illustrator-link}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th >Release Date</th> | <th style="background-color:#304762; color: white;">Release Date</th> | ||
<td><includeonly>[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</includeonly></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>Availability</th> | <th style="background-color:#304762; color: white;">Availability</th> | ||
<td>[[:Category:{{{availability}}}|{{{availability}}}]]</td> | <td style="background-color:white;">[[:Category:{{{availability}}}|{{{availability}}}]]</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
< | |||
<tr> | <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> | </tr> | ||
</table> | </table> | ||
</div> | |||
<div style="display:{{{Good_name|none}}};">{{Crystalline Good|Good_name={{{Good_name}}} | filename={{{filename}}} }}</div> | |||
<div>{{{alternate-list|}}}</div> | <div>{{{alternate-list|}}}</div> | ||
<div>{{{eidos-list|}}}</div> | <div>{{{eidos-list|}}}</div> | ||
<div | |||
<span | <div style="display:"> | ||
<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> | |||
</div></div> | </div></div> | ||
<div style="display:none;">__NOTOC__ | <div style="display:none;">__NOTOC__ | ||
Line 66: | Line 75: | ||
[[Category:Released by {{{release-year|2021}}}]]</div> | [[Category:Released by {{{release-year|2021}}}]]</div> | ||
<noinclude> | <noinclude> | ||
==Test== | ==Test== | ||
<pre><nowiki> | <pre><nowiki> |