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
No edit summary
No edit summary
Line 31: Line 31:
|Color1=#DD00DD}}
|Color1=#DD00DD}}


===Linear-Gradient==+
===Linear-Gradient===
<pre>{{Background
<pre>{{Background
|Background Type=Linear-Gradient
|Background Type=Linear-Gradient
|Text=Example
|Text=Example
|Color1=#DD00DD
|Color1=#AA70DD
|Color1 Stop=45
|Color1 Stop=45
|Color 2=#FFDDBB
|Color 2=#FFDDBB

Revision as of 09:27, 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=
|Text=
|Color1=
|Color2=
|Gradient Type=
|Color1 Stop=
|Color2 Stop=
}}


Parameters

Examples

Block Color

{{Background
|Text=Example
|Background Type=Block Color
|Color1=#DD00DD}}
Example

Linear-Gradient

{{Background
|Background Type=Linear-Gradient
|Text=Example
|Color1=#AA70DD
|Color1 Stop=45
|Color 2=#FFDDBB
|Gradient Type=left}}
Example