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|}}}|Block Color|<div style="background:{{{Color1}}}">{{{Text|}}}</div>|}}</includeonly><noinclude> | ||
{{#ifeq:{{{Background Type|}}} | |||
|Block Color| | |||
</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. | This template is used to create a background. There are 3 types of backgrounds currently useable; Block Colour, Linear-Gradient and Radial-Gradient. | ||
Line 11: | Line 6: | ||
<pre>{{Background | <pre>{{Background | ||
|Background Type= | |Background Type= | ||
|Text= | |||
|Color1= | |Color1= | ||
|Color2= | |Color2= | ||
Line 24: | Line 20: | ||
==Examples== | ==Examples== | ||
{{Background | {{Background | ||
|Text=Example | |||
|Background Type=Block Color | |Background Type=Block Color | ||
|Color1=#DD00DD}} | |Color1=#DD00DD}} | ||
</noinclude> | |||
</ |
Revision as of 09:17, 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
Example
Parameters
Examples
Template loop detected: Template:Background </noinclude>