Template:Csgo-navbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Alternating row colors. Looks weird on mobile because of the width and the image but it's fine on desktop)
mNo edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
{{doc}}
{{Todo|Create a similar one for {{cs2|1}}.}}
<includeonly><onlyinclude>{{Navbox
[[Category:Navbox templates]]
</noinclude>
{{Navbox
 
| name  = csgo-navbox
| name  = csgo-navbox
| title = {{csgo|4}} {{Table tools|csgo-navbox}}
| title = {{csgo|4}} {{Table tools|csgo-navbox}}
| image = <div style="width: 176px; border-radius: 0 0 8px 0; overflow: hidden;">[[File:Gsg9-scaleform-bg.png|176px]]</div>
| navbar = off
| navbar = off


| style = width:100%
| style = width:100%
| titlestyle = white-space: nowrap; font-size: 100%; background-color: {{csgo|col}}3a; padding: 2px; color: #fff; border-radius: 8px 8px 0 0;
| titlestyle = white-space: nowrap; font-size: 100%; background-color: {{csgo|col}}3a; padding: 2px; color: #fff;
| 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;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold; text-align: right;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold; text-align: right;
| liststyle  = border-left: none;
| liststyle  = border-left: none;
Line 24: Line 19:


| group3 = Gameplay
| group3 = Gameplay
| group3style= border-radius: 0 0 0 8px;
| list3 = {{Navbox|child
| list3 = {{Navbox|child
|navbar=plain
|navbar=plain
Line 40: Line 34:


}}
}}
}}
}}</onlyinclude></includeonly>
[[Category:Navbox templates]]

Latest revision as of 01:27, 18 July 2024

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
For Counter-Strike 2 Counter-Strike 2's navbox template, see Template:Cs2-navbox.

Usage

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

{{Csgo-navbox}}

Preview