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
 
(14 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{ text-align: left; line-height:1.2; padding:5px; display: table-cell; }
.anados-infobox .heading-row{ text-align: left; line-height:1.2; padding:5px; display: table-cell; }
.anados-infobox .character-heading .heading-cell { width:80%;}
.anados-infobox .heading-row .heading-cell { width:80%;}
.anados-infobox .character-heading .heading-cell span{font-size:24px; font-weight:bold;}
.anados-infobox .heading-row .heading-cell span{font-size:24px; font-weight:bold;}
.anados-infobox .character-heading .icon{width:10% ;font-size:10px; text-align:center;}
.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="icon">
<td class="icon">
[[File:{{{class|Fighter}}}.png|50px|  link={{{class|Fighter}}}]]<br>[[{{{class|Fighter}}}]]
[[File:{{{class|Fighter}}}.png|50px|  link={{{class|Fighter}}}]]<br>[[{{{class|Fighter}}}]]
</td>
</td>
<td class="heading-cell>
<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}}} }}
{{#switch: {{#explode:{{{rarity}}}| |1}}
</span>
| 0,1 = [[:Category: {{#explode:{{{rarity}}}| |1}} Star ☆|{{#explode:{{{rarity}}} Star☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Star☆]]
| 2 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆|{{#explode:{{{rarity}}} Stars ☆☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆]]
| 3 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆|{{#explode:{{{rarity}}} Stars ☆☆☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆]]
| 4 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆|{{#explode:{{{rarity}}} Stars ☆☆☆☆]]  [[Category:{ {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆]]
| 5 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆|{{#explode:{{{rarity}}} Stars ☆☆☆☆☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆]]
| 6 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆☆|{{#explode:{{{rarity}}} Stars ☆☆☆☆☆☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆☆]]
| 7 = [[:Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆☆☆|{{#explode:{{{rarity}}} Stars ☆☆☆☆☆☆☆]]  [[Category: {{#explode:{{{rarity}}}| |1}} Stars ☆☆☆☆☆☆☆]]
}}
</span>
</td>
</td>
<td class="icon">
<td class="icon">
[[File:{{{country|Pays Blanc}}}.png| 80px | link={{{country|Pays Blanc}}}]]<br>[[{{{country|Pays Blanc}}}]]
[[File:{{{country|Pays Blanc}}}.png| 80px | link={{{country|Pays Blanc}}}]]<br>[[{{{country|Pays Blanc}}}]]
Line 50: Line 38:
<tr>  
<tr>  
<th>Release Date</th>
<th>Release Date</th>
<td><includeonly>[[:Category:Released by {{{release-year|{{#explode:{{{release-date}}}|/|3}}}}}|{{{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 61: 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:{{{availability}}}]]  
[[Category:Released by {{{release-year|{{#explode:{{{release-date}}}|/|3}}}}}]]
</div>
<noinclude>
<noinclude>
==Test==
==Test==
<pre><nowiki>
<pre><nowiki>