Template talk:Item infobox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>94Connor949-gpuser
(Blanking. The discussions on this talk page were about the template that eventually became a new version of Template:Item. It's no longer relevant to anything.)
Tag: Blanking
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Item Template==


With this awesome template done, I'm guessing we can now scrap [[Template:Item]]. [[User:Iamacyborg|Iamacyborg]] ([[User talk:Iamacyborg|talk]]) 16:44, 10 February 2013 (UTC)
:I agree, great looking template!  Now all we need is for someone to implement the js they use over on [[http://www.wowpedia.org wowpedia]] to make mouse-hover links work in the wiki. [[http://www.wowpedia.org/Death_knight_abilities example]] -- [[User:Nightblade|Nightblade]] ([[User talk:Nightblade|talk]]) 00:40, 11 February 2013 (UTC)
::Oh wow, I didn't know [[Template:Item]] existed, someone has put a lot of work into that. Seems a shame to just discard it. It is outdated though since the game had a UI overhaul.
::About making these show up as tooltips, there is a way to do it without javascript (just pure css), that is slightly less awesome but still gets the job done. I'll give you an example when I get the chance. — [[User:Malice|Malice]] ([[User_talk:Malice|talk]]) 03:02, 11 February 2013 (UTC)
::: Oooh, I can't wait! :) (I think wowpedia's js uses ajax btw.) --[[User:Nightblade|Nightblade]] ([[User talk:Nightblade|talk]]) 04:40, 11 February 2013 (UTC)
:::: Tooltips are definitely something we can do, but I think we'll have to be really careful with how often it's implemented. It really isn't something we want to overdo, and should only be used in places where it makes sense, like in guides. You can see an example of Tooltip JS at the [http://www.wikiswtor.com/MediaWiki:Common.js SW TOR wiki] [[User:Iamacyborg|Iamacyborg]] ([[User talk:Iamacyborg|talk]]) 19:46, 11 February 2013 (UTC)
:::Yeah, I worked the [[Template:Item]] a while back. No one ever used it though and most people, like you Malice, didn't know it existed. Where the hell were you Malice when we needed you months ago?! O well, your new template looks great now! See it in use: [[Unique_Swords]]. How do I center the template within the column?
:::We really need to get the Fontin Smallcaps font embedded into the wiki somehow. Just look at the difference in the two fonts with [http://imageshack.us/a/img855/2482/fontlr.png IMAGE 1] and [http://imageshack.us/a/img850/8076/nofont.png IMAGE 2] --[[User:FaceLicker|FaceLicker]] ([[User talk:FaceLicker|talk]]) 17:55, 11 February 2013 (UTC)
== Complexity ==
{{Hover
|style=width:200px; float:left; margin-right:10px; margin-bottom:10px;
|header={{HoverHeader|type=gem|1=Skills}}
|1=<div style="text-align:left; padding-left: 1em;">
;[[Passive Skills|Passives]]
;[[Skill Gems]]
:[[Dexterity Skills]]
:[[Intelligence Skills]]
:[[Strength Skills]]
;[[Support Gems]]</div>}}
I tried to this template as flexible as I could, in case someone want to use it for something other than what it was created for. For instance you could conceivably use it on the main page for the boxes (as shown here), or for just about anything else. But do you think it is easy enough to use? Making an item look right is reasonably complicated. Regular wiki people will be able to get the hang of it, but people with little wiki/html/css experience might be a bit lost. What do you think. — [[User:Malice|Malice]] ([[User_talk:Malice|talk]]) 05:53, 11 February 2013 (UTC)
:I'm of two minds here. First of all, in regards to using this to replace the boxes on the main page, I have to categorically say no to that option. Any change to the template would then have possibly disturbing repercussions on the look of the main page. As to the complexity of the template, I do feel that it is over the top and is going to be seriously intimidating for new editors. This is something that has to be guarded against, since we always want to promote the ease of editing by ANYONE visiting the wiki. Complexity is also a factor in longevity. I'm glad to see you are providing relative complete documentation, since with any luck, this wiki is going to be around for a LONG time, while editors (you included) will come and go, and in that instance any templates should be easy to understand and modify by the next generation of editors. That's my 2cents. --<small> [[User:Wynthyst|Wynthyst]] [[Image:User Wynthyst sig icon.png ]] [[User talk:Wynthyst|<span style="color:#00B6FF">''talk''</span>]]</small> 18:43, 11 February 2013 (UTC)
::Right, I wasn't suggesting to actually use it on the main page, just using that as an example. Thanks for the feedback about the complexity, I'm pretty new here but I gather that you have a lot of wiki experience so when you say it's seriously intimidating I'll take you at your word. It could be possible to nest it in another layer of more specific, less flexible templates (say one for unique weapons, one for rare wepaons, etc., so normal editors would just be presented with a simple list of values to input. But that would add yet another layer of complexity. But if that makes it actually possible for people to use it, then it might be worth it.
::It's happened to me before that I've been reading a wiki and seen a small error. Then I try to correct it end end up down a bottomless pit of nested templates trying to find the data haha, I appreciate it's best to keep things simple where possible.
::One last thing if you have any suggestions to improve the documentation, I'd love to hear it — [[User:Malice|Malice]] ([[User_talk:Malice|talk]]) 19:01, 11 February 2013 (UTC)
:::It's also possible to add most if not all of the functionality of the multiple templates into a single template. The resulting template CODE is complex, but the usage then becomes very simple. The coding requires a lot of parser syntax, etc., so it can be tricky to get working, and you often have to add a plethora of optional fields to cover all the available options, but it IS possible. You can see a prime example [http://www.diablowiki.com/Template:Infobox_Item here]. --<small> [[User:Wynthyst|Wynthyst]] [[Image:User Wynthyst sig icon.png ]] [[User talk:Wynthyst|<span style="color:#00B6FF">''talk''</span>]]</small> 19:27, 11 February 2013 (UTC)
== New Prophecy Header ==
I have updated versions of [[:File:Hover header single edges.png]] and [[:File:Hover header single fills.png]] ready to go, but I'm not sure if I should upload them yet. I'm worried they will break the templates or something. Is there anything that needs to be changed first to support another header?
--[[User:94Connor949|Connor]] ([[User talk:94Connor949|Talk]] | [[Special:Contributions/94Connor949|contribs]]) 00:20, 20 May 2016 (UTC)

Latest revision as of 16:16, 16 January 2022