Template:Character FS: 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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="icon" style=" box-sizing: border-box; border-style: solid; border-width: 5px;
<div class="icon" style=" box-sizing: border-box; border-style: solid; border-width: 5px;
border-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= #b8b9bd| #fd7e00}};  
border-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= #b8b9bd| #fd7e00}};  
background-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= #b8b9bd| #fd7e00}};  
background-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= DarkGray| #fd7e00}};  
text-align:center; display:inline-block; width:145px; height:145px; margin:1px; padding-top:5px;">
text-align:center; display:inline-block; width:145px; height:145px; margin:1px; padding-top:5px;">


<div style="position:absolute;  font-size:0.8em; line-height:1; font-weight:bold;  width:130px; margin-top:5px;"><div style="float:right; color:white;">[[:Category:{{#switch: {{{rarity}}} |☆☆☆☆☆☆☆ = 7| ☆☆☆☆☆☆ = 6|☆☆☆☆☆=5 |☆☆☆☆= 4|☆☆☆= 3|☆☆=2| |☆= 1| 0}} Star{{#ifeq: {{{rarity}}}|☆||s}} {{{rarity}}}|<span style="color:white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; font-weight: bold;">{{{rarity}}}<br>
<div style="position:absolute;  font-size:0.8em; line-height:1; font-weight:bold;  width:130px; margin-top:5px;"><div style="float:right; color:white;">[[:Category:{{#switch: {{{rarity}}} |☆☆☆☆☆☆☆ = 7| ☆☆☆☆☆☆ = 6|☆☆☆☆☆=5 |☆☆☆☆= 4|☆☆☆= 3|☆☆=2| |☆= 1| 0}} Star{{#ifeq: {{{rarity}}}|☆||s}} {{{rarity}}}|<span style="color:white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; font-weight: bold;">{{{rarity}}}<br>
</span>]]<div style="display:{{{limited|none}}};  background-color:red; color:white;padding:1px; width:55px;"> LIMITED </div></div>
</span>]]
{{#switch: {{{limited}}}
| gold ether = <div style=" background-color:gold; color:black; padding:1px; width:55px;"> ETHER </div>
| silver ether = <div style=" background-color:silver; color:black; padding:1px; width:55px;"> ETHER </div>
| flyer = <div style=" background-color:white; color:black; padding:1px; width:55px;"> FLYER </div>
| story = <div style=" background-color:white; color:black; padding:1px; width:55px;"> STORY </div>
| #default = <div style="display:{{{limited|none}}};  background-color:red; color:white;padding:1px; width:55px;"> LIMITED </div>
}}
</div>
</div>
</div>



Latest revision as of 07:37, 3 October 2025

[[:Category:0 Stars {{{rarity}}}|{{{rarity}}}

]]

LIMITED
link={{{class}}}
[[{{{char}}}|{{{char}}}]]

Test[edit source]

{{Character FS | char=Leonhart (Summer)}} {{Character FS | char=Leonhart (Summer) | display=none}} //short hands, use best of chracter's fs and char attributes are mostly the same save for the casing {{Character FS | char=flet}} //shorthand for base characters, make sure to be all lowercase {{Character FS | fs=flet}} //shorthand for base characters and hides name text NEW Can now display rarity adn class {{Character FS | char=Edgar (Awakened) | class=Healer | rarity=☆☆☆☆☆}}

Test:

☆☆☆
LIMITED
☆☆
LIMITED