You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Background: Difference between revisions
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
|Background Type=Linear-Gradient | |Background Type=Linear-Gradient | ||
|Text=Example | |Text=Example | ||
|Color1=# | |Color1=#1A70DD | ||
|Color1 Stop=45 | |Color1 Stop=45 | ||
|Color2=#FFDDBB | |Color2=#FFDDBB | ||
|Gradient Type=left}} | |Gradient Type=left}} | ||
</noinclude> | </noinclude> |
Revision as of 09:29, 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=#1A70DD |Color1 Stop=45 |Color2=#FFDDBB |Gradient Type=left}}
Example