Template:Branch-navbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Less rounded corners like many other templates. Also added new parameters to hide the borders from Hierarchy template.)
mNo edit summary
Line 14: Line 14:
| bodystyle  = clear: both; border: 2px solid #525252; border-radius: 4px; 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; 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  = font-size: 12px; border-left: none;


| list1 = {{hierarchy|srcbranch|disablestyling=1}}
| list1 = {{hierarchy|srcbranch|disablestyling=1}}
| list1style= border-radius: 0 0 2px 0;
| list1style = background-color: #252525; border-radius: 0 0 2px 0;
}}{{#if:{{{nocat|}}}||[[Category:Engine branches]][[Category:Source engine branches]]}}</onlyinclude></includeonly>{{doc}}
}}{{#if:{{{nocat|}}}||[[Category:Engine branches]][[Category:Source engine branches]]}}</onlyinclude></includeonly>{{doc}}

Revision as of 21:55, 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 {{branch-navbox}} on the page →

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