|Forums:||Index → Yu-Gi-Oh! Wiki Community Discussion → Image attribute on cards pages||Post new comment|
|Please sign your comments with ~~~~. See Help:Signature and Help:Talk pages for further information.|
Hi. Some of you may have noticed me messing around with a few pages(sorry about that). What I was thinking about was adding a Default image property to card pages, so it can be used in semantic searches to show the card image in the results. I made a template to test it, so here's an example of what I'm talking about:
This is a semantic search for all dark spellcaster monsters with 2300 ATK(see source code). you can see the it returned Chaos Sorcerer's image, but not Emperor of Prophecy's. That's because I added a default image property on chaos sorcerer's page only.(sorry about that, I'll revert it back after this topic is concluded, or you guys can do it if it's breaking any rules.)
I also made a template named "CardImage" witch simply shows a card's name, followed by said image.
This is useful for advanced users who wish to do searches and not have to click the card's link to view all its properties. It can also be used to show a card's image in other page whithout having to link to the image itself(you can just use the template).
Sorry about my bad english :p
BTW, wrong title. I meant "property", not "attribute". Sorry about that :D