Difference between revisions of "Template:LS stats"

From PSU Cyril Wiki
Jump to: navigation, search
m (That should fix the color mess...)
(I may have to make a special template to solve that image-breaking-the-table problem.)
Line 31: Line 31:
 
}} || style="background:#f2f2f2" | '''Ment.''' || {{#if: {{{Ment.}}}|{{{Ment.}}}|?}} || style="background:#f2f2f2" | '''Tech.''' || {{#if: {{{Tech.}}}|{{{Tech.}}}|?}}  
 
}} || style="background:#f2f2f2" | '''Ment.''' || {{#if: {{{Ment.}}}|{{{Ment.}}}|?}} || style="background:#f2f2f2" | '''Tech.''' || {{#if: {{{Tech.}}}|{{{Tech.}}}|?}}  
 
|-style="background:#f9f9f9"
 
|-style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Mfr.''' || {{Logo-{{{Mfr.}}}}} | style="background:#f2f2f2" | '''End.''' || {{#if: {{{End.}}}|{{{End.}}}|?}} || style="background:#f2f2f2" | '''Req.''' || {{#if: {{{Req.}}}|{{{Req.}}}|?}}  
+
| style="background:#f2f2f2" | '''Mfr.''' || {{#switch: {{{Mfr.}}}
 +
|G= {{Logo-G}}
 +
|Y= {{Logo-Y}}
 +
|T= {{Logo-T}}
 +
|#default= ?}} | style="background:#f2f2f2" | '''End.''' || {{#if: {{{End.}}}|{{{End.}}}|?}} || style="background:#f2f2f2" | '''Req.''' || {{#if: {{{Req.}}}|{{{Req.}}}|?}}  
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>== Blank template ==
 
<noinclude>== Blank template ==

Revision as of 15:15, 16 April 2008

Blank template

{{LS stats test
|Rarity= 
|Ver.= 
|Mfr.= 
|Def.= 
|Eva.= 
|Ment.= 
|End.= 
|Req.= 
|Att.= 
|Acc.= 
|Tech.= 
}}

Examples

Semi-completed stats

{{LS stats test
|Rarity= 15
|Ver.= AOTI
|Mfr.= Y
|Def.= 256
|Eva.= 360
|Ment.= 210
|End.= 0
|Req.= 136
|Att.= 
|Acc.= 
|Tech.= 
}}

...produces... Template:LS stats test

Empty table

{{LS stats test
|Rarity= 
|Ver.= 
|Mfr.= 
|Def.= 
|Eva.= 
|Ment.= 
|End.= 
|Req.= 
|Att.= 
|Acc.= 
|Tech.= 
}}

...produces... Template:LS stats test