Difference between revisions of "Template:SLVEC object"

From Second Life Wiki
Jump to navigation Jump to search
(added small separator)
m (moved magic __NOTOC__)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
:{|
<includeonly>{{ #vardefine: idxKioskItem | {{ #expr: {{#var:idxKioskItem}} + 1 }} }}{|style='margin-left:25px'
|-
  |-
| Object Number:
  | ''Item Number:''
| ''{{{number}}}''
  | {{#var:idxKioskItem}}
|-
  |-
| 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}}}''
  | {{{scripts|0}}}
|-
  |-
| Name:
  | ''Name:''
| ''{{{name}}}''
  | {{{name|''(unnamed)''}}}
  |-
  |-style='vertical-align:top'
  | Description:
  | ''Description:''
  | ''{{{description}}}''
  | {{{description|''(none)''}}}
  |}
  |}
:<hr width='50%'><br>
<hr style='margin-left:25px'></includeonly><noinclude>__NOTOC__
== 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>

Latest revision as of 13: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.