Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Code: Difference between revisions

Template page
NinjaV (talk | contribs)
grey styles added :D
NinjaV (talk | contribs)
info
Line 36: Line 36:
--><noinclude>
--><noinclude>
== Documentation ==
== Documentation ==
Just go to Valve Dev Community for their documentation, only difference is formatting (styling) and presets which are listed below. Link: [https://developer.valvesoftware.com/wiki/Template:Code VDC Code Documentation]
=== Use ===
To change the preset, use this example:{{code|<nowiki>{{code|preset=PresetNo.|Text}}</nowiki>}} to change it. Replace PresetNo. to a value below e.g {{code|preset=9|Preset 9 which is Rectangular, Dark Outlined and Beige}} and change the Text to the desired text in the code.<br>There are variations of the presets; Rounded, Rectangular, Light Outline and Dark Outline.  
 
== Presets ==
== Presets ==
Feel free to add more!
Feel free to add more but '''DON'T''' change any pre-existing presets to stop uses of the template unwantedly changing.


=== Default ===
=== Default ===
Line 57: Line 59:
{{code|preset=6|Preset 6 - Brown (Light Outlined)}}
{{code|preset=6|Preset 6 - Brown (Light Outlined)}}


==== Squared ====
==== Rectangular ====
{{code|preset=7|Preset 7 - Beige }}
{{code|preset=7|Preset 7 - Beige }}


Line 78: Line 80:
{{code|preset=15|Preset 15 - Grey (Light Outlined)}}
{{code|preset=15|Preset 15 - Grey (Light Outlined)}}


==== Squared ====
==== Rectangular ====
{{code|preset=16|Preset 16 - Grey}}
{{code|preset=16|Preset 16 - Grey}}


Line 86: Line 88:


=== Special ===
=== Special ===
{{code|preset=1010|Preset 1010 - Hacker Green (Rounded)}}
{{code|preset=1010|Preset 1010 - Hacker Themed (Rounded)}}


{{code|preset=1011|Preset 1011 - Hacker Green (Squared)}}
{{code|preset=1011|Preset 1011 - Hacker Themed (Rectangular)}}


[[Category:Layout templates]]
[[Category:Layout templates]]
</noinclude>
</noinclude>