Difference between revisions of "User:Embyr 75/Sandbox"

From Retro Modding Wiki
Jump to: navigation, search
m
m (Think we got a handle on the Notice Templates. If anyone needs to refer to that code again, the revision is in the history.)
Line 1: Line 1:
 
'''My Sandbox!'''
 
'''My Sandbox!'''
 
==Notice Templates==
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7" ! width="55%"
 
|[[file:RetroModding.png|100px|link=]]
 
|'''To do:''' <br/> Current template colors. (Alignment drifts)
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" style="border:2px solid #446fa7;" align="center" width="55%"
 
| width="20%"|[[file:RetroModding.png|100px|link=]]
 
| '''To do:''' <br/> Current template colors. (Fixed alignment, 20%/80%)
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" style="border:2px solid #446fa7;" align="center" width="55%"
 
| width="10%"|[[file:RetroModding.png|100px|link=]]
 
| '''To do:''' <br/> Current template colors. (Fixed alignment, 10%/90%)
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background-color:#ffc8c8" ! width="55%"
 
|[[file:RetroModding.png|100px|link=]]
 
|'''To do:''' <br/> This template has background color #ffc8c8, as requested.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background-color: #b9e9ff" ! width="55%"
 
|[[file:RetroModding.png|100px|link=]]
 
|'''To do:''' <br/> Color #b9e9ff, as requested.
 
|}
 
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background-color:#ffc8c8" ! width="55%"
 
| width="5%" |[[file:VariaSuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Red with Varia Suit icon.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background-color: #b9e9ff" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Blue with Gravity Suit icon.
 
|}
 
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background-color: #d2d2ff;" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> More purplish to match the icon better.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#d2d2ff, #FFFFFF); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Gradient sweeping down to white.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(red, #FFFFFF); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> SO VERY VERY RED.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#FFFFFF, #d2d2ff); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Sweeping up to white.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#FFFFFF, #a067d6); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> This color was pulled directly from a pixel on the icon. Could probably even go a shade lighter?
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#FFFFFF, #9c72ca); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Lighter shade, pulled from pixel on icon.
 
|}
 
 
 
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#d2d2ff, #9c72ca); /* Standard syntax */" ! width="55%"
 
| width="5%" |[[file:GravitySuitIcon.png|50px|link=]]
 
|'''To do:''' <br/> Light purple to lighter purple.
 
|}
 
 
  
 
==Universal Box==
 
==Universal Box==
Line 93: Line 5:
 
<!--Please don't edit beneath this line! -->
 
<!--Please don't edit beneath this line! -->
  
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #446fa7; background: linear-gradient(#{{{gradient1|}}}, #{{{gradient2|}}}); /* Standard syntax */" ! width="55%"
+
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #{{RMWBorder}}; background: linear-gradient(#{{{gradient1|}}}, #{{{gradient2|}}}); /* Standard syntax */" ! width="55%"
 
| width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}}
 
| width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}}
 
|{{{text|}}}
 
|{{{text|}}}

Revision as of 22:36, 26 January 2015

My Sandbox!

Universal Box

background
linear-gradient(#, #); /* Standard syntax */" ! width="55%"


Usage

This is a basic template which can be modified to create a variety of simple Notice Templates.

{{Box
|gradient1=
|gradient2= 
|image=
|text=
}}

gradient1: Starting color for the gradient background. Should be hexadecimal.
gradient2: Ending color for the gradient background. Should be hexadecimal.
image: Filepath for the image, ex: File:ImageName.png
text: Text to be displayed.