Difference between revisions of "Template:TavernRestore"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 29: | Line 29: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{EnchTitle||{{{1}}}|{{{6|}}}|True}}{{EnchBody|{{#if: {{{5|}}}||While in a tavern, you slowly recuperate hit points and spell points. This }}{{#switch: {{lc:{{{2|}}}}} | <onlyinclude>{{EnchTitle||{{{1}}}|{{{6|}}}|True}}{{EnchBody|{{#if: {{{5|}}}||While in a tavern, you slowly recuperate hit points and spell points. This }} {{#switch: {{lc:{{{2|}}}}} | ||
| food={{#if: {{{6|}}}|{{{1}}}|food}} | | food={{#if: {{{6|}}}|{{{1}}}|food}} heals {{{3}}} hit points | ||
| drink={{#if: {{{6|}}}|{{{1}}}|drink}} | | drink={{#if: {{{6|}}}|{{{1}}}|drink}} restores {{{3}}} spell points | ||
| tonic ={{#if: {{{6|}}}|{{{1}}}|tonic}} | | tonic ={{#if: {{{6|}}}|{{{1}}}|tonic}} restores {{{3}}} spell points | ||
| balm = {{#if: {{{6|}}}|{{{1}}}|balm}} | | balm = {{#if: {{{6|}}}|{{{1}}}|balm}} heals {{{3}}} hit points | ||
| oil={{#if: {{{6|}}}|{{{1}}}|oil}} | | oil={{#if: {{{6|}}}|{{{1}}}|oil}} repairs {{{3}}} hit points | ||
}} over {{{4}}} minute{{#ifexpr: {{{4}}} > 1|s}}.}} | }} over {{{4}}} minute{{#ifexpr: {{{4}}} > 1|s}}.}} | ||
</onlyinclude> | </onlyinclude> |
Latest revision as of 15:42, 2 June 2022
TavernRestore[edit]
This template is used food and drink available from within a tavern.
Example Usage | |
{{TavernRestore|Well Fed VII|Food|80|1}} | Well Fed VII: While in a tavern, you slowly recuperate hit points and spell points. This food heals 80 hit points over 1 minute. |
{{TavernRestore|Quenched VIII|Drink|2400|2}} | Quenched VIII: While in a tavern, you slowly recuperate hit points and spell points. This drink restores 2400 spell points over 2 minutes. |
{{TavernRestore|Lubricated I|Tonic|480|2}} | Lubricated I: While in a tavern, you slowly recuperate hit points and spell points. This tonic restores 480 spell points over 2 minutes. |
{{TavernRestore|Tasty Ham Oil|oil|50|1|True|Tasty Ham Juice}} | Tasty Ham Juice: Tasty Ham Oil repairs 50 hit points over 1 minute. |
Usage[edit]
{{TavernRestore|(Title)|(Type)|(Points)|(Time)|(Anywhere?)|(Title)}}
Parameter Documentation | |
Title | This is the title of the enchancement |
Type | This is the type of food Possible Values:
|
Points | This is the points that are healed, restored, based on the type of food |
Time | The time frame the healing/restoring takes place. |
Anywhere? | Can this be used anywhere |
Title | The title, if it is different than the default. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}: While in a tavern, you slowly recuperate hit points and spell points. This over {{{4}}} minuteExpression error: Unrecognized punctuation character "{"..