Editing Template talk:Item infobox

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
 
----
 
----
 
: as i understand you want <pre><img src="..." alt="Tooltip here"></img></pre> when your mouse at image right [[File:Template-info.png|Tooltip test]] --[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 09:29, 23 October 2013 (EDT)
 
: as i understand you want <pre><img src="..." alt="Tooltip here"></img></pre> when your mouse at image right [[File:Template-info.png|Tooltip test]] --[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 09:29, 23 October 2013 (EDT)
----
 
:: Not quite.<br>My [[Template:Structure|Infobox template]] makes use of ''imagecaption'', and it does work.<br>I can't make it to work on your infobox, though.<br>--[[User:British|British]] ([[User talk:British|talk]]) 09:41, 23 October 2013 (EDT)
 
----
 
:::Looking at [[Template:Structure]] and I can't understand what role it performs, like caption for youtube videos at frontpage? --[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 09:59, 23 October 2013 (EDT)
 
:::: True ALT html tag..
 
----
 
::::: [[Template:Structure]] is a global infobox, since I've added so many parameters as time and needs went by...<br>It uses standard image manipulation [https://www.mediawiki.org/wiki/Help:Images#Syntax syntax], just like in your [[Template_talk:Item_infobox#Test|test]] down there.<br>--[[User:British|British]] ([[User talk:British|talk]]) 10:16, 23 October 2013 (EDT)
 
----
 
There's really no need to separate the width and height of the items, as is it commonly understood. The items can also be rotated, which renders that detail moot. Keep it as 1x2, for instance.<br>Also, a max width of 220 for the infobox seems about right, as long as bigger items still enlarge that as needed...<br>--[[User:British|British]] ([[User talk:British|talk]]) 08:42, 24 October 2013 (EDT)
 
----
 
:Template its just template, we can always modify it... not tested big pics, max i used 192px or smaller<br>--[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 18:16, 24 October 2013 (EDT)
 
----
 
:: * I insist that the "Tooltip" line is ludicrous, it should either be displayed as a caption, or not at all. That's why I added the '''[http://ludeon.com/rimworld/wiki/index.php?title=Template:Item_infobox&curid=557&diff=1122&oldid=1120 Note parameter]''' which you '''[http://ludeon.com/rimworld/wiki/index.php?title=Template:Item_infobox&curid=557&diff=1268&oldid=1265 removed]''' without an explanation...<br>* Regarding the width of 220px I mentionned, it's the width of the infobox, not of the images... and in the asset images I uploaded, some are bigger than that. The point of setting the infobox width to 220 is that all the boxes on all the pages will be shown equal.<br>* I also insist that there is absolutely no point in having a separate widths and heights for items, besides making things more complicated.<br>--[[User:British|British]] ([[User talk:British|talk]]) 05:52, 25 October 2013 (EDT)
 
----
 
::: Tooltip is short info, all other important information better place as raw text (Or if info/description too long), also i'm sorry for "Note" was deleted by accident :P. We merge "width" & "height" filds little later. Anyway in plans rebuild this template. <br>--[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 06:38, 25 October 2013 (EDT)
 
----
 
::: I understand how the "Tooltip" field is used in that infobox, but it's the term ''tooltip'' I'm fighting against. By [http://en.wikipedia.org/wiki/Tooltip definition], a tooltip is something that is displayed when hovering the cursor above an element. That's why "Note" made more sense (until we can figure out why the tooltip isn't working out as a proper tooltip.<br>Using <code><nowiki>image = [[File:image.png|Some text]]</nowiki></code> is '''NOT''' the proper way to do it... we should have just like in ['''[[Template:Structure|my template]]''']:<br><code><nowiki>{{!}} class="infobox-image" colspan="2" align="center" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]</nowiki></code><br>This makes use of:
 
:::* <code>image = some_image.png</code>
 
:::* <code>imagecaption = Some tooltip</code>
 
:::<br>Which brings me to another subject: as much as it's easier to fill in pages, I don't think it's optimal to have the name of the image be taken out of the name of the page, and forcing <code><nowiki>image = [[File:image.png]]</nowiki></code> into the call to the template is not clean either... What's wrong with naming a specific file as I shown above (<code>image = some_image.png</code>) ?!<br>--[[User:British|British]] ([[User talk:British|talk]]) 07:24, 25 October 2013 (EDT)
 
----
 
==After test==
 
It may work, but the caption is not a parameter(such as image, type), and so it's not straight-forward to use...<br>--[[User:British|British]] ([[User talk:British|talk]]) 08:45, 24 October 2013 (EDT)
 
::Deal with it little later, we have issue at Main Page, <nowiki>__NOTITLE__</nowiki> shows <br>--[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 09:14, 24 October 2013 (EDT)
 
 
== Size ==
 
 
We really need to change the infobox's sizes. It's way too big right now: too much width (I don't know what the "em" is about), too much height, the spacing between the lines should be smaller, and the black bar (formerly "info") should be half thin (or even a third)...<br>--[[User:British|British]] ([[User talk:British|talk]]) 06:54, 28 October 2013 (EDT)
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)