Difference between revisions of "Template:Compound"

From ShadowHaven Reloaded
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>
<includeonly>
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 30%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: {{{ScreenWidthPercentage|30}}}%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-  
|-  
|
|
Line 28: Line 28:


*Name The name of the compound.
*Name The name of the compound.
*ScreenWidthPercentage This is an optional param which tells the box to only take up X% of the area its assigned to. This will default to 30 but might need to be changed to something else if placed within its own table or something.
*Type Physical or Mana.
*Type Physical or Mana.
*Duration Duration of the compound.
*Duration Duration of the compound.
Line 39: Line 40:
<pre>
<pre>
{{Compound|
{{Compound|
|Name=Test Drug
|Name=Test Compound
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Type=M
|Type=M
|Duration=10H
|Duration=10H
Line 52: Line 54:
The template will return the characters current essence/total essence.  
The template will return the characters current essence/total essence.  
{{Compound|
{{Compound|
|Name=Test Drug
|Name=Test Compound
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Type=M
|Type=M
|Duration=10H
|Duration=10H

Latest revision as of 12:57, 25 August 2024


Usage

This template helps create a standard display format for custom drugs.

  • Name The name of the compound.
  • ScreenWidthPercentage This is an optional param which tells the box to only take up X% of the area its assigned to. This will default to 30 but might need to be changed to something else if placed within its own table or something.
  • Type Physical or Mana.
  • Duration Duration of the compound.
  • Range The rage of the effect
  • Price The price if available
  • Availability The availability if exists.
  • Description The text associated with the drug.

So, if you enter this:

{{Compound|
|Name=Test Compound
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Type=M
|Duration=10H
|Range=100M
|ExoticIngredient=Text Ingreed
|Price=100
|Availability=10F
|Description=Some Text
|}}

The template will return the characters current essence/total essence.

Test Compound
Type: M Range: 100M
Duration: 10H Availability: 10F
Exotic Ingredient: Text Ingreed Cost per dose: 100
Some Text