FANDOM


m (Item Sets Integration: ItemArticle link for clarification)
m (Item Sets Integration)
Line 147: Line 147:
 
*[[User:Tusva/Dev/Tooltip]] - Updated version of [[Template:Tooltip]] to include embedding item set
 
*[[User:Tusva/Dev/Tooltip]] - Updated version of [[Template:Tooltip]] to include embedding item set
 
*[[User:Tusva/Dev/Item]] - Example Item Using Updated Tooltip Template
 
*[[User:Tusva/Dev/Item]] - Example Item Using Updated Tooltip Template
*[[User:Tusva/Dev/ItemArticle]] - Example of an embedded Armor Set on a reformatted armor set page.
+
*[[User:Tusva/Dev/SetArticle]] - Example of an embedded Armor Set on a reformatted armor set page.
   
 
The only thing I'm still chewing over is how to embed the Set info. Ideally we'd put it somewhere in the Item Set page (ie: [[Redemption Armor]]), if not displayed perhaps hidden in comments? Not sure. At the least, it'd reduce the TONS of Set Templates we have swimming around ([[:Category:Set_Table_Templates]]) each of which has a separate article about that set. Best to keep the info all in one place that distributing it around, don'tcha think?
 
The only thing I'm still chewing over is how to embed the Set info. Ideally we'd put it somewhere in the Item Set page (ie: [[Redemption Armor]]), if not displayed perhaps hidden in comments? Not sure. At the least, it'd reduce the TONS of Set Templates we have swimming around ([[:Category:Set_Table_Templates]]) each of which has a separate article about that set. Best to keep the info all in one place that distributing it around, don'tcha think?

Revision as of 20:03, June 26, 2007

Description
Creates a WoW styled tooltip for items and characters.
When using {{effect2}} for sockbonus please specify sockbonus with a null value (eg.sockbonus=), and use sblink= instead.
When using {{effect2}} for effect please specify effect as the effect type (eg.effect=Use:), and use elink= instead.
qitem, qbegin, locked and socket require any value to display, qitem=1 or qitem=yes for example.
unique and unique-eq require being set to no value or an amount greater than 1 when applicable. Eg. unique= = Unique and unique=5 = Unique (5).
locked will automatically add "<Right Click to Open>" for effect.
rep and rfaction work together. Example: rep=Friendly, rfaction=Argent Dawn
For multiple items for a single parameter (attrib, sockets, effect) simply use <br /> after each value for that parameter.
For bind use the following:
  • BoP - Binds when picked up
  • BoE - Binds when equipped
  • BoU - Binds when used
create and createq should be used together eg. create=Runed Copper Pants and createq=Uncommon.
Please use {{socket}} for sockets and {{cost}} for vendor and sell.
Syntax
{{Tooltip|<float=> |<width=> |<icon=> |<stack=> |<name=> |<quality=> |<bind=> |<duration=> |<qitem=> |<unique=> |<unique-eq=> |<qbegin=> |<type=> |<slot=> |<speed=> |<dmg=> |<dmgtype=> |<bonus=> |<bonustype=> |<dps=> |<armor=> |<instancebind=> |<block=> |<attrib=> |<req=> |<sockets=> |<sockbonus=> |<sblink=> |<durability=> |<locked=> |<bag=> |<races=> |<classes=> |<rep=> |<rfaction=> |<skill=> |<level=> |<effect=> |<create=> |<createq=> |<mats=> |<charges=> |<comment=> |<desc=> |<cooldown=> |<cast=> |<vendor=> |<sell=> |<ilvl=>}}
Named parameters can be in any order and any or all can be left out.
Example
{{Tooltip
|float=right
|width=18em
|icon=INV_Axe_34
|name=Zulian Stone Axe
|quality=Rare
|bind=BoP
|type=Axe
|slot=Two-Hand
|speed=2.80
|dmg=131 - 197
|dps=58.6
|attrib=+22 Intellect
|durability=100
|level=60
|effect=
Equip: +44 Attack Power.<br />
Equip: Improves your chance to get a critical strike by 1%.
|comment=Bears the mark of Jin
|sell={{cost|8|78|68}}
|ilvl=68
}}
Result
Inv axe 34

