Template:Sdktools: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Standardising navboxes, less round corners)
Line 10: Line 10:
| navbar = off
| navbar = off


<!-- Title has border-radius of 8px on top-left and top-right -->
| titlestyle = white-space: nowrap; font-size: 100%; background-color: {{src|col}}3a; padding: 2px; color: #fff;
| titlestyle = border-radius: 8px 8px 0 0; white-space: nowrap; font-size: 100%; background-color: {{src|col}}3a; padding: 2px; color: #fff;


<!-- Body has a border radius of 12px overall. Every other radius uses 8px so that both radius' look smooth
<!-- Body has a border radius of 4px overall.
Background color of #202020 is set as well. -->
Background color of #202020 is set as well. -->
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: 12px; margin: 1em auto 0em;
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: 4px; margin: 1em auto 0em;


<!-- Setting the general constant styling for every group/list -->
<!-- Setting the general constant styling for every group/list -->
Line 52: Line 51:
| group9 = {{Sdktools/strings|Other}}
| group9 = {{Sdktools/strings|Other}}
<!-- The very last group of a navbox will need this border radius for the bottom-left corner -->
<!-- The very last group of a navbox will need this border radius for the bottom-left corner -->
| group9style = border-radius: 0 0 0 8px;
| list9 = [[Closed Captions|Captioncompiler]] • [[Demoinfo]] • [[Elementviewer]] • [[Skeleton motion mapping|Motionmapper]] • [[Sfmgen]] • [[Game Directory|VConfig]] • [[Vfont]] • [[Vfont_decompiler]] • [[VICE]] • [[VPK|vpk]]
| list9 = [[Closed Captions|Captioncompiler]] • [[Demoinfo]] • [[Elementviewer]] • [[Skeleton motion mapping|Motionmapper]] • [[Sfmgen]] • [[Game Directory|VConfig]] • [[Vfont]] • [[Vfont_decompiler]] • [[VICE]] • [[VPK|vpk]]
<!-- The very last list of a navbox will not need this styling if there are an even number of lists in the navbox.  
<!-- The very last list of a navbox will not need this styling if there are an even number of lists in the navbox.  
Since there are an odd number of lists in this navbox, we need to add the custom bgcolor as well as a border-radius for the bottom-right corner to match the group style. -->  
Since there are an odd number of lists in this navbox, we need to add the custom bgcolor -->  
| list9style = background-color: #252525; border-radius: 0 0 8px 0;
| list9style = background-color: #252525;
}} {{#ifeq:{{{cat|}}}|0|| [[Category:Tools]] [[Category:Official Source Tools]] }}
}} {{#ifeq:{{{cat|}}}|0|| [[Category:Tools]] [[Category:Official Source Tools]] }}


Line 65: Line 63:
| navbar = off
| navbar = off


<!-- Title has border-radius of 8px on top-left and top-right -->
| titlestyle = white-space: nowrap; font-size: 100%; background-color: {{src|col}}3a; padding: 2px; color: #fff;
| titlestyle = border-radius: 8px 8px 0 0; white-space: nowrap; font-size: 100%; background-color: {{src|col}}3a; padding: 2px; color: #fff;


<!-- Body has a border radius of 12px overall. Every other radius uses 8px so that both radius' look smooth
<!-- Body has a border radius of 12px overall. Every other radius uses 8px so that both radius' look smooth
Background color of #202020 is set as well. -->
Background color of #202020 is set as well. -->
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: 12px; margin: 1em auto 0em;
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: 4px; margin: 1em auto 0em;


<!-- Setting the general constant styling for every group/list -->
<!-- Setting the general constant styling for every group/list -->
Line 137: Line 134:


| group18 = {{Sdktools/strings|Other}}
| group18 = {{Sdktools/strings|Other}}
<!-- The very last group of a navbox will need this border radius for the bottom-left corner -->
| group18style = border-radius: 0 0 0 8px;
| list18 = {{CCExporter|1}} • {{bee2|1}} • [[CtxConverter]] • {{ccg|1}} • {{Sourceiconset|1}} • [[Source SDK Windows Gadget]] • {{steamcmdui|1}} • {{vguiloct|1}} • [[VirtualDub]]
| list18 = {{CCExporter|1}} • {{bee2|1}} • [[CtxConverter]] • {{ccg|1}} • {{Sourceiconset|1}} • [[Source SDK Windows Gadget]] • {{steamcmdui|1}} • {{vguiloct|1}} • [[VirtualDub]]



Revision as of 15:58, 24 June 2024

Todo: Move GoldSrc GoldSrc-specific tools to Template:GoldSrc sdktools. Tools that support both Source Sourceand GoldSrc GoldSrc should go in both templates.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Usage

Note.pngNote:This template uses a space "&ensp;" between "•". If you need to add separation, you can copy this:  • 

Preview

{{sdktools}}

{{sdktools|0}}

See also