Difference between revisions of "Template:ElementDescription"

From The Fansus
Jump to: navigation, search
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;">
   <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-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" class="overflow: hidden; position: relative;">
+
   <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; height: 24px; line-height: 1; position: absolute; top: 5px; left: 75px;">{{{title|title}}}</div>
+
     <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="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 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;">

Revision as of 10:57, 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
}}
FNORD.png
Neville, a Key
In his dreams, Neville sees the flaws where the world and its ways can be opened.
Mortal
Follower
Disciple
Exalted
Knock 10