Rules for changing this template

We desperately need to clearly describe the rules we are going to use for changing this template. Please put them here. --Fandyllic (talk · contr) 6:47 PM PDT

For this specific template, the change should be suggested first on the talk page and agreed upon by several admins. Discussion on the IRC channel is likely, but the result of any discussion there should be posted here first. Kirkburn talk contr 22:04, 21 March 2007 (EDT)
A good start, but I think we need to be more specific:
  • What are several admins?
  • Will notice of an upcoming change appear here before the change or after? After would be bad, but unless someone is actively watching this page, I guess its not a big deal.
  • Where will notice of the change be posted here? I recommend at the top, preferrably in a section called "Approved Changes".
--Fandyllic (talk · contr) 11:29 AM PDT 22 Mar 2007

Discussion

Past discussions archived to...

Item Sets Integration

Looking for feedback and input on this. The current way we implement Item Sets is a touch sloppy, but it worked with the previous Wiki software. I think it's time to readdress this at this time, however, and I think embedding it into the Tooltip (only to be displayed on the item page, not when included) is the way to go to draw the parallel to the in-game tooltip.

I've come up with a few test articles for review:

The only thing I'm still chewing over is how to embed the Set info. Ideally we'd put it somewhere in the Item Set page (ie: Redemption Armor), if not displayed perhaps hidden in comments? Not sure. At the least, it'd reduce the TONS of Set Templates we have swimming around (Category:Set_Table_Templates) each of which has a separate article about that set. Best to keep the info all in one place that distributing it around, don'tcha think?

Anywho, I think this is worth looking into and coming up with a standard that isn't so bulky. -- TUSVA ~ T | C 19:57, 12 June 2007 (UTC)

Looks good to me --GRYPHONtc 20:06, 12 June 2007 (UTC)
Any additional feedback? I'd like to start finalizing how we're going to implement these. -- TUSVA ~ T | C 19:57, 26 June 2007 (UTC)

Color for extra armor

Perhaps I'm missing something, but I can't see how to mark increased armor value as green in some items' tooltips. Take a look at Tree-Mender's Belt for example -- for this ilvl it should have 196 armor, but some of the itemization points were spent for increased armor value, hence the green color here. Should we mark it in similar way to Wowhead or leave it as it is now? -- Vysogota T / C

A few changes in /Dev

I've modified {{Tooltip/Dev}} to fix three issues:

  • Unique and Unique-Equipped parameters currently do not handle 1 gracefully. (unique=1 results in "Unique (1)", dev version would give "Unique")
  • sockets= argument is ignored unless socket= is also set. I believe someone made a typo, since socket= is not used for anything other than to check whether we need to include sockets=.
  • There's no instancebind= parameter in current revision. Some items, like [Staff of Disintegration] are bound to a specific instance - something that our tooltips don't reflect at the moment.

Merge my changes? -- Starlightblunder 14:57, 18 June 2007 (UTC)

I would suggest making the instanceBind variable a link, as there is most likely going to be an article with the same name as the zone. And if we're talking about an update to the template, I'd like my previous suggestion (two sections above) of embedding the set_name field so we can move forward on adding those to tooltips. -- TUSVA ~ T | C 15:51, 18 June 2007 (UTC)
I've added another tweak to the unique and unique-eq parameter handling to /Dev (this removes the empty brackets we have currently appearing where no unique/unique-eq value has been specifies), as well as short set and setpc parameters for sets. Check it out the demo at Template talk:Tooltip/Dev and if you're okay with the new set stuff, we should merge it again soon. -- Starlightblunder 23:52, 21 June 2007 (UTC)
I have updated the Unique fixes, should see if there is anyone has feedback about the item set. --GRYPHONtc 00:05, 22 June 2007 (UTC)

Source

'Source' should be added. I realize this has been mentioned before in the archives, but I would like to see it happen eventually. --Cisox 18:57, 26 June 2007 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.