Difference between revisions of "Template:ElementDescription"

From The Fansus
Jump to: navigation, search
Line 13: Line 13:
 
             |{{{aspect{{#var: i }}}}}
 
             |{{{aspect{{#var: i }}}}}
 
           }}
 
           }}
           <div style="display: inline-block; margin-left: 10px;">[[File:{{#var: aspect}}.png|frameless|32x32px|link=:Category:{{#var: aspect}}|{{#var: aspect}}]] <span style="vertical-align: middle;">{{{quantity{{#var: i }}|}}}</span></div>
+
           <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
 
           {{#vardefine: i
 
             |{{#expr:{{#var: i }} + 1}}
 
             |{{#expr:{{#var: i }} + 1}}
Line 22: Line 22:
 
</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.).
 
</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.).
  
'''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.
+
'''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>{{ElementDescription
 
<pre>{{ElementDescription
Line 30: Line 30:
 
|aspect0    =
 
|aspect0    =
 
|quantity0  =
 
|quantity0  =
 +
|fansus      =
 
}}</pre>
 
}}</pre>
  
Line 43: Line 44:
 
|aspect3    = Knock
 
|aspect3    = Knock
 
|quantity3  = 10
 
|quantity3  = 10
 +
|fansus      = 2
 
}}</pre>
 
}}</pre>
  
Line 55: Line 57:
 
|aspect4    = Knock
 
|aspect4    = Knock
 
|quantity4  = 10
 
|quantity4  = 10
 +
|fansus      = 2
 
}}
 
}}
  
 
[[Category:Top-level templates]]</noinclude>
 
[[Category:Top-level templates]]</noinclude>

Revision as of 08:24, 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