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

From 68kMLA Wiki
Jump to: navigation, search
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="float: left; border:solid darkblue 1px; margin: 2px;">
+
<div style="float: left; border:solid darkred 1px; margin: 2px; width:100%;">
{| cellspacing="0" style="width: 240px; color: black; background: white;"
+
{| cellspacing="0" style="width: 100%; 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;" | {{ #if: {{{image|}}}  | <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:-2px; right: -2px;">[[Image:Love in 6 colors 24x24.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>}} | [[Image:Love in 6 colors 32x32.png]] }}
+
! style= "width:40px; height:40px; vertical-align: middle; align: center;" | {{ #if: {{{image|}}}  | <div style="position:relative; width: 100%; height: 100%;"><div style= "position:absolute; top: 4px; left: 4px; width: 32px; height: 32px;">[[Image:{{{image|Picasso Mac icon.png}}}|32px]]{{ #ifeq: {{{style|badge}}} | badge |<div style= "background: transparent; opacity: 0.67; z-index: 10; position: absolute; bottom:-2px; right: -6px;">[[Image:Love in 6 colors.png|16px]]</div>}}{{ #ifeq: {{{style|badge}}} | mask |<div style= "background: transparent; z-index: 10; position: absolute; top:0px; left:0px;">[[Image:White masked Apple love.png|32px]]</div>}} | [[Image:Love in 6 colors.png]] }}
 
| class="ch" |I ❤ my {{{model|Mac}}}!
 
| class="ch" |I ❤ my {{{model|Mac}}}!
|}</div><includeonly>
+
|}</div></div><includeonly>
</includeonly><noinclude>
+
</includeonly><noinclude>{{userboxtop|toptext=Demo}}{{I love my Mac userbox}}{{I love my Mac userbox|model=Classic}}{{I love my Mac userbox|image=Classic_IF.png|style=badge}}{{I love my Mac userbox|image=Classic_IF.png|style=badge|model=Mac Classic}}{{I love my Mac userbox|image=Classic_IF.png|style=mask}}{{I love my Mac userbox|image=Classic_IF.png|style=mask|model=Mac Classic}}{{userboxbottom}}
<br clear=both />
+
You don't just like using a Mac, you ''love'' them!  Tell the world what your favorite Mac is.
{{alert dialog
+
 
|type=warning
 
|title=Broken template
 
|body=This template is currently broken. The '''style'''=''mask'' option most likely will not work, but other than that it seems to be OK.
 
}}
 
Tell the world what your favorite Mac is!
 
 
==Usage==
 
==Usage==
 +
For use between <nowiki>{{</nowiki>userboxtop}} and <nowiki>{{</nowiki>userboxbottom}}.
 +
 
*'''model''': to customize which Mac it is you love the most
 
*'''model''': to customize which Mac it is you love the most
 
*'''image''': supply a picture (see [[:Category:Iconfactory copyrighted images|Mac model icons]] if you don't have a picture of your own)
 
*'''image''': supply a picture (see [[:Category:Iconfactory copyrighted images|Mac model icons]] if you don't have a picture of your own)
**'''style''': either ''badge'' a heart onto the supplied image (default), or ''mask'' the image into a heart
+
*'''style''': either ''badge'' a heart onto the supplied image (default), or ''mask'' the image into a heart
  
 
If you have no one favorite model and love ''all'' Macs, then don't supply any parameters.
 
If you have no one favorite model and love ''all'' Macs, then don't supply any parameters.

Latest revision as of 18:21, 14 June 2009

Love in 6 colors.png I ❤ my Mac!
Demo
Love in 6 colors.png I ❤ my Mac!
Love in 6 colors.png I ❤ my Classic!
Classic IF.png
Love in 6 colors.png
I ❤ my Mac!
Classic IF.png
Love in 6 colors.png
I ❤ my Mac Classic!
Classic IF.png
White masked Apple love.png
I ❤ my Mac!
Classic IF.png
White masked Apple love.png
I ❤ my Mac Classic!

You don't just like using a Mac, you love them! Tell the world what your favorite Mac is.

Usage

For use between {{userboxtop}} and {{userboxbottom}}.

  • model: to customize which Mac it is you love the most
  • image: supply a picture (see Mac model icons if you don't have a picture of your own)
  • style: either badge a heart onto the supplied image (default), or mask the image into a heart

If you have no one favorite model and love all Macs, then don't supply any parameters.