Difference between revisions of "Template:SLVEC object condensed"

From Second Life Wiki
Jump to navigation Jump to search
m (changed month number to month abbrv name)
(added examples)
Line 1: Line 1:
{{#vardefine:idxKioskItem|{{#expr:{{#var:idxKioskItem}} + 1}}}}{|style='border:none;border-collapse:collapse;margin-left:25px'
<includeonly>{{#vardefine:idxKioskItem|{{#expr:{{#var:idxKioskItem}} + 1}}}}{|style='border:none;border-collapse:collapse;margin-left:25px'
  |-
  |-
  |style='text-align:center;border:solid black 1px;border-bottom:none'|'''Item Number'''
  |style='text-align:center;border:solid black 1px;border-bottom:none'|'''Item Number'''
Line 15: Line 15:
   |style='text-align:left;padding-right:4px'|'''Date:'''||{{#time:d-M-Y|{{{add_date}}}}}
   |style='text-align:left;padding-right:4px'|'''Date:'''||{{#time:d-M-Y|{{{add_date}}}}}
   |-
   |-
   |style='text-align:left;padding-right:4px'|'''Prims:'''||{{{prims|(unspecified)}}}
   |style='text-align:left;padding-right:4px'|'''Prims:'''||{{{prims|{{wFont|color=red|text=MISSING DATA!}}}}}
   |-
   |-
   |style='text-align:left;padding-right:4px'|'''Scripts:'''||{{{scripts|(none)}}}
   |style='text-align:left;padding-right:4px'|'''Scripts:'''||{{{scripts|(none)}}}
   |}
   |}
  |}
  |}
<hr style='margin-left:25px'><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>

Revision as of 13:44, 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.