Difference between revisions of "Template talk:Click"

From DotBWiki
Jump to: navigation, search
(position)
(position)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
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.  [[Image:Icon-Gonzo.png|20px]] [[User:Gonzo|'''Gonzo''']] <sup>([[User_talk:Gonzo|talk]] | [[Special:Contributions/Gonzo|stuff]])</sup> 10:23, 25 September 2007 (CEST)
 
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.  [[Image:Icon-Gonzo.png|20px]] [[User:Gonzo|'''Gonzo''']] <sup>([[User_talk:Gonzo|talk]] | [[Special:Contributions/Gonzo|stuff]])</sup> 10:23, 25 September 2007 (CEST)
 
: It was a test, and it says its buggy.. but.. maybe its better than a redirect ? --[[Image:Necromancer-icon.png|16px]] <small>[[User:Vader|<strong>Darth Vader</strong>]]</small> <sup>[[User_talk:Vader|talk]] [[Special:Contributions/Vader|contribs]]</sup> 20:42, 25 September 2007 (CEST)
 
: It was a test, and it says its buggy.. but.. maybe its better than a redirect ? --[[Image:Necromancer-icon.png|16px]] <small>[[User:Vader|<strong>Darth Vader</strong>]]</small> <sup>[[User_talk:Vader|talk]] [[Special:Contributions/Vader|contribs]]</sup> 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 [[Image:Icon-Gonzo.png|20px]] [[User:Gonzo|'''Gonzo''']] <sup>([[User_talk:Gonzo|talk]] | [[Special:Contributions/Gonzo|stuff]])</sup> 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}}
 +
|-
 +
|}
 +
 +
<pre><nowiki>
 +
{|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}}
 +
|-
 +
|}
 +
</nowiki>
 +
* the margin: style makes the table centered.. (remove that style if you don't want that
 +
</pre>
 +
 +
:This is great, cellpadding makes it looks better (imo), thanks [[Image:Icon-Gonzo.png|20px]] [[User:Gonzo|'''Gonzo''']] <sup>([[User_talk:Gonzo|talk]] | [[Special:Contributions/Gonzo|stuff]])</sup> 23:06, 25 September 2007 (CEST)

Latest revision as of 22:07, 25 September 2007

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)