Template:CD: Difference between revisions
Jump to navigation
Jump to search
(tries to add class link to source 2013 mp gitrepo if file1 param specified and if not found just uses file1 param as is) |
m (Russian string) |
||
(49 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude>{| class="wikitable" align="right" style="clear:right; margin-left:2em" | |||
<includeonly> | |||
<onlyinclude>{| class="wikitable" align="right" style="{{{h|clear:right;}}} margin-left:2em" | |||
|- | |- | ||
!{{cpp}} | !{{cpp}} [[Class hierarchy {{#if:{{{goldsrc|}}}|(GoldSrc)}}{{!}}{{#switch: {{language}} | ||
| #default = Class hierarchy]]{{#if: {{{client|}}} | (client)}} | |||
| hr = Klasna hijerarhija]] | |||
| ru = Классовая структура]] | |||
| sk = Hierarchia tried]] | |||
| zh = 类层级]] | |||
}} | |||
{{#if:{{{game|}}} | |||
| {{!}}- | |||
<!-- -->!{{{game}}} | |||
}} | |||
|- | |- | ||
|[[{{{1}}}]] {{#if: {{{ | |{{#ifeq:{{{1|}}}|???|[[:Category:Unknown Classname|???]]|[[{{{1|???}}} {{#if:{{{goldsrc|}}}|(GoldSrc){{!}}{{{1|???}}}}}]]}} | ||
--> | {{:Category:CD {{#if:{{{base|}}} | ||
| {{{base}}} | |||
{{CD {{CD superclass|{{{1}}}}}|:}} | | {{CD/superclass{{#if:{{{goldsrc|}}}|/hl}}|{{{1|???}}}}}}} {{#if:{{{goldsrc|}}}|(GoldSrc)}}|:}} | ||
{{#if: {{{nolink|}}} <!-- file1 is dumb param name and at this point it stays just for backwards compatibility --> | |||
| {{!}}- | |||
<!-- -->!<small>{{cpp}} <kbd><i>{{#if:{{{file1|}}}|{{{file1}}}}}</i></kbd></small> | |||
| {{#if: {{{file1|}}}{{{goldsrc|}}} | |||
| {{!}}- | |||
<!-- -->!<small>{{cpp}} <kbd><i>{{#if:{{{goldsrc|}}} | |||
| {{CD/classlink/hl{{#if:{{{client|}}}|/client}}|{{{1|???}}}|{{{goldsrc}}}}} | |||
| {{CD/classlink{{#if:{{{client|}}}|/client}}{{{link|}}}|{{{1|???}}}|{{{file1}}}}} | |||
}}</i></kbd></small> | |||
}} | |||
}}{{#if:{{{files|}}} | |||
| {{#if: {{{file1|}}}{{{goldsrc|}}} | |||
|<nowiki> | |||
</nowiki><small><kbd><i>{{{files}}}</i></kbd></small> | |||
| {{!}}- | |||
!<small>{{cpp}}<kbd><i>{{{files}}}</i></kbd></small> | |||
}} | |||
}} | |||
|}{{#if:{{NAMESPACE}}{{{nocat|}}} | |||
| | |||
| {{#ifeq:{{pagelang}}|en | |||
| [[Category:CD {{{base|{{CD/superclass{{#if:{{{goldsrc|}}}|/hl}}|{{{1|???}}}}}}}} {{#if:{{{goldsrc|}}}|(GoldSrc)}}|{{SUBPAGENAME}}]] | |||
}} | |||
}}{{#ifeq: {{{1|???}}} | ??? |[[Category:Unknown Classname]]}}</onlyinclude> | |||
</includeonly> | |||
[[Category:CD template]] |
Latest revision as of 11:17, 5 August 2025
The above documentation is transcluded from Template:CD/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.