Template:Studio rendering note: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(forced line break for {{{prepend}}} looks bad.)
m (need space, though)
Line 1: Line 1:
{{draft}}{{strings notice}}
{{draft}}{{strings notice}}
Potential deprecation for {{t|KV CBaseAnimating}}, like with {{t|brush rendering note}}.  
Potential deprecation for {{t|KV CBaseAnimating}}, like with {{t|brush rendering note}}.  
<onlyinclude>{{note|{{#if:{{{prepend|}}}|{{{prepend}}}|}}{{studio rendering note/strings|main}} {{#if:{{{1|}}}|<br>{{studio rendering note/strings|unavailable pre}}<br>{{mono|{{{1}}}}}<br>{{studio rendering note/strings|unavailable post}}|}}{{#if:{{{append|}}}|<br>{{{append}}}|}} }}</onlyinclude>
<onlyinclude>{{note|{{#if:{{{prepend|}}}|{{{prepend}}}|}} {{studio rendering note/strings|main}} {{#if:{{{1|}}}|<br>{{studio rendering note/strings|unavailable pre}}<br>{{mono|{{{1}}}}}<br>{{studio rendering note/strings|unavailable post}}|}}{{#if:{{{append|}}}|<br>{{{append}}}|}} }}</onlyinclude>


Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{code|<nowiki>{{studio rendering note|model, body, sequence, playbackrate}}</nowiki>}} yields:
Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{code|<nowiki>{{studio rendering note|model, body, sequence, playbackrate}}</nowiki>}} yields:

Revision as of 10:45, 9 May 2025

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Potential deprecation for {{KV CBaseAnimating}}, like with {{brush rendering note}}.

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.

Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{studio rendering note|model, body, sequence, playbackrate}} yields:

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
Note that the following keyvalues are unavailable due to being overridden by game code:
model, body, sequence, playbackrate
It may still be possible to use their associated inputs or AddOutput them.

Can also take a {{{append}}} parameter, which gets placed after everything else.

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
This is some extra text.
Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
Note that the following keyvalues are unavailable due to being overridden by game code:
skin, body
It may still be possible to use their associated inputs or AddOutput them.
This is some extra text, placed after the note about unavailable KVs.

And {{{prepend}}} which comes first.

Note.pngNote:I come first! See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.