Difference between revisions of "Template:Drug"
Jump to navigation
Jump to search
(3 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 17: | Line 17: | ||
|- | |- | ||
| style="font-size:100%; text-align:left; max-width: 50%" | Exotic Ingredient: {{{ExoticIngredient}}} | | style="font-size:100%; text-align:left; max-width: 50%" | Exotic Ingredient: {{{ExoticIngredient}}} | ||
| style="font-size:100%; text-align:left; max-width: 50%" | Cost: {{{Price}}} | | style="font-size:100%; text-align:left; max-width: 50%" | Cost per dose: {{{Price}}} | ||
|- | |||
| style="font-size:100%; text-align:left; max-width: 50%" | Effect: {{{Effect}}} | |||
| style="font-size:100%; text-align:left; max-width: 50%" | Availability: {{{Availability}}} | |||
|- | |- | ||
| colspan="2" style="font-size:100%; text-align:left; max-width: 100%" | Crash: {{{Crash}}} | | colspan="2" style="font-size:100%; text-align:left; max-width: 100%" | Crash: {{{Crash}}} | ||
|- | |- | ||
| colspan="2" style="font-size:80%; border-top: 1px solid; text-align:left; width: 100%" | {{{Description}}} | | colspan="2" style="font-size:80%; border-top: 1px solid; text-align:left; width: 100%" | {{{Description}}} | ||
Line 35: | Line 36: | ||
*Name The name of the drug. | *Name The name of the drug. | ||
* | *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. | ||
* | *Vector The drugs vector. | ||
*Speed The drugs speed | |||
*Duration The duration of the drugs effect | |||
*AddictionTypethe addiction type of the drug | |||
*AddictionRatingThe addiction rating for the drug. | |||
*AddictionThreshold The threshold to not be addicted. | |||
*Effect The drugs effects | |||
*ExoticIngredient any exotic ingredients found in the drug | |||
*Crash The drugs crash effect | |||
*Price the cost per dose of the drug | |||
*Availability the drugs availability | |||
*Description The text associated with the drug. | *Description The text associated with the drug. | ||
Line 44: | Line 55: | ||
{{Drug| | {{Drug| | ||
|Name=Test Drug | |Name=Test Drug | ||
|ScreenWidthPercentage=30 (optional, defaults to 30) | |||
|Vector=Breath | |Vector=Breath | ||
|Speed=14 | |Speed=14 | ||
Line 62: | Line 74: | ||
{{Drug| | {{Drug| | ||
|Name=Test Drug | |Name=Test Drug | ||
|ScreenWidthPercentage=30 (optional, defaults to 30) | |||
|Vector=Breath | |Vector=Breath | ||
|Speed=14 | |Speed=14 |
Latest revision as of 00:55, 19 October 2024
UsageThis template helps create a standard display format for custom drugs.
So, if you enter this: {{Drug| |Name=Test Drug |ScreenWidthPercentage=30 (optional, defaults to 30) |Vector=Breath |Speed=14 |Duration=Requirement |AddictionType=This is some text |AddictionRating=This is some text |AddictionThreshold=This is some text |Effect=Test Effect |ExoticIngredient=Text Ingreed |Crash=Test Crash |Price=100 |Availability=10F |Description=Some Text |}} The template will return the characters current essence/total essence.
|