Template:Icon: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Roy Curtis (talk | contribs)
Created page with "<div style="width: {{{dim|50px}}}; height: {{{dim|50px}}}; border-radius: {{{radius|25px}}}; background: hsla({{{color|204,100%,75%}}},1); color: {{{fontcol|white}}}; text-ali..."
 
Roy Curtis (talk | contribs)
m +automargin on float
 
Line 1: Line 1:
<div style="width: {{{dim|50px}}}; height: {{{dim|50px}}}; border-radius: {{{radius|25px}}}; background: hsla({{{color|204,100%,75%}}},1); color: {{{fontcol|white}}}; text-align: center; font-weight: bold; font-size: {{{fontsize|40px}}}; line-height: {{{dim|50px}}}; float: {{{float|none}}}">{{{1|?}}}</div><noinclude>
<div style="width: {{{dim|50px}}}; height: {{{dim|50px}}}; border-radius: {{{radius|25px}}}; background: hsla({{{color|204,100%,75%}}},1); color: {{{fontcol|white}}}; text-align: center; font-weight: bold; font-size: {{{fontsize|40px}}}; line-height: {{{dim|50px}}}; float: {{{float|none}}}; {{#if:{{{float|}}}|margin-right: 16px;|}}">{{{1|?}}}</div><noinclude>
Generates a CSS icon for use in other templates.
Generates a CSS icon for use in other templates.



Latest revision as of 04:07, 22 August 2013

?

Generates a CSS icon for use in other templates.

Usage

Simple icons

{{Icon|?}}{{Icon|!}}{{Icon|X}}

Advance usage

{{Icon
|dim=
|radius=
|color=
|fontcol=
|fontsize=
|float=
|X}}