Template:Character FS: Difference between revisions

From AnotherEidos R Wiki
Bejeebs (talk | contribs)
No edit summary
Bejeebs (talk | contribs)
No edit summary
Tag: 2017 source edit
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#css:
<div class="icon" style=" box-sizing: border-box; border-style: solid; border-width: 5px;
.fs-container {background-color:#eaecf0; text-align:center; display:inline-block; padding: 0.45em; width:{{{size|100}}}px; height:{{{size|100}}}px;}
border-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= #b8b9bd| #fd7e00}};
.fs-container .class-icon {position:absolute; margin:2px; }
background-color:{{#switch: {{{rarity}}} |☆☆☆☆☆=#d8be12|☆☆☆☆= #7e2062|☆☆☆= #00459b|☆☆ |☆= DarkGray| #fd7e00}};  
.fs-container .limited-icon {position:absolute; margin-top:2px; margin-left:70px; }
text-align:center; display:inline-block; width:145px; height:145px; margin:1px; padding-top:5px;">
.fs-container .fs-image {width: {{{size|100}}}px; height: {{{size|100}}}px;}
 
.fs-container .name-container {position:absolute; margin-top:-21px; background-color:white; opacity:0.8; width:{{{size|100}}}px}
<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>
.fs-container .name-container .name{font-size:.62em; font-weight:bold; line-height: 1; padding: 3px 0;}
</span>]]
.fs-container .name-container .name a{color:green;}
{{#switch: {{{limited}}}
.fs-container .name-container .rarity{color:#745300; font-size:.65em; font-weight:bold; line-height:.8;}
| 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 class="fs-container">
{{#if: {{{class|}}} | <div class="class-icon" > [[File:{{{class|Vanguard}}}.png|25px|link={{{class}}}]] </div> }} {{#if: {{{limited|}}} | <div class="limited-icon"> [[File:limited.png|25px|link=Category:Alternate Character| Limited/Alternate Character ]]</div> }}
<div class="fs-image">[[File:FS_{{lc:{{{char|{{{fs}}}}}}}}.png | {{{size|100}}}px | link={{{char|{{{fs|Unreleased}}}}}}]]</div>
{{#if: {{{char|}}} | <div class="name-container"><div class="name">[[{{{char}}}|{{{alt-text|{{{char}}}}}}]]</div> }} {{#if: {{{rarity|}}} |<div class="rarity">{{{rarity}}}</div> }}
</div>
</div>
</div>
</div>
<noinclude>
 
<div style="position:absolute; margin-left:10px; margin-top:5px; display:{{{class|none}}}; float:left;" > [[File:{{{class|Vanguard}}}.png|30px|link={{{class}}}]] </div>
 
<div>[[File:FS_{{lc:{{{char|{{{fs|Unreleased}}}}}}}}.png | 130px | link={{{char|{{{fs|Unreleased}}}}}}|]]</div>
 
<div style="float: right; position:relative; bottom:20px; color:white;  width:100%; height:30px; font-weight:bold; display:{{{display| {{{char|none}}} }}}; line-height:1; padding: 3px 0; font-size:0.8em;">[[{{{char}}}|<span style=" text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;; color:white; font-weight: bold;">{{{alt-text|{{{char}}}}}}]]<span></div>
</div><noinclude>
==Test==
==Test==
<nowiki>
<nowiki>
Line 31: Line 37:


Test:
Test:
{{Character FS | char=Leonhart (Summer) | display=none}}{{Character FS| char=Leonhart (Summer)| limited=}}{{Character FS | char=Leonhart (Summer) | display=none}}{{Character FS | char=Flet}}{{Character FS | fs=flet}}{{Character FS | char=Edgar (Awakened) | class=Healer | rarity=☆☆☆☆☆}}
<div>
{{Character FS | char=Leonhart (Summer) | display=none}} {{Character FS| char=Leonhart (Summer)| limited=}} {{Character FS | char=Leonhart (Summer) | display=none}}{{Character FS | char=Edgar (Awakened) | class=Healer | rarity=☆☆☆☆☆}}
{{Character FS | char=Orta & Pollon (Summer) |class=Guard |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Edgar (Awakened) | class=Healer | rarity=☆☆☆☆☆| alt-text=wow}}
{{Character FS | char=Amorey (Summer) |class=Vanguard |rarity=☆☆☆☆☆☆}}
 
{{Character FS | char=Kafka |class=Vanguard |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Mammon |class=Stranger |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Pugi (Summer) |class=Healer |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Zacharoff (Demon) |class=Fighter |rarity=☆☆☆☆☆}}
{{Character FS | char=Barboros (Awakened) |class=Fighter |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Lyon |class=Vanguard |rarity=☆☆☆}}
{{Character FS | char=Atmos |class=Fighter |rarity=☆☆☆☆}}
{{Character FS | char=Folker |class=Support |rarity=☆☆}}
{{Character FS | char=Zed |class=Vanguard |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Seals (Awakened) |class=Vanguard |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Rai (Awakened) |class=Support |rarity=☆☆☆☆☆☆}}
{{Character FS | char=Bulkski |class=Healer |rarity=☆☆☆☆☆}}
{{Character FS | char=Lyon (Awakened) |class=Caster |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=Kafka (Awakened) |class=Guard |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=Baran (Awakened) |class=Healer |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=Dward (Awakened) |class=Fighter |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=FullHouse (Awakened) |class=Support |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=Equus (Awakened) |class=Stranger |rarity=☆☆☆☆☆☆| limited=}}
{{Character FS | char=Kagura (Setsubun) |class=Caster |rarity=☆☆☆☆☆☆| limited=}}</div>
</noinclude>
</noinclude>

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