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.)
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{Navbox
{{doc}}
 
<includeonly>
 
<onlyinclude>{{Navbox
| name  = Branch-navbox
| name  = Branch-navbox
| title = {{src}} [[:Category:Source engine branches|<span style="color:#8BB9E0">{{Autolang
| title = {{src}} [[:Category:Source engine branches|<span style="color:#8BB9E0">{{#switch: {{language}}
| Source Engine Branches
| #default = Source Engine Branches
| ru = Ветви движка Source
| ru = Ветви движка Source
| eo = Disbranĉaj motoroj de Source
| eo = Disbranĉaj motoroj de Source
| es = Ramas del motor Source
| es = Ramas del motor Source
| hr = Grane Source Pogona
| vi = Các phiên bản công nghệ Source
| vi = Các phiên bản công nghệ Source
| zh = 起源引擎分支
| zh = 起源引擎分支
Line 11: Line 16:
| navbar = off
| navbar = off


| 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;
| 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: 4px; margin: 1em auto 0em;
| bodystyle  = width:100%; clear:both; border:2px solid #525252; border-radius:4px; margin:1em 0em 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;
| innerstyle = width:100%;


| 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|}}}||{{ACategory|Engine branches}}{{ACategory|Source engine branches}}}}</onlyinclude>
 
</includeonly>

Latest revision as of 01:13, 24 February 2025

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