Difference between revisions of "Template:SLVEC object"

From Second Life Wiki
Jump to navigation Jump to search
m (if no name, use '(unnamed)'; if no desc, use '(none)')
m (moved magic __NOTOC__)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ #vardefine: idxKioskItem | {{ #expr: {{#var:idxKioskItem}} + 1 }} }}:{|
<includeonly>{{ #vardefine: idxKioskItem | {{ #expr: {{#var:idxKioskItem}} + 1 }} }}{|style='margin-left:25px'
   |-
   |-
   | ''Item Number:''
   | ''Item Number:''
Line 5: Line 5:
   |-
   |-
   | ''Date:''
   | ''Date:''
   | {{{add_date}}}
   | {{#time:d-M-Y|{{{add_date}}}}}
   |-
   |-
   | ''Prim count:''
   | ''Prim count:''
   | {{{prims}}}
   | {{{prims|{{wFont|color=red|text=MISSING DATA!}}}}}
   |-
   |-
   | ''Script count:''
   | ''Script count:''
   | {{{scripts|N/A}}}
   | {{{scripts|0}}}
   |-
   |-
   | ''Name:''
   | ''Name:''
Line 19: Line 19:
   | {{{description|''(none)''}}}
   | {{{description|''(none)''}}}
   |}
   |}
:<hr width='50%'><noinclude>
<hr style='margin-left:25px'></includeonly><noinclude>__NOTOC__
    Explanation coming.
== Overview ==
This template is designed to work in conjunction to [[Template:SLVEC_kiosk]] -- that is, a single [[Template:SLVEC_kiosk]] heads a series of [[Template:SLVEC_object]] elements. This denotes the object(s) as contained within the kiosk.
 
A complimentary template which displays the same data as this but in a more condensed format can be found at [[Template:SLVEC_object_condensed]]
 
== Usage ==
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_object
|name=
|description=
|add_date=
|prims=
|scripts=
|}}</nowiki></pre></code></div>
 
* ''name'' is the name of the kiosk object
* ''description'' is for providing a brief overview
* ''add_date'' is the date the object was added (not updated or modified)
* ''prims'' is the count of primitives comprising the object (''{{wFont|color=red|text=REQUIRED}}'')
* ''scripts'' is the count of scripts contained within the entire object
 
{{wFont|color=orange|text=NOTE:''{{wFont|color=gray|text=item number}}'' is auto-generated and, for proper functioning, must be used in conjunction with [[Template:SLVEC_kiosk]].}}
 
== Examples ==
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_object
|name=Telephone!
|description=This device allows you to call your friends.
|add_date=8/22/2008
|prims=1
|scripts=8
|}}</nowiki></pre></code></div>
 
{{SLVEC_object
|name=Telephone!
|description=This device allows you to call your friends.
|add_date=8/22/2008
|prims=1
|scripts=8
|}}
 
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_object
|name=Note pad
|description=This device captures all notes chatted by its owner.
|add_date=3-Sep-07
|}}</nowiki></pre></code></div>
 
{{SLVEC_object
|name=Note pad
|description=This device captures all notes chatted by its owner.
|add_date=3-Sep-07
|}}
</noinclude>
</noinclude>

Latest revision as of 12:43, 22 August 2008

Overview

This template is designed to work in conjunction to Template:SLVEC_kiosk -- that is, a single Template:SLVEC_kiosk heads a series of Template:SLVEC_object elements. This denotes the object(s) as contained within the kiosk.

A complimentary template which displays the same data as this but in a more condensed format can be found at Template:SLVEC_object_condensed

Usage

{{SLVEC_object
 |name=
 |description=
 |add_date=
 |prims=
 |scripts=
 |}}
  • name is the name of the kiosk object
  • description is for providing a brief overview
  • add_date is the date the object was added (not updated or modified)
  • prims is the count of primitives comprising the object (REQUIRED)
  • scripts is the count of scripts contained within the entire object

NOTE:item number is auto-generated and, for proper functioning, must be used in conjunction with Template:SLVEC_kiosk.

Examples

{{SLVEC_object
 |name=Telephone!
 |description=This device allows you to call your friends.
 |add_date=8/22/2008
 |prims=1
 |scripts=8
 |}}
Item Number: 1
Date: 22-Aug-2008
Prim count: 1
Script count: 8
Name: Telephone!
Description: This device allows you to call your friends.

{{SLVEC_object
 |name=Note pad
 |description=This device captures all notes chatted by its owner.
 |add_date=3-Sep-07
 |}}
Item Number: 2
Date: 03-Sep-2007
Prim count: MISSING DATA!
Script count: 0
Name: Note pad
Description: This device captures all notes chatted by its owner.