Template:Useitem: Difference between revisions
imported>Quietust No edit summary |
imported>Flargen have this template autocat spleen/booze/food by organ damage |
||
Line 22: | Line 22: | ||
|- | |- | ||
{{#if:{{{limiter|}}}|{{!}}align="center"{{!}}{{#switch:{{{type}}}| | {{#if:{{{limiter|}}}|{{!}}align="center"{{!}}{{#switch:{{{type}}}| | ||
food=(You gain {{{limiter}}} [[Fullness]].)| | food=(You gain {{{limiter}}} [[Fullness]].){{#ifeq:{{{autocat|y}}}|[[Category:Food (By Fullness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]}}| | ||
booze=You gain {{{limiter}}} [[Drunkenness]].| | booze=You gain {{{limiter}}} [[Drunkenness]].{{#ifeq:{{{autocat|y}}}|[[Category:Booze (By Drunkenness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]}}| | ||
spleen=(You gain {{{limiter}}} [[Spleen]].)}}}} | spleen=(You gain {{{limiter}}} [[Spleen]].){{#ifeq:{{{autocat|y}}}|[[Category:Spleentacular Items (By Spleen Damage)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}(?)}}]]}}}}}} | ||
|- | |- | ||
{{#ifeq:{{{type}}}|familiar| | {{#ifeq:{{{type}}}|familiar| | ||
Line 60: | Line 60: | ||
adv=1-3| | adv=1-3| | ||
type=food| | type=food| | ||
limiter=2}} | limiter=2| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 71: | Line 72: | ||
posteffect={{AcquireEffect|effect=Spooky Breath (effect)|duration=5}}| | posteffect={{AcquireEffect|effect=Spooky Breath (effect)|duration=5}}| | ||
type=food| | type=food| | ||
limiter=5}} | limiter=5| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 80: | Line 82: | ||
posteffect={{acquire|item=tiny plastic sword}}| | posteffect={{acquire|item=tiny plastic sword}}| | ||
type=booze| | type=booze| | ||
limiter=6}} | limiter=6| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 91: | Line 94: | ||
posteffect={{AcquireEffect|effect=Gothy|duration=20}}| | posteffect={{AcquireEffect|effect=Gothy|duration=20}}| | ||
type=booze| | type=booze| | ||
limiter=3}} | limiter=3| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 102: | Line 106: | ||
posteffect={{AcquireEffect|effect=Hot Blooded|duration=10}}| | posteffect={{AcquireEffect|effect=Hot Blooded|duration=10}}| | ||
type=spleen| | type=spleen| | ||
limiter=1}} | limiter=1| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 113: | Line 118: | ||
posteffect={{meat|amount=20-25}}| | posteffect={{meat|amount=20-25}}| | ||
type=food| | type=food| | ||
limiter=6}} | limiter=6| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 121: | Line 127: | ||
mox=gain 11-15| | mox=gain 11-15| | ||
type=spleen| | type=spleen| | ||
limiter=1}} | limiter=1| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| | ||
Line 129: | Line 136: | ||
mys=gain 11-15| | mys=gain 11-15| | ||
type=spleen| | type=spleen| | ||
limiter=1}} | limiter=1| | ||
autocat=n}} | |||
---- | ---- | ||
{{useitem| | {{useitem| |
Revision as of 19:41, 22 June 2012
|- |align="center" {{#ifeq:{{{type}}}|combat|rowspan="3"}}|[[File:{{Data|{{{item|{{PAGENAME}}}}}|image|nopic2.gif}}|link={{{item|{{PAGENAME}}}}}]] |- {{#ifeq:{{{type}}}|familiar|{{!}}You put the {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}(?)}} in your [[Familiar-Gro™ Terrarium (Campground)|Familiar-Gro™ Terrarium]].<br /><br />}} |- {{#if:{{{text|}}}| {{!}}{{{text|}}}}} |- {{#if:{{{effect|}}}|{{!}}align="center"{{!}}{{{effect}}}}} |- {{#if:{{{adv|}}}|{{!}}align="center"{{!}}{{adv|amount={{{adv}}}}}}} |- {{#if:{{{advmin|}}}|{{!}}align="center"{{!}}{{adv|min={{{advmin}}}|max={{{advmax}}}}}}} |- {{#if:{{{advloss|}}}|{{!}}align="center"{{!}}{{adv|type=lose|amount={{{advloss}}}}}}} |- {{#ifexpr:{{#if:{{{mus|}}}|1|0}}+{{#if:{{{mys|}}}|1|0}}+{{#if:{{{mox|}}}|1|0}}>0| {{!}}{{stat|mus={{{mus|}}}|mys={{{mys|}}}|mox={{{mox|}}}}}}} |- {{#if:{{{posteffect|}}}|{{!}}align="center"{{!}}{{{posteffect}}}}} |- {{#if:{{{limiter|}}}|{{!}}align="center"{{!}}{{#switch:{{{type}}}| food=(You gain {{{limiter}}} [[Fullness]].){{#ifeq:{{{autocat|y}}}|[[Category:Food (By Fullness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]}}| booze=You gain {{{limiter}}} [[Drunkenness]].{{#ifeq:{{{autocat|y}}}|[[Category:Booze (By Drunkenness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]}}| spleen=(You gain {{{limiter}}} [[Spleen]].){{#ifeq:{{{autocat|y}}}|[[Category:Spleentacular Items (By Spleen Damage)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}(?)}}]]}}}}}} |- {{#ifeq:{{{type}}}|familiar| {{!}}align="center" {{!}} [[File:{{Data|{{{becomes}}}|image|nopic2.gif}}|link={{{becomes}}}]] {{!}}- {{!}}You decide to name {{#switch:{{Data|{{{becomes}}}|gender|m}}|f=her|m=him|n=it|#default=him}} '''{{#switch:{{{becomes}}}|Tickle-Me Emilio=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=[[Familiar Names|Cth{{familiar name|cap=n}}]]|BRICKO chick=[[Familiar Names|{{BRICKOnum}}]]|Baby Bugged Bugbear=snɔɐʇɹɐdS|Mini-Hipster=[[Hobo Names#First Names|{{HoboFirstName}}]]|#default=[[Familiar Names|{{familiar name}}]]}}'''.|}}
|}Usage
{{useitem| parameter=value| etc.}}
All parameters are optional. Valid paramters include:
item=
item page name (only specify when using this template outside of the item's page, i.e. special combat item messages for tower monsters)text=
consumption messageadv=
number of adventures gainedadvloss=
number of adventures losteffect=
any special effect granted instead of adventures (PvP fights, Oyster Egg effects, HP/MP gains or meat/item drops from general non-spleen usable items)mus=
gain/lose N Muscle substat pointsmys=
gain/lose N Mysticality substat pointsmox=
gain/lose N Moxie substat pointsposteffect=
any special effect granted after substat bonuses (hi mein/wad/gloomy wine effects, MP gains from booze, meat/item drops from food/booze)type=
food, booze, or spleen|limiter=
N to indicate fullness/drunkenness/spleen damage
- or
type=
combat or familiar
For type=familiar
, the following parameter is also needed:
becomes=
Page name for the familiar that the associated hatchling becomes. The template will pull off the familiar name and gender for use in formatting the template's output.
Examples
![]() | ||
You eat the Knoll mushroom. It tastes bad, but it's nutritious. | ||
| ||
(You gain 2 Fullness.) |
![]() | ||
You eat the spooky hi mein, jumping at every noise, including the noise of your chopsticks on the bowl. | ||
| ||
| ||
| ||
(You gain 5 Fullness.) |
![]() | ||
You drink the sangria del diablo. Transubstantastic! | ||
| ||
| ||
| ||
You gain 6 Drunkenness. |
![]() | ||
You drink the gloomy mushroom wine. Now the torment within your soul is matched by the torment within your stomach. | ||
| ||
| ||
| ||
You gain 3 Drunkenness. |
![]() | ||
You chew the wad until the flavor runs out. | ||
| ||
| ||
| ||
(You gain 1 Spleen.) |
![]() | ||
Man oh man, that's some tasty ramen. And cheap! | ||
| ||
| ||
| ||
(You gain 6 Fullness.) |
![]() | |
You eat the lavender striped oyster egg. | |
| |
(You gain 1 Spleen.) |
![]() | ||
You eat the yellow paisley oyster egg. | ||
| ||
| ||
(You gain 1 Spleen.) |
![]() | ||
You pry open the Ribs of the Bonerdagon, and thus open the Chest of the Bonerdagon. A strange mist pours forth from within it, and goes into your nostrils. It smells bad, but it makes you feel pretty good. | ||
| ||
You're also able to scrape quite a bit of meat off of the inside of the Ribs.
|
![]() | ||
You drink the soda water. With no regard for propriety or personal space, the bubbles tickle your nose. | ||
|
![]() | ||
You carry your sign around the base of Mt. McLargeHuge for a few hours, chanting catchy anti-Yeti-hunting slogans. | ||
|
![]() |
You put the sabre-toothed lime cub in your Familiar-Gro™ Terrarium. |
It begins to pace back and forth menacingly. |
![]() |
You decide to name him Stadolph. |
![]() |
You activate the photoprotoneutron torpedo, and it emits a series of beeps. It then rockets toward your opponent, exploding on impact for 39 damage. |