Difference between revisions of "Template:SLVEC object condensed"

From Second Life Wiki
Jump to navigation Jump to search
(fixed param name: 'date' to 'add_date')
(flipped/added _condensed bits)
 
(91 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:idxKioskItem|{{#expr:{{#var:idxKioskItem}} + 1}}}}:{|style='border:none;border-collapse:collapse'
<includeonly>{{#vardefine:idxKioskItem|{{#expr:{{#var:idxKioskItem}} + 1}}}}{|style='border:none;border-collapse:collapse;margin-left:25px'
  |-  
  |-
  |style='text-align:center;padding:6px;padding-bottom:2px;border:solid black 1px;border-bottom:none'|'''Item Number'''
  |style='text-align:center;border:solid black 1px;border-bottom:none'|'''Item Number'''
  |rowspan=3|&nbsp;
  |rowspan=3|&nbsp;
  |style='text-align:left'|'''Name:'''
  |style='text-align:left;padding-right:10px'|'''Name:'''
  |style='text-align:left;border-right:solid black 1px'|{{{name|(no name)}}}
  |style='text-align:left;width:80%'|''{{{name|(no name)}}}''
|rowspan=3|&nbsp;
  |-
|style='text-align:left'|'''Date:'''
  |style='text-align:center;font-size:14pt;border-left:solid black 1px;border-right:solid black 1px'|{{#var:idxKioskItem}}
|style='text-align:left'|{{{add_date}}}
  |style='text-align:left;vertical-align:top;padding-right:10px'|'''Description:'''
  |-style='vertical-align:top'
  |rowspan=2 style='text-align:left;vertical-align:top;width:80%'|{{{description|(none)}}}
  |rowspan=2 style='text-align:center;padding:6px;vertical-align:middle;font-size:22pt;border:solid black 1px;border-top:none'|{{#var:idxKioskItem}}
  |rowspan=2 style='text-align:left;padding-bottom:3px'|'''Description:'''
  |rowspan=2 style='text-align:left;border-right:solid black 1px;width:50%'|{{{description|(none)}}}
|style='text-align:left;padding-bottom:3px'|'''Prims:'''
|style='text-align:left'|{{{prims|(unspecified)}}}
  |-
  |-
  |style='text-align:left'|'''Scripts:'''
  |style='border:solid black 1px;border-top:none'|
|style='text-align:left'|{{{scripts|(none)}}}
{|style='border:dashed gray 1px;vertical-align:center;font-size:8pt'
  |-
  |style='text-align:left;padding-right:4px'|'''Date:'''||{{#time:d-M-Y|{{{add_date}}}}}
  |-
  |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)}}}
  |}
  |}
  |}
:<hr width='75%'><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 in a more spread-out format can be found at [[Template:SLVEC_object]]
 
== Usage ==
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_object_condensed
|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_condensed
|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_condensed
|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_condensed
|name=Note pad
|description=This device captures all notes chatted by its owner.
|add_date=3-Sep-07
|}}</nowiki></pre></code></div>
 
{{SLVEC_object_condensed
|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:45, 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 in a more spread-out format can be found at Template:SLVEC_object

Usage

{{SLVEC_object_condensed
 |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_condensed
 |name=Telephone!
 |description=This device allows you to call your friends.
 |add_date=8/22/2008
 |prims=1
 |scripts=8
 |}}
Item Number   Name: Telephone!
1 Description: This device allows you to call your friends.
Date: 22-Aug-2008
Prims: 1
Scripts: 8

{{SLVEC_object_condensed
 |name=Note pad
 |description=This device captures all notes chatted by its owner.
 |add_date=3-Sep-07
 |}}
Item Number   Name: Note pad
2 Description: This device captures all notes chatted by its owner.
Date: 03-Sep-2007
Prims: MISSING DATA!
Scripts: (none)