Template:Useitem: Difference between revisions

From A KoL Wiki
imported>Evilkolbot
m i hope this doesn't need to get a forum post (gtg)
imported>Oneforfortytwo
added artistic goth kid
Line 29: Line 29:
{{!}}align="center" {{!}} [[File:{{Data|{{{becomes}}}|image|nopic2.gif}}|link={{{becomes}}}]]
{{!}}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|Homemade Robot={{BotName}}|Mini-Hipster=[[Hobo Names#First Names|{{HoboFirstName}}]]|Flaming Face={{HotWord}} [[Hobo Names#First Names|{{HoboFirstName}}]]|#default=[[Familiar Names|{{familiar name}}]]}}'''.|}}
{{!}}You decide to name {{#switch:{{Data|{{{becomes}}}|gender|m}}|f=her|m=him|n=it|#default=him}} '''{{#switch:{{{becomes}}}|Artistic Goth Kid=[[Familiar Names|{{GothKidName}}]]|Tickle-Me Emilio (familiar)=[[Familiar Names|Emilio]]|Clockwork Grapefruit=[[Familiar Names|6655321]]|Squamous Gibberer=[[Familiar Names|Cth{{familiar name|cap=n}}]]|BRICKO chick=[[Familiar Names|{{BRICKOnum}}]]|Baby Bugged Bugbear=[[Familiar Names|snɔɐʇɹɐdS]]|Homemade Robot=[[Familiar Names|{{BotName}}]]|Mini-Hipster=[[Familiar Names|{{HoboFirstName}}]]|Flaming Face=[[Familiar Names|{{HotWord} {{HoboFirstName}}]]|#default=[[Familiar Names|{{familiar name}}]]}}'''.|}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{prot_high-use}}
{{prot_high-use}}

Revision as of 16:56, 17 March 2013

This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{| style="margin-left: auto; margin-right: auto; line-height: 150%; padding-right: 5%; padding-left: 5%;"

|- |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}}}|y|[[Category:Food (By Fullness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]|}}| booze=You gain {{{limiter}}} [[Drunkenness]].{{#ifeq:{{{autocat|y}}}|y|[[Category:Booze (By Drunkenness)|{{{limiter}}}, {{Data|{{{item|{{PAGENAME}}}}}|name|{{{item|{{PAGENAME}}}}}}}]]|}}| spleen=(You gain {{{limiter}}} [[Spleen]].){{#ifeq:{{{autocat|y}}}|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}}}|Artistic Goth Kid=[[Familiar Names|{{GothKidName}}]]|Tickle-Me Emilio (familiar)=[[Familiar Names|Emilio]]|Clockwork Grapefruit=[[Familiar Names|6655321]]|Squamous Gibberer=[[Familiar Names|Cth{{familiar name|cap=n}}]]|BRICKO chick=[[Familiar Names|{{BRICKOnum}}]]|Baby Bugged Bugbear=[[Familiar Names|snɔɐʇɹɐdS]]|Homemade Robot=[[Familiar Names|{{BotName}}]]|Mini-Hipster=[[Familiar Names|{{HoboFirstName}}]]|Flaming Face=[[Familiar Names|{{HotWord} {{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 message
  • adv=number of adventures gained
  • advloss=number of adventures lost
  • effect=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 points
  • mys=gain/lose N Mysticality substat points
  • mox=gain/lose N Moxie substat points
  • posteffect=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

{{#ifeq:food|familiar|
You eat the Knoll mushroom. It tastes bad, but it's nutritious.
AdventuresYou gain 1-3 Adventures.
(You gain 2 Fullness.)
link={{{becomes}}}
Artistic Goth Kid=Chuckle "Draco" Dreadraven|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthtranathan|BRICKO chick=3562|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Handsomebot 1000|Mini-Hipster=Clyde|Flaming Face={{HotWord} Clyde|#default=Taraham}}.|}}

{{#ifeq:food|familiar|
You eat the spooky hi mein, jumping at every noise, including the noise of your chopsticks on the bowl.
AdventuresYou gain 21-29 Adventures.
You gain 15-20 Strengthliness.
You gain 70-75 Wizardliness.
You gain 30-35 Sarcasm.
You acquire an effect: Spooky Breath
(duration: 5 Adventures)
(You gain 5 Fullness.)
link={{{becomes}}}
Artistic Goth Kid=Charlie "Raven" Bloodwing|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthtudolph|BRICKO chick=7750|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Joybot 1000|Mini-Hipster=Louis|Flaming Face={{HotWord} Louis|#default=Huddeus}}.|}}

{{#ifeq:booze|familiar|
You drink the sangria del diablo. Transubstantastic!
AdventuresYou gain 22-26 Adventures.
You gain 16-20 Mysteriousness.
You acquire an item: tiny plastic sword
You gain 6 Drunkenness.
link={{{becomes}}}
Artistic Goth Kid=Davey "Vladimir" Nightwing|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthholliam|BRICKO chick=5321|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Nicebot 6000|Mini-Hipster=Leroy|Flaming Face={{HotWord} Leroy|#default=Granald}}.|}}

{{#ifeq:booze|familiar|
You drink the gloomy mushroom wine. Now the torment within your soul is matched by the torment within your stomach.
AdventuresYou gain 13-17 Adventures.
You gain 12-15 Muscleboundness.
You gain 13-15 Magicalness.
You gain 12-15 Cheek.
You acquire an effect: Gothy
(duration: 20 Adventures)
You gain 3 Drunkenness.
link={{{becomes}}}
Artistic Goth Kid=Stevie "Lucius" Nightgrip|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthfruginald|BRICKO chick=5412|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Handsomebot 1000|Mini-Hipster=Virgil|Flaming Face={{HotWord} Virgil|#default=Stollace}}.|}}

{{#ifeq:spleen|familiar|
You chew the wad until the flavor runs out.
AdventuresYou gain 1 Adventure.
You gain 24-30 Strengthliness.
You gain 5-10 Mysteriousness.
You gain 16-20 Chutzpah.
You acquire an effect: Hot Blooded
(duration: 10 Adventures)
(You gain 1 Spleen.)
link={{{becomes}}}
Artistic Goth Kid=Jack "Lucius" Duskraven|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthtalliam|BRICKO chick=8401|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Awesomebot 5000|Mini-Hipster=Jedediah|Flaming Face={{HotWord} Jedediah|#default=Frofflesby}}.|}}

{{#ifeq:food|familiar|
Man oh man, that's some tasty ramen. And cheap!
AdventuresYou gain 22-29 Adventures.
You gain 23-28 Strongness.
You gain 23-28 Wizardliness.
You gain 23-28 Roguishness.
You gain 20−25 Meat.
(You gain 6 Fullness.)
link={{{becomes}}}
Artistic Goth Kid=Charlie "Lucius" Fearwyrm|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthstoraham|BRICKO chick=8702|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Nicebot 9000|Mini-Hipster=Pontius|Flaming Face={{HotWord} Pontius|#default=Hufflesby}}.|}}

{{#ifeq:spleen|familiar|
You eat the lavender striped oyster egg.
You gain 11-15 Fortitude.
You gain 11-15 Sarcasm.
(You gain 1 Spleen.)
link={{{becomes}}}
Artistic Goth Kid=Freddy "Lucius" Blackwing|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthfrutchell|BRICKO chick=9168|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Funbot 6000|Mini-Hipster=Theodore|Flaming Face={{HotWord} Theodore|#default=Wuginald}}.|}}

{{#ifeq:spleen|familiar|
You eat the yellow paisley oyster egg.
You acquire an effect: Egg-headedness
(duration: 20 Adventures)
You gain 11-15 Wizardliness.
(You gain 1 Spleen.)
link={{{becomes}}}
Artistic Goth Kid=Joey "Lucius" Bloodcrest|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthtubastian|BRICKO chick=5772|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Doodlebot 6000|Mini-Hipster=Daddy|Flaming Face={{HotWord} Daddy|#default=Gonald}}.|}}

{{#ifeq:{{{type}}}|familiar|
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 gain 150 Strengthliness.
You gain 150 Mysteriousness.
You gain 150 Chutzpah.
You're also able to scrape quite a bit of meat off of the inside of the Ribs.
You gain 3,000 Meat.
link={{{becomes}}}
Artistic Goth Kid=Chuckle "Raven" Dirgemist|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthgrubert|BRICKO chick=3444|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Awesomebot 7000|Mini-Hipster=Manuel|Flaming Face={{HotWord} Manuel|#default=Stabert}}.|}}

{{#ifeq:{{{type}}}|familiar|
You drink the soda water. With no regard for propriety or personal space, the bubbles tickle your nose.
MPYou gain 3−5 Mana Points.
link={{{becomes}}}
Artistic Goth Kid=Woody "Lucius" Nightraven|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthwodolph|BRICKO chick=7362|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Happybot 3000|Mini-Hipster=Walter|Flaming Face={{HotWord} Walter|#default=Tronathan}}.|}}

{{#ifeq:{{{type}}}|familiar|
You carry your sign around the base of Mt. McLargeHuge for a few hours, chanting catchy anti-Yeti-hunting slogans.
AdventuresYou lose 1 Adventure.
link={{{becomes}}}
Artistic Goth Kid=Jeffy "Lucius" Diregrip|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthgrutchell|BRICKO chick=2929|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Awesomebot 2000|Mini-Hipster=Andre|Flaming Face={{HotWord} Andre|#default=Boderick}}.|}}

{{#ifeq:familiar|familiar|
You put the sabre-toothed lime cub in your Familiar-Gro™ Terrarium.

It begins to pace back and forth menacingly.
Artistic Goth Kid=Johnny "Vlad" Drakebane|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthstallace|BRICKO chick=8758|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Funbot 3000|Mini-Hipster=Garrett|Flaming Face={{HotWord} Garrett|#default=Bobert}}.|}}

{{#ifeq:combat|familiar|
You activate the photoprotoneutron torpedo, and it emits a series of beeps. It then rockets toward your opponent, exploding on impact for 39 damage.
link={{{becomes}}}
Artistic Goth Kid=Nate "Raven" Direwyrm|Tickle-Me Emilio (familiar)=Emilio|Clockwork Grapefruit=6655321|Squamous Gibberer=Cthtanald|BRICKO chick=4177|Baby Bugged Bugbear=snɔɐʇɹɐdS|Homemade Robot=Joybot 2000|Mini-Hipster=Ulrich|Flaming Face={{HotWord} Ulrich|#default=Guddeus}}.|}}