Template:Code: Difference between revisions
info |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
|#default = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); | |#default = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); | ||
<!-- Beige/Brown --> | |||
<!-- Round --> | |||
<!-- No Outline --> | |||
|1 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); | |1 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); | ||
|2 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); | |2 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); | ||
<!-- Dark Outline --> | |||
|3 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(0 0 0 / 25%); | |3 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(0 0 0 / 25%); | ||
|4 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(0 0 0 / 25%); | |4 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(0 0 0 / 25%); | ||
<!-- Light Outline | |||
|5 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(255 255 255 / 25%); | |5 = padding:2px 4px; border-radius:3px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(255 255 255 / 25%); | ||
|6 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(255 255 255 / 25%); | |6 = padding:2px 4px; border-radius:3px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(255 255 255 / 25%); | ||
<!-- Rectangle --> | |||
<!-- No Outline --> | |||
|7 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); | |7 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); | ||
|8 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); | |8 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); | ||
<!-- Dark Outline --> | |||
|9 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(0 0 0 / 25%); | |9 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(0 0 0 / 25%); | ||
|10 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(0 0 0 / 25%); | |10 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(0 0 0 / 25%); | ||
<!-- Light Outline --> | |||
|11 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(255 255 255 / 25%); | |11 = padding:2px 4px; border-radius:0px; color:black; background:rgba(241, 233, 203, 1); border:2px solid rgb(255 255 255 / 25%); | ||
|12 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(255 255 255 / 25%); | |12 = padding:2px 4px; border-radius:0px; color:white; background:rgba(88, 58, 49, 1); border:2px solid rgb(255 255 255 / 25%); | ||
|13 = padding:2px 4px; border-radius:3px; color:white; background:rgb( | <!-- Dark Grey/Gray --> | ||
|14 = padding:2px 4px; border-radius:3px; color:white; background:rgb( | <!-- Round --> | ||
|15 = padding:2px 4px; border-radius:3px; color:white; background:rgb( | <!-- Order is No Outline, Dark Outline, Light Outline --> | ||
|13 = padding:2px 4px; border-radius:3px; color:white; background:rgb(41, 37, 38); | |||
|14 = padding:2px 4px; border-radius:3px; color:white; background:rgb(41, 37, 38); border:2px solid rgb(0 0 0 / 50%); | |||
|15 = padding:2px 4px; border-radius:3px; color:white; background:rgb(41, 37, 38); border:2px solid rgb(255 255 255 / 25%); | |||
<!-- Rectangle --> | |||
<!-- Order is No Outline, Dark Outline, Light Outline --> | |||
|16 = padding:2px 4px; border-radius:0px; color:white; background:rgb(41, 37, 38); | |||
|17 = padding:2px 4px; border-radius:0px; color:white; background:rgb(41, 37, 38); border:2px solid rgb(0 0 0 / 50%); | |||
|18 = padding:2px 4px; border-radius:0px; color:white; background:rgb(41, 37, 38); border:2px solid rgb(255 255 255 / 25%); | |||
| | <!-- Light Grey/Gray --> | ||
| | <!-- Round --> | ||
| | <!-- Order is No Outline, Dark Outline, Light Outline --> | ||
|19 = padding:2px 4px; border-radius:3px; color:black; background:rgb(237, 237, 237); | |||
|20 = padding:2px 4px; border-radius:3px; color:black; background:rgb(237, 237, 237); border:2px solid rgb(0 0 0 / 25%); | |||
|21 = padding:2px 4px; border-radius:3px; color:black; background:rgb(237, 237, 237); border:2px solid rgb(255 255 255 / 25%); | |||
<!-- Rectangle --> | |||
<!-- Order is No Outline, Dark Outline, Light Outline --> | |||
|22 = padding:2px 4px; border-radius:0px; color:black; background:rgb(237, 237, 237); | |||
|23 = padding:2px 4px; border-radius:0px; color:black; background:rgb(237, 237, 237); border:2px solid rgb(0 0 0 / 25%); | |||
|24 = padding:2px 4px; border-radius:0px; color:black; background:rgb(237, 237, 237); border:2px solid rgb(255 255 255 / 25%); | |||
<!-- Special / Wild Cards --> | |||
<!-- Hacker Green, Round then Rect. --> | |||
|1010 = padding:2px 4px; border-radius:3px; color:#00ff00; background:#000000; | |1010 = padding:2px 4px; border-radius:3px; color:#00ff00; background:#000000; | ||
|1011 = padding:2px 4px; border-radius:0px; color:#00ff00; background:#000000; | |1011 = padding:2px 4px; border-radius:0px; color:#00ff00; background:#000000; | ||
| Line 72: | Line 93: | ||
{{code|preset=12|Preset 12 - Brown (Light Outlined)}} | {{code|preset=12|Preset 12 - Brown (Light Outlined)}} | ||
=== Grey === | === Dark Grey === | ||
==== Rounded ==== | |||
{{code|preset=13|Preset 13 - DGrey}} | |||
{{code|preset=14|Preset 14 - DGrey (Dark Outlined)}} | |||
{{code|preset=15|Preset 15 - DGrey (Light Outlined)}} | |||
==== Rectangular ==== | |||
{{code|preset=16|Preset 16 - DGrey}} | |||
{{code|preset=17|Preset 17 - DGrey (Dark Outlined)}} | |||
{{code|preset=18|Preset 18 - DGrey (Light Outlined)}} | |||
=== Light Grey === | |||
==== Rounded ==== | ==== Rounded ==== | ||
{{code|preset= | {{code|preset=19|Preset 19 - LGrey}} | ||
{{code|preset= | {{code|preset=20|Preset 20 - LGrey (Dark Outlined)}} | ||
{{code|preset= | {{code|preset=21|Preset 21 - LGrey (Light Outlined)}} | ||
==== Rectangular ==== | ==== Rectangular ==== | ||
{{code|preset= | {{code|preset=22|Preset 22 - LGrey}} | ||
{{code|preset= | {{code|preset=23|Preset 23 - LGrey (Dark Outlined)}} | ||
{{code|preset= | {{code|preset=24|Preset 24 - LGrey (Light Outlined)}} | ||
=== Special === | === Special === | ||
Latest revision as of 23:32, 3 January 2026
{{{1}}}
Documentation
Use
To change the preset, use this example:{{code|preset=PresetNo.|Text}} to change it. Replace PresetNo. to a value below e.g Preset 9 which is Rectangular, Dark Outlined and Beige and change the Text to the desired text in the code.
There are variations of the presets; Rounded, Rectangular, Light Outline and Dark Outline.
Presets
Feel free to add more but DON'T change any pre-existing presets to stop uses of the template unwantedly changing.
Default
Default - Pale
Beige & Brown
Rounded
Preset 1 - Beige
Preset 2 - Brown
Preset 3 - Beige (Dark Outlined)
Preset 4 - Brown (Dark Outlined)
Preset 5 - Beige (Light Outlined)
Preset 6 - Brown (Light Outlined)
Rectangular
Preset 7 - Beige
Preset 8 - Brown
Preset 9 - Beige (Dark Outlined)
Preset 10 - Brown (Dark Outlined)
Preset 11 - Beige (Light Outlined)
Preset 12 - Brown (Light Outlined)
Dark Grey
Rounded
Preset 13 - DGrey
Preset 14 - DGrey (Dark Outlined)
Preset 15 - DGrey (Light Outlined)
Rectangular
Preset 16 - DGrey
Preset 17 - DGrey (Dark Outlined)
Preset 18 - DGrey (Light Outlined)
Light Grey
Rounded
Preset 19 - LGrey
Preset 20 - LGrey (Dark Outlined)
Preset 21 - LGrey (Light Outlined)
Rectangular
Preset 22 - LGrey
Preset 23 - LGrey (Dark Outlined)
Preset 24 - LGrey (Light Outlined)
Special
Preset 1010 - Hacker Themed (Rounded)
Preset 1011 - Hacker Themed (Rectangular)