Template:Infobox Character: Difference between revisions

From AnotherEidos R Wiki
Bejeebs (talk | contribs)
No edit summary
Tag: 2017 source edit
Bejeebs (talk | contribs)
No edit summary
Tag: 2017 source edit
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
{{#css:
.anados-infobox {width:400px; background:#e7e7e7; float: right; border: solid black 1px;}
.anados-infobox {background:#e7e7e7; float: right; border: solid black 1px;}
.anados-infobox table{ width:100%; background:#f8f9fa; padding:5px; color: #304762;}
.anados-infobox table{ width:100%; background:#f8f9fa; padding:5px; color: #304762;}
.anados-infobox .character-heading{ min-height:120px; text-align: left; line-height:1.2; padding:5px; display: table-cell; vertical-align: middle;}
.anados-infobox .heading-row{ text-align: left; line-height:1.2; padding:5px; display: table-cell; }
.anados-infobox .character-heading span{font-size:24px; font-weight:bold;}
.anados-infobox .heading-row .heading-cell { width:80%;}
.anados-infobox .character-heading .icon{width:100px; display: table-cell; vertical-align: middle; line-height:1; font-size:10px; text-align:center;}
.anados-infobox .heading-row .heading-cell span{font-size:24px; font-weight:bold;}
.anados-infobox .heading-row .icon{width:10%; font-size:10px; text-align:center;}
.anados-infobox image-container{background-color:#304762; color:white;}
.anados-infobox image-container{background-color:#304762; color:white;}
.anados-infobox .details-table th{background-color:#304762; color: white;}
.anados-infobox .details-table th{background-color:#304762; color: white;}
}}
}}
<div class="anados-infobox">
<div class="anados-infobox">
<table>
<table>
<tr class="character-heading">
<tr class="heading-row">
<td class="character-heading">
<td class="icon">
[[File:{{{class|Fighter}}}.png|50px|  link={{{class|Fighter}}}]]<br>[[{{{class|Fighter}}}]]
</td>
<td class="heading-cell">
{{{character-title|[Title]}}}<br>
{{{character-title|[Title]}}}<br>
<span>{{{character-name|{{PAGENAME}} }}}</span><br>
<span>{{{character-name|{{PAGENAME}} }}}</span><br> {{GetRarityCategory| rarity={{{rarity}}} }}
[[:Category:{{{rarity|6 Stars ☆☆☆☆☆☆}}}|{{{rarity|6 Stars ☆☆☆☆☆☆}}}]]</span>
</span>
</td>
</td>
<td class="icon">
<td class="icon">
[[File:{{{class|Fighter}}}.png|50px|  center | middle|link={{{class|Fighter}}}]]
[[File:{{{country|Pays Blanc}}}.png| 80px | link={{{country|Pays Blanc}}}]]<br>[[{{{country|Pays Blanc}}}]]
[[{{{class|Fighter}}}]]
</td>
<td class="icon">
[[File:{{{country|Pays Blanc}}}.png| 50px |  center | middle|link={{{country|Pays Blanc}}}]]
[[{{{country|Pays Blanc}}}]]
</td>
</td>
</tr>
</tr>
</table>
</table>
<div class="image-container">
<div class="image-container">
{{#tag:tabber | {{!}}-{{!}}  Bronze= [[File:{{{image|Charactername.png}}}|440x440px|center|middle]]  
{{#tag:tabber | {{!}}-{{!}}  {{{tab1|Bronze}}}= [[File:{{{image|Charactername.png}}}|440x440px|center|middle]]  
{{#if: {{{image2|}}} | {{!}}-{{!}} Silver= [[File:{{{image2|Charactername.png}}}|440x440px|center|middle]] }}
{{#if: {{{image2|}}} | {{!}}-{{!}} {{{tab2|Silver}}}= [[File:{{{image2|Charactername.png}}}|440x440px|center|middle]] }}
{{#if: {{{skin-list|}}} | {{!}}-{{!}} {{{skin-list}}} }}  
{{#if: {{{skin-list|}}} | {{{skin-list}}} }}  
}}
}}
</div>
</div>
Line 40: Line 38:
<tr>  
<tr>  
<th>Release Date</th>
<th>Release Date</th>
<td><includeonly>[[:Category:Released by {{{release-year|2021}}}|{{{release-date}}}]]</includeonly></td>
<td><includeonly>[[:Category:Released by {{{release-year|{{#explode:{{{release-date}}}|/|2}}}}}|{{{release-date}}}]]</includeonly></td>
</tr>
</tr>
       {{#if:{{{availability|}}}|
       {{#if:{{{availability|}}}|
Line 51: Line 49:
<div>{{{alternate-list|}}}</div>
<div>{{{alternate-list|}}}</div>
<div>{{{eidos-list|}}}</div>
<div>{{{eidos-list|}}}</div>
<div><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><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> <includeonly>[[Category:{{{class}}}]] [[Category:{{{country}}}]] [[Category:{{{availability}}}]] [[Category:Released by {{{release-year|{{#explode:{{{release-date}}}|/|2}}}}}]]</includeonly>
</div>
__NOTOC__
<div style="display:none;">__NOTOC__
[[Category:{{{class}}}]]
[[Category:{{{country}}}]]
[[Category:{{{rarity}}}]]
[[Category:{{{availability}}}]]
[[Category:Released by {{{release-year|2021}}}]]</div>
<noinclude>
<noinclude>
==Test==
==Test==
<pre><nowiki>
<pre><nowiki>