Open main menu

The Fansus β

Changes

Template:ElementDescription

2,899 bytes added, 07:07, 28 August 2018
Created page with "<includeonly><div class="element-description" style="background-color: #fefffc; border-radius: 6px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6); display: inline-block; margin-l..."
<includeonly><div class="element-description" style="background-color: #fefffc; border-radius: 6px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6); display: inline-block; margin-left: 50px; width: 550px; position: relative;">
<div class="element-description-image" style="height: 90px; margin-bottom: 26px; overflow: hidden; width: 90px; position: relative; right: 30px; top: 5px; border: solid 2px #000000; border-radius: 6px; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6); transform: rotate(-4deg); z-index: 10;">{{#ifexist: {{{image|}}} | [[{{{image}}}|90x90px]] | [[File:FNORD.png|90x90px|link=]] }}</div>
<div class="element-description-body" class="overflow: hidden; position: relative;">
<div class="paper-texture" style="position: absolute; bottom: 0px; top: 0; right: 0; left: 0; opacity: 0.2; pointer-events: none;"></div>
<div class="element-description-title" style="font-family: 'Philosopher', serif; font-size: 24px; font-weight: 900; height: 24px; line-height: 1; position: absolute; top: 5px; left: 75px;">{{{title|title}}}</div>
<div class="element-description-description" style="height 100px; width: 470px; overflow: hidden; position: absolute; top: 35px; left: 75px; font-family: 'Philosopher', serif; font-size: 18px; font-weight: normal; color: #64A9A4; line-height: 1.1;">{{{description|description.}}}</div>
</div>
<div class="element-description-aspects" style="background-color: #ddd5be; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; box-sizing: border-box; color: #348694; display: flex; flex-direction: row-reverse; font-family: 'Philosopher', serif; font-size: 22px; font-weight: bold; padding: 7px; position: relative; overflow: hidden;">
<div class="paper-texture" style="position: absolute; bottom: 0px; top: 0; right: 0; left: 0; opacity: 0.2; pointer-events: none;"></div>
<div class="element-description-aspects-list">{{#vardefine: i | 0 }}{{#while:
| {{{aspect{{#var: i}}|}}}
| {{#vardefine: aspect
|{{{aspect{{#var: i }}}}}
}}
<div style="display: inline-block; margin-left: 20px;">[[File:{{#var: aspect}}.png|frameless|32x32px|link=:Category:{{#var: aspect}}|{{#var: aspect}}]] <span style="vertical-align: middle;">{{{quantity{{#var: i }}|}}}</span></div>
{{#vardefine: i
|{{#expr:{{#var: i }} + 1}}
}}
}}
</div>
</div>
</div></includeonly><noinclude>The '''ElementDescription''' template can be used to insert a Cultist Simulator-styled full description element (e.g. an acquaintance, an expedition, etc.).

'''Example:'''

{{ElementDescription
|image = File:Neville.png
|title = Neville, a Key
|description = In his dreams, Neville sees the flaws where the world and its ways can be opened.
|aspect0 = Mortal
|aspect1 = Follower
|aspect2 = Disciple
|aspect3 = Knock
|quantity3 = 10
}}</noinclude>