Template talk:Click

From DotBWiki
Jump to: navigation, search

Nice one :) Doesn't work for me though :( I tried {{Click|image=GonzoMain.png|link=user:Gonzo|width=100px|height=25px}} Like this:

{{{position}}}

Icon-Gonzo.png Gonzo (talk | stuff) 10:12, 25 September 2007 (CEST)

/doh.... ofc it doesn't work on user:gonzo Thanks for this :D Icon-Gonzo.png Gonzo (talk | stuff) 10:13, 25 September 2007 (CEST)

position

For some reason it automaticly adds a line break after the image. So, I figured, let's see how they look on the right. Which didn't look ok, also which didn't work.. I left the edit. Any idea's? I think it's related to the div tags, however I can't just remove those tags. Icon-Gonzo.png Gonzo (talk | stuff) 10:23, 25 September 2007 (CEST)

It was a test, and it says its buggy.. but.. maybe its better than a redirect ? --Necromancer-icon.png Darth Vader talk contribs 20:42, 25 September 2007 (CEST)
Well thanks to your example below it works and looks good now :) So, once again you are my hero Icon-Gonzo.png Gonzo (talk | stuff) 23:07, 25 September 2007 (CEST)

Example

Lets try this: (remember image floating follow standard image tag rules.. so images besides each other need to be in a table.

{|style="margin: 1em auto 1em auto" border="1" cellpadding="10"
|{{Click|image=Necromancer-icon.png|link=user:Vader|width=20px|height=20px}}
|{{Click|image=Warrior-icon.png|link=user:Gonzo|width=20px|height=20px}}
|{{Click|image=Ranger-icon.png|link=Kratos Moonsilver|width=20px|height=20px}}
|-
|}

* the margin: style makes the table centered.. (remove that style if you don't want that
This is great, cellpadding makes it looks better (imo), thanks Icon-Gonzo.png Gonzo (talk | stuff) 23:06, 25 September 2007 (CEST)