Difference between revisions of "Template:ElementDescription"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <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;"> | + | <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; text-align: left;"> |
− | <div class="element-description-image" style="height: 90px; margin-bottom: 26px; overflow: hidden; width: 90px; | + | <div class="element-description-image" style="height: 90px; margin-bottom: 26px; overflow: hidden; position: absolute; width: 90px; left: -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" | + | <div class="element-description-body" style="min-height: 110px; overflow: hidden; padding: 0px 10px 10px 75px; 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="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 | + | <div class="element-description-title" style="font-family: 'Philosopher', serif; font-size: 24px; font-weight: 900; line-height: 1; margin: 10px 0;">{{{title|title}}}</div> |
− | <div class="element-description-description" style=" | + | <div class="element-description-description" style="overflow: hidden; font-family: 'Philosopher', serif; font-size: 18px; font-weight: normal; color: #64A9A4; line-height: 1.1;">{{{description|description.}}}</div> |
</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="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;"> |
Latest revision as of 11:18, 28 August 2018
The ElementDescription template can be used to insert a Cultist Simulator-styled full description element (e.g. an acquaintance, an expedition, etc.).
Usage: Copy the code below, adding as many aspects and quantities as you wish. Quantities are optional, and leaving them out implies a quantity of one. If the element belongs to a Fansus other than the first one, also specify the fansus argument with the number (1, 2, 3...).
{{ElementDescription |image = |title = |description = |aspect0 = |quantity0 = |fansus = }}
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 |fansus = 2 }}