Difference between revisions of "Template:LSL Function/inventory"

From Second Life Wiki
Jump to navigation Jump to search
m (stupid oversight... need sleep)
m
Line 2: Line 2:
{{:DEBUG_CHANNEL}}
{{:DEBUG_CHANNEL}}


{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the prim's inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or {{HoverLink|UUID|Universally Unique IDentifier}}}}}}
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the prim's inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or {{HoverLink|UUID|Universally Unique IDentifier}}}}{{#var:p_{{{1|none}}}_desc}}}}


{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the prim's inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the prim's inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}{{#var:p_{{{1|none}}}_hover}}}}


{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
Line 17: Line 17:
{{UpdateLink}}
{{UpdateLink}}


{| {{Prettytable}} {{#vardefine:caveats}}
{| {{Prettytable}} {{#vardefine:caveats}}{{#vardefine:p_ta_desc}}{{#vardefine:p_ta_hover}}
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}
|-{{Hl2}}
|-{{Hl2}}
Line 30: Line 30:
|}
|}


{| {{Prettytable}} {{#vardefine:caveats}}
{| {{Prettytable}} {{#vardefine:caveats}}{{#vardefine:p_ta_desc}}{{#vardefine:p_ta_hover}}
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}
|-{{Hl2}}
|-{{Hl2}}

Revision as of 16:17, 12 March 2010

Press this link after making a change, so it becomes displayed.
{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}
#var value
caveats
  • If ta is missing from the prim's inventory and it is not a UUID or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • If ta is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
p_ta_desc a sound in the prim's inventory or UUID
p_ta_hover a sound in the prim's inventory or UUID
{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}
#var value
caveats
  • If ta is missing from the prim's inventory or it is not a sound then an error is shouted on DEBUG_CHANNEL.
p_ta_desc a sound in the prim's inventory
p_ta_hover a sound in the prim's inventory