Template:Code: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
NinjaV (talk | contribs)
comments and grey color change to the wiki's bg gray
NinjaV (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
|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%);


<!-- Grey/Gray -->
<!-- Dark Grey/Gray -->
<!-- Round -->
<!-- Round -->
<!-- Order is No Outline, Dark Outline, Light Outline -->
<!-- Order is No Outline, Dark Outline, Light Outline -->
Line 35: Line 35:
|17 = padding:2px 4px; border-radius:0px; color:white; background:rgb(41, 37, 38); border:2px solid rgb(0 0 0 / 50%);
|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%);
|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 -->
<!-- Special / Wild Cards -->
Line 81: 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=13|Preset 13 - Grey}}
{{code|preset=19|Preset 19 - LGrey}}


{{code|preset=14|Preset 14 - Grey (Dark Outlined)}}
{{code|preset=20|Preset 20 - LGrey (Dark Outlined)}}


{{code|preset=15|Preset 15 - Grey (Light Outlined)}}
{{code|preset=21|Preset 21 - LGrey (Light Outlined)}}


==== Rectangular ====
==== Rectangular ====
{{code|preset=16|Preset 16 - Grey}}
{{code|preset=22|Preset 22 - LGrey}}


{{code|preset=17|Preset 17 - Grey (Dark Outlined)}}
{{code|preset=23|Preset 23 - LGrey (Dark Outlined)}}


{{code|preset=18|Preset 18 - Grey (Light Outlined)}}
{{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)