Template:Code class/doc: Difference between revisions
Jump to navigation
Jump to search
Note:A problem with unnamed parameters is that no whitespace is trimmed, so do not enter any extra spaces when using this template. There is no need to enhance this detail.
(Created simple doc to Template:Code Class.) |
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{Documentation subpage → {{Doc/subpage) |
||
Line 1: | Line 1: | ||
{{ | {{Doc/subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page.) --> | <!-- Please place categories where indicated at the bottom of this page.) --> | ||
== Usage == | == Usage == | ||
Line 10: | Line 10: | ||
{| style=background:none | {| style=background:none | ||
| <code><nowiki>{{code class}}</nowiki></code> | | <code><nowiki>{{code class}}</nowiki></code> | ||
| | | → | ||
| {{code class}} | | {{code class}} | ||
|- | |- | ||
| <code><nowiki>{{code class|CSprite|Sprite.cpp}}</nowiki></code> | | <code><nowiki>{{code class|CSprite|Sprite.cpp}}</nowiki></code> | ||
| | | → | ||
| {{code class|CSprite|Sprite.cpp}} | | {{code class|CSprite|Sprite.cpp}} | ||
|} | |} | ||
== See | == See also == | ||
* {{tl|Fix}} | * {{tl|Fix}} | ||
* {{tl|Codenote}} | * {{tl|Codenote}} |
Revision as of 02:20, 12 January 2024

This is a documentation subpage for Template:Code class.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Parameters
- {{{1}}} - The code class where the entity is defined.
- {{{2}}} - The file in which the code class is defined.

Examples
{{code class}}
|
→ | |
{{code class|CSprite|Sprite.cpp}}
|
→ |
See also
{{Fix}}
{{Codenote}}