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; 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-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" style="min-height: 110px; overflow: hidden; padding: 0px 10px 10px 75px; 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>

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