Changes

Jump to: navigation, search

Template:RecipeDescription

4,126 bytes added, 12:05, 28 August 2018
Created page with "<includeonly><div class="recipe-description" style="background-color: #102331; border-radius: 6px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); display: inline-block; margin-top: 1..."
<includeonly><div class="recipe-description" style="background-color: #102331; border-radius: 6px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); display: inline-block; margin-top: 10px; margin-left: 10px; width: 550px; position: relative;">
<div class="recipe-description-title" style="background-color: #0b1821; border-top-right-radius: 6px; line-height: 1; margin-bottom: 20px; padding-bottom: 8px;">
<div class="recipe-description-verb" style="background-color: white; float: left; height: 50px; width: 50px; overflow: hidden; position: absolute; margin-left: -7px; margin-top: -7px; border: solid 2px #000000; border-radius: 6px;">{{#ifexist: File:{{{verb|}}}.png | [[File:{{{verb}}}.png|50x50px]] | [[File:FNORD.png|50x50px|link=]] }}</div>
<div class="recipe-description-label" style="border-bottom: solid 1px #91ddec; color: #91ddec; font-family: 'Philosopher', serif; font-size: 22px; font-weight: 900; margin-left: 54px; margin-right: 10px; padding: 4px 0;">{{{title|title}}}</div>
</div>
<div class="recipe-description-body" style="background-color: #102331; display: flex; margin: 5px 0 10px;">
<div class="recipe-description-description" style="background-color: #09111c; border-radius: 6px; color: #4b929f; flex: 1; font-family: 'Philosopher', serif; font-size: 18px; font-weight: normal; line-height: 1.1; margin: 0 5px 0 10px; max-width: calc(50% - 20px); padding: 10px;">{{{start_description|start_description}}}</div>
<div class="recipe-description-description" style="background-color: #09111c; border-radius: 6px; color: #4b929f; flex: 1; font-family: 'Philosopher', serif; font-size: 18px; font-weight: normal; line-height: 1.1; margin: 0 10px 0 5px; max-width: calc(50% - 20px); padding: 10px;">{{{description|description}}}</div>
</div>
<div class="recipe-description-aspects" style="background-color: #0a141d; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; box-sizing: border-box; color: #91ddec; display: flex; flex-direction: row-reverse; font-family: 'Philosopher', serif; font-size: 22px; font-weight: bold; line-height: 1; padding: 7px; position: relative; overflow: hidden;">
<div class="recipe-description-aspects-list">{{#vardefine: i | 0 }}{{#while:
| {{{aspect{{#var: i}}|}}}
| {{#vardefine: aspect
|{{{aspect{{#var: i }}}}}
}}
<div style="display: inline-block; margin-left: 10px;">[[File:{{#var: aspect}}.png|frameless|32x32px|link=:Category:{{#var: aspect}} {{#switch: {{{fansus|}}}|1=|2=(Vol. II)|3=(Vol. III)}}|{{#var: aspect}}]] <span style="vertical-align: middle;">{{{quantity{{#var: i }}|}}}</span></div>
{{#vardefine: i
|{{#expr:{{#var: i }} + 1}}
}}
}}
</div>
</div>
</div></includeonly><noinclude>The '''RecipeDescription''' template can be used to insert a Cultist Simulator-styled full description of a recipe.

'''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...).

<pre>{{RecipeDescription
|verb =
|title =
|start_description =
|description =
|aspect0 =
|quantity0 =
|fansus =
}}</pre>

'''Example:'''

<pre>{{RecipeDescription
|verb =
|title =
|start_description =
|description =
|aspect0 =
|quantity0 =
|fansus =
}}</pre>

{{RecipeDescription
|verb = Talk
|title = Found a Mystical Organisation
|start_description = Here is someone I might work with. A companion, or a follower. But first, I must give them something to follow. A society; a sodality; an order; a cult.
|description = I have begun my true work. The authorities will take an interest in it. I must be ready for them. [You have begun to establish your cult. It will need a little more, before you can recruit followers.]
|aspect0 = acquaintance
|fansus = 1
}}

[[Category:Top-level templates]]</noinclude>

Navigation menu