Template:Gs-branch-navbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed titlebar color to match GoldSrc icon.)
(Less rounded corners like many other templates. Also added new parameters to hide the borders from Hierarchy template, and replaced titlebar background.)
Line 11: Line 11:
| navbar = off
| navbar = off


| titlestyle = white-space: nowrap; font-size: 100%; background-color: #cc9c74; background: linear-gradient(to bottom, #BF5E34 0%,#73221F 100%); padding: 2px; color: #fff; border-radius: 8px 8px 0 0;
| titlestyle = white-space: nowrap; font-size: 100%; background-color: #323232<!-- fallback-->; background: linear-gradient(to bottom, #323232 0%,#201F1E 100%); padding: 2px; color: #fff; border-radius: 2px 2px 0 0;
| bodystyle  = clear: both; border: 2px solid #525252; border-radius: 12px; margin: 1em auto 0em;
| bodystyle  = 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;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold;
| liststyle  = border-left: none; font-size: 90%;
| liststyle  = font-size: 12px; border-left: none; font-size: 90%;


| list1= {{hierarchy|gsbranch}}
| list1 = {{hierarchy|gsbranch|disablestyling=1}}
| list1style = background-color: #252525; border-radius: 0 0 2px 0;


}}
}}

Revision as of 21:56, 22 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

Usage

Put {{Gs-branch-navbox}} on the page →

Specify nocat=1 for pages you do not want to be included in the category.

Split-arrows.png Split

It has been suggested that this article or section be split into multiple articles: Template:HLSDK-forks-navbox/Template:Gs-forks-navbox. (Discuss)