Template:Class def section: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(fix formatting)
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
To be used on entity c++ class pages ([[CPhysicsProp]]). Creates section as shown below and transcludes /definitions subpage. [edit] link next to is page creation link to /definitions subpage preloaded with [[Template:Class_def_section/preload]]
To be used on entity c++ class pages ([[CPhysicsProp]]). Creates section as shown below and transcludes /definitions subpage. [edit] link next to is page creation link to /definitions subpage preloaded with [[Template:Class_def_section/preload]]
<onlyinclude><span style="display:flex;align-items: baseline;"><h2> C++ definitions from {{src13mp|4}}</h2> <span class="mw-editsection" style="margin-left:1em"><span class="mw-editsection-bracket">[</span>{{PageCreateLink|create={{FULLPAGENAME}}/definitions|alt=edit|preload=Class_def_section/preload}}<span class="mw-editsection-bracket">]</span></span></span>
<onlyinclude><h2><span class="mw-headline">C++ definitions from {{src13mp|4}}</span> <span class="mw-editsection"><span class="mw-editsection-bracket">[</span>{{PageCreateLink|create={{FULLPAGENAME}}/definitions|alt=edit|preload=Class_def_section/preload}}<span class="mw-editsection-bracket">]</span></span></h2>
{{/definitions}}</onlyinclude>
{{/definitions}}</onlyinclude>

Latest revision as of 13:41, 17 July 2025

To be used on entity c++ class pages (CPhysicsProp). Creates section as shown below and transcludes /definitions subpage. [edit] link next to is page creation link to /definitions subpage preloaded with Template:Class_def_section/preload

C++ definitions from Source 2013 Multiplayer Source 2013 Multiplayer [edit]

Serverside

x.h

.

x.cpp

.

Clientside

x.h

.

x.cpp

.