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
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifeq:{{{Background Type|}}} | {{#ifeq:{{{Background Type|}}} | ||
|Block Color | |Block Color|{{#if:{{{Color1|}}}{!}<div style="background:{{{Color1}}}">{!}<div style="background:#FFFFFF">}}|}} | ||
|{{#if:{{{Color1|}}}{!}<div style="background:{{{Color1}}}">{!}<div style="background:#FFFFFF">}} | |||
|}} | |||
{{#ifeq:{{{Background Type|}}} | {{#ifeq:{{{Background Type|}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 29: | Line 24: | ||
==Examples== | ==Examples== | ||
{{Background | {{Background | ||
|Background Type= | |Background Type=Block Color | ||
|Color1=#DD00DD | |Color1=#DD00DD}} | ||
Example | Example | ||
</div> | </div> |
Revision as of 09:13, 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:Block Color
Parameters
Examples
Template loop detected: Template:Background Example
Example