Difference between revisions of "Template:I love my Mac userbox"

From 68kMLA Wiki
Jump to: navigation, search
(first shot at masking)
(categorization)
Line 2: Line 2:
 
{| cellspacing="0" style="width: 240px; color: black; background: white;"
 
{| cellspacing="0" style="width: 240px; color: black; background: white;"
 
|- style="text-align: center; vertical-align: middle;"
 
|- style="text-align: center; vertical-align: middle;"
! style= "width:40px; height:40px; vertical-align: middle;" | <div style= "position:relative;">[[Image:{{{image|Picasso Mac icon.png}}}|32px]]{{ #ifeq: {{{style|badge}}} | badge |<div style= "background: transparent; opacity: 0.67; z-index: 10; position: absolute; bottom:1px; right: 2px;">[[Image:Love in 6 colors 16x16.png]]</div>}}{{ #ifeq: {{{style|badge}}} | mask |<div style= "background: transparent; z-index: 10; position: absolute; top:0px; left:0px;">[[Image:White 40x40 masked Apple love.png]]</div>}}
+
! style= "width:40px; height:40px; vertical-align: middle;" | <div style= "position:relative;">[[Image:{{{image|Picasso Mac icon.png}}}|32px]]{{ #ifeq: {{{style|badge}}} | badge |<div style= "background: transparent; opacity: 0.67; z-index: 10; position: absolute; bottom:1px; right: 2px;">[[Image:Love in 6 colors 16x16.png]]</div>}}{{ #ifeq: {{{style|badge}}} | mask |<div style= "background: transparent; z-index: 10; position: absolute; top:0px; left:0px;">[[Image:White 32x32 masked Apple love.png]]</div>}}
 
| class="ch" |I ❤ my {{{model|Mac}}}!
 
| class="ch" |I ❤ my {{{model|Mac}}}!
 
|}</div><includeonly>
 
|}</div><includeonly>
Line 18: Line 18:
 
*'''style''': either ''badge'' a heart onto the picture (default), or ''mask'' the image into a heart
 
*'''style''': either ''badge'' a heart onto the picture (default), or ''mask'' the image into a heart
  
[[Category:Userbox templates|{{PAGENAME}}]]
+
{{DEFAULTSORT:{{PAGENAME}}}}
 +
[[Category:Userbox templates]]
 +
[[Category:Templates using ParserFunctions]]
 
</noinclude>
 
</noinclude>

Revision as of 21:45, 18 September 2007


Error icon color.png Broken template
This template is currently broken. Do not use it.
OK

Tell the world what your favorite Mac is!

Usage

  • model: to customize which Mac it is you love the most
  • image: supply a picture
  • style: either badge a heart onto the picture (default), or mask the image into a heart