Difference between revisions of "Template:Drug"
Jump to navigation
Jump to search
(One intermediate revision 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 36: | 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. | *Vector The drugs vector. | ||
*Speed The drugs speed | *Speed The drugs speed | ||
Line 54: | 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 72: | 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.
|