We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 7 of 7
  1. #1

    Including Items with Hoverover stats?

    Id like to include Item Icons that when you hover over them you get stats. I believe you use some sort of 'Special:itemname" or something, but it doesn't seem to work, any suggestions or walk throughs?
    http://lorebook.lotro.com/wiki/Tinkers_Guide
    .
    Davlin LvL 60 Hunter - Founder of The Hammer and Quill- Landroval
    http://forums.lotro.com/showthread.php?t=238849

  2. #2
    Duwis's Avatar
    Duwis is offline The Lord of the Rings Online Team
    Join Date
    Apr 2008
    Posts
    816

    Re: Including Items with Hoverover stats?

    Quote Originally Posted by Davlin View Post
    Id like to include Item Icons that when you hover over them you get stats. I believe you use some sort of 'Special:itemname" or something, but it doesn't seem to work, any suggestions or walk throughs?
    If you are looking specifically at tooltipped icons in the Lorebook, you should consult The Official XML Tags Guide. If you want to have tooltipped icons on your own external site, consult Sapience's guide on using our Lorebook tooltip library.

    Hope that helps.

  3. #3

    Re: Including Items with Hoverover stats?

    Niether of those methods are accomplishing what I want to do. I insert the XML code but it shows the code instead of the icon. I think I am doing it wrong. If you look at Missy Tailoring guide she has the hides listed in Icon form:

    http://lorebook.lotro.com/wiki/Missy...ailoring_Guide

    I want to accomplish just that but I dont know what to enter under the special properties.
    Last edited by Davlin; Aug 31 2010 at 10:09 AM.
    http://lorebook.lotro.com/wiki/Tinkers_Guide
    .
    Davlin LvL 60 Hunter - Founder of The Hammer and Quill- Landroval
    http://forums.lotro.com/showthread.php?t=238849

  4. #4
    Join Date
    Jun 2010
    Posts
    1,224

    Re: Including Items with Hoverover stats?

    Quote Originally Posted by Davlin View Post
    I insert the XML code but it shows the code instead of the icon.
    Are you by chance using the Rich Editor? Turn it off, the < and > forming the XML tag got apparently translated into HTML entities.
    Re-ni-AN-nen - strayed (ppt. of renia- 'to stray')
    Aeled Reniannen, Defender of Middle-earth ~ Nendhiniel, Forge-Warden : Captain and Wardenette from [EN-RP] Laurelin
    Fluffrash, Blade of Barashish ~ Nathraen, Conqueror of Towers : Warg Puppy and Spider Tailor from the darker side thereof
    Faradwen, Swift-Arrow : Huntress from [EN-RE] Landroval


    As if in answer there came from far away another note. Horns, horns, horns. In dark Mindolluin's sides they dimly echoed. Great horns of the North wildly blowing. Rohan had come at last.
    ~~~~~
    Kári was a little Dwarf. / Smaller than you or me. / And wherever Kári went / He took his axe… or three.

  5. #5
    Duwis's Avatar
    Duwis is offline The Lord of the Rings Online Team
    Join Date
    Apr 2008
    Posts
    816

    Re: Including Items with Hoverover stats?

    For the Lorebook, you first need to get the ID of the thing you want to link to and have a tooltip pop up when you mouse over it. The below instructions are based on the assumption that you are already logged into the Lorebook.

    Let's use the Peerless Turtle-shell Bracelet as an example. You go to that page on the Lorebook and then click on the "Edit" link. Likely, the rich editor is active; wait for the content to load into the editor and then click the "Disable Rich Editor" link.

    Once the rich editor is gone, you should see a block of code like this:
    Code:
    <noedit>
    <seo title="Item DB: - Items - Peerless Turtle-shell Bracelet" metak="lotro, Lord of the Rings Online, wiki, database, Lorebook, LOTR, Middle-earth, Tolkien, Item DB: , Items , Peerless Turtle,shell Bracelet,Bind on Equip,Bracelet,Jewellery" metad="Peerless Turtle-shell Bracelet: A strong bracelet created from the shell of a turtle." />
    <official type="game">
    <item id="1879153827" name="Peerless Turtle-shell Bracelet" />
    </official>
    [[Category:Bind on Equip|Peerless Turtle-shell Bracelet]]
    [[Category:Bracelet|Peerless Turtle-shell Bracelet]]
    [[Category:Jewellery|Peerless Turtle-shell Bracelet]]
    </noedit>

    The bit you are after is this
    Code:
    <item id="1879153827" name="Peerless Turtle-shell Bracelet" />
    The ID for the bracelet is 1879153827. You can now go to your article and edit it to include the XML tag for it. Again, you will need to turn off the rich editor to do this.

    To have an icon link to the bracelet with a mouseover tooltip, you insert this bit of text into your article:
    Code:
    <item id="1879153827" view="icon" />
    This tells MediaWiki you want to render the "Icon" view of the "Item" that has ID "1879153827". The Official XML Tag document outlines the various types of things you can use -- items, recipes, etc. -- and what views they accept -- link, icon, etc.

  6. #6

    Re: Including Items with Hoverover stats?

    got it to work. Thank you!


    just a side note, The Barrow-Iron ore page and the dawn-rose page are both completely blank, I wasn't able to retrieve item numbers on either of them.
    http://lorebook.lotro.com/wiki/Tinkers_Guide
    .
    Davlin LvL 60 Hunter - Founder of The Hammer and Quill- Landroval
    http://forums.lotro.com/showthread.php?t=238849

  7. #7
    Duwis's Avatar
    Duwis is offline The Lord of the Rings Online Team
    Join Date
    Apr 2008
    Posts
    816

    Re: Including Items with Hoverover stats?

    Quote Originally Posted by Davlin View Post
    just a side note, The Barrow-Iron ore page and the dawn-rose page are both completely blank, I wasn't able to retrieve item numbers on either of them.
    Yes, it's a known issue with common loot like that. Fix should be coming with the V3BK2 update of the Lorebook.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload