You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Background: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq: {{{Background Type|}}}|Block Color|{{#if:{{{Color1{!}}}}{!}<div style="background:{{{Color1}}}">{!}<div style="background:#FFFFFF">}}|}}{{#ifeq:{{{Backgr...")
 
No edit summary
Line 2: Line 2:


</includeonly><noinclude>
</includeonly><noinclude>
This template is used to create a background. There are 3 types of backgrounds currently useable; Block Colour, Linear-Gradient and Radial-Gradient.</noinclude>
This template is used to create a background. There are 3 types of backgrounds currently useable; Block Colour, Linear-Gradient and Radial-Gradient.
 
 
==Syntax==
<pre>{{Background
|Background Type=
|Color1=
|Color2=
|Gradient Type=
|Color1 Stop=
|Color2 Stop=
}}</pre></noinclude>
 
 
==Parameters==
 
 
==Examples==
{{Background
|Background Type=Linear-Gradient
|Color1=#DD00DD
|Color2=#DDFFAA
|Gradient Type=top
|Color1 Stop=10}}
Example
</div>

Revision as of 09:07, 8 November 2014

This template is used to create a background. There are 3 types of backgrounds currently useable; Block Colour, Linear-Gradient and Radial-Gradient.


Syntax

{{Background
|Background Type=
|Color1=
|Color2=
|Gradient Type=
|Color1 Stop=
|Color2 Stop=
}}


Parameters

Examples

{{#ifeq:Linear-Gradient|Linear-Gradient|



Parameters

Examples

Template loop detected: Template:Background Example

Example