Template:CD/node: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
For copying. (not sure how to make use of subst: that would add the tags includeonly/onlyinclude too with usage like this <nowiki>{{subst:CD/node|_SUBCLASS_HERE_|_SUPERCLASS_HERE_}}</nowiki>)
{{subst only|actualtemplate={{tlg|cdn|nolink=1|subst=1}}}}
{{Shortcut|cdn}}
 
For CD Source nodes


<pre>
<pre>
<includeonly><onlyinclude>{{#if:{{{1|}}}|{{{1}}}|}}[[_SUBCLASS_HERE_]]
{{subst:CD/node|_SUBCLASS_HERE_|_SUPERCLASS_HERE_}}
{{CD _SUPERCLASS_HERE_|{{#if:{{{1|}}}|{{{1}}}:|:}}}}</includeonly></onlyinclude>
</pre>
 
== See Also ==
* {{T|CD/goldnode}}
 
<includeonly>
 
<onlyinclude>{{CD/nodepage|{{{1}}}|{{{2}}}{{subst:#if:{{{game|}}}|{{subst:!}}game={{{game}}}}}{{subst:#if:{{{acat|}}}|{{subst:!}}acat={{{acat}}}}}}}
 
<includeonly<noinclude />>
 
<onlyinclude<noinclude />>{{subst:(((}}1|{{subst:)))}}[[:{{subst:FULLPAGENAME}}|↳]][[{{{1}}}]]{{subst:#if:{{{acat|}}}|{{#if:{{NAMESPACE}}||{{ACategory|{{{1}}}}}}}}}
{{:Category:CD {{{2}}}|{{subst:(((}}1{{subst:!}}{{subst:)))}}:}}</onlyinclude<noinclude />>
 
</includeonly<noinclude />>


[[Category:CD template]]
[[Category:CD template]]
</pre>
[[Category:CD {{{2}}}]]
</onlyinclude>
 
</includeonly>


[[Category:CD template]]
[[Category:CD template]]

Latest revision as of 13:06, 4 August 2024

For CD Source nodes

{{subst:CD/node|_SUBCLASS_HERE_|_SUPERCLASS_HERE_}}

See Also