Template:Code: Difference between revisions
Template page
More actions
VivaRomania (talk | contribs) m dammit |
VivaRomania (talk | contribs) m fixing some massive fuckups |
||
| Line 1: | Line 1: | ||
<span style="font-family:monospace; {{#switch:{{{p|{{{preset|}}}}}} | |||
|#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); | ||
| Line 25: | Line 24: | ||
|1011 = padding:2px 4px; border-radius:0px; color:#00ff00; background:#000000; | |1011 = padding:2px 4px; border-radius:0px; color:#00ff00; background:#000000; | ||
}} {{#if:{{{select|}}}|user-select:{{{select}}};}} {{{style|}}}">{{#if:{{{highlight|}}}|{{#tag:syntaxhighlight|{{{1}}}|lang={{{highlight}}}|inline=1}}|{{{1}}}}}</span | }} {{#if:{{{select|}}}|user-select:{{{select}}};}} {{{style|}}}">{{#if:{{{highlight|}}}|{{#tag:syntaxhighlight|{{{1}}}|lang={{{highlight}}}|inline=1}}|{{{1}}}}}</span> | ||
<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] | 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] | ||
| Line 65: | Line 65: | ||
{{code|preset=1011|Preset 1011 - Hacker Green (Squared)}} | {{code|preset=1011|Preset 1011 - Hacker Green (Squared)}} | ||
[[Category:Layout templates]] | [[Category:Layout templates]] | ||
</noinclude> | </noinclude> | ||