Difference between revisions of "Template talk:Item infobox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 15: Line 15:
 
| size = 2x1
 
| size = 2x1
 
}}
 
}}
 +
 +
<br>
 +
<code><a href="/rimworld/wiki/File:GraveFull.png" class="image"</code> '''title="test imagecaption"'''<code>>
 +
<img</code> '''alt="test imagecaption"''' <code>src="/rimworld/wiki/images/thumb/6/6f/GraveFull.png/128px-GraveFull.png" width="128" height="96" srcset="/rimworld/wiki/images/thumb/6/6f/GraveFull.png/192px-GraveFull.png 1.5x, /rimworld/wiki/images/6/6f/GraveFull.png 2x"></code>
 
--[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 10:05, 23 October 2013 (EDT)
 
--[[User:AcDie|AcDie]] ([[User talk:AcDie|talk]]) 10:05, 23 October 2013 (EDT)
 
----
 
----

Revision as of 14:11, 23 October 2013

I can't seem to be able to have caption/tooltip on the image (as the "Tooltip" parameter is not useful... as a parameter).
Help !
--British (talk) 09:12, 23 October 2013 (EDT)


as i understand you want
<img src="..." alt="Tooltip here"></img>
when your mouse at image right Tooltip test --AcDie (talk) 09:29, 23 October 2013 (EDT)

Not quite.
My Infobox template makes use of imagecaption, and it does work.
I can't make it to work on your infobox, though.
--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? --AcDie (talk) 09:59, 23 October 2013 (EDT)
True ALT html tag..

Test

Grave
test imagecaption
Size 2x1


<a href="/rimworld/wiki/File:GraveFull.png" class="image" title="test imagecaption"> <img alt="test imagecaption" src="/rimworld/wiki/images/thumb/6/6f/GraveFull.png/128px-GraveFull.png" width="128" height="96" srcset="/rimworld/wiki/images/thumb/6/6f/GraveFull.png/192px-GraveFull.png 1.5x, /rimworld/wiki/images/6/6f/GraveFull.png 2x"> --AcDie (talk) 10:05, 23 October 2013 (EDT)