Difference between revisions of "Template:Compound"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "<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" |- | {| style="width: 100%;" ! colspan="2" style="font-size:110%; border-bottom: 1px solid red; color: red; text-align:left;max-width: 100%" | {{{Name}}} |- | style="font-size:100%; text-align:left; max-width: 50%" | Type: {{{Type}}} | style="font-size:100%; text-align:left; max-wid...")
 
 
(2 intermediate revisions by the same user not shown)
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; display: block; overflow-y: scroll; height: 250px; width: {{{ScreenWidthPercentage|30}}}%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-  
|-  
|
|
Line 27: Line 27:
This template helps create a standard display format for custom drugs.
This template helps create a standard display format for custom drugs.


*Name The name of the drug.
*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 00:55, 19 October 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