Difference between revisions of "Template:ButtonLink"

From 2value wiki 2
Jump to navigation Jump to search
Line 1: Line 1:
<div style="border:2px solid #fff; background:#dff6ff; clear:both;display:block; overflow:hidden; height:100px; width:80px;">{{Image|name={{{name}}}|ilink={{{ilink}}}|caption={{{caption}}}|title={{{name}}} {{{shorttext}}}|alt={{{name}}} {{{shorttext}}} }}</div>
+
<div style="border:2px solid #fff; background:#dff6ff; clear:both;display:block; overflow:hidden; height:100px; padding:2px; width:80px;">{{Image|name={{{name}}}|ilink={{{ilink}}}|caption={{{caption}}}|title={{{name}}} {{{shorttext}}}|alt={{{name}}} {{{shorttext}}} }}</div>
 
<span style="border:2px solid #fff; clear:both; display:block; padding:2px; background:#87d2f2; width:80px; text-align:center;">[[{{{ilink}}}|{{{shorttext}}}]]</span>
 
<span style="border:2px solid #fff; clear:both; display:block; padding:2px; background:#87d2f2; width:80px; text-align:center;">[[{{{ilink}}}|{{{shorttext}}}]]</span>
 
<noinclude>
 
<noinclude>
 
This is the template for a single button
 
This is the template for a single button
 
</noinclude>
 
</noinclude>

Revision as of 18:08, 16 November 2010

[[Image:{{{name}}}.png|64px|link={{{ilink}}}|alt={{{name}}} {{{shorttext}}}]]
{{{caption}}}

[[{{{ilink}}}|{{{shorttext}}}]]

This is the template for a single button