Difference between revisions of "Template:SLVEC object condensed"

From Second Life Wiki
Jump to navigation Jump to search
(flipped/added _condensed bits)
 
(48 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='vertical-align:top'
  |-
  |style='width:12%;text-align:center;padding:4px;border:solid black 1px;border-bottom:none'|'''Item Number'''
  |style='text-align:center;border:solid black 1px;border-bottom:none'|'''Item Number'''
  |rowspan=2|&nbsp;
  |rowspan=3|&nbsp;
  |style='text-align:left;padding-right:10px'|'''Name:'''
  |style='text-align:left;padding-right:10px'|'''Name:'''
  |style='text-align:left;border-right:solid black 1px;width:80%'|''{{{name|(no name)}}}''
  |style='text-align:left;width:80%'|''{{{name|(no name)}}}''
|rowspan=2|&nbsp;
  |-
  |-style='vertical-align:middle'
  |style='text-align:center;font-size:14pt;border-left:solid black 1px;border-right:solid black 1px'|{{#var:idxKioskItem}}
  |rowspan=2 style='text-align:center;padding:4px;font-size:22pt;border:solid black 1px;border-top:none'|{{#var:idxKioskItem}}
  |style='text-align:left;vertical-align:top;padding-right:10px'|'''Description:'''
  |rowspan=2 style='text-align:left;vertical-align:top;padding-right:10px'|'''Description:'''
  |rowspan=2 style='text-align:left;vertical-align:top;width:80%'|{{{description|(none)}}}
  |rowspan=2 style='text-align:left;vertical-align:top;border-right:solid black 1px;width:80%'|{{{description|(none)}}}
  |-
  }
|style='border:solid black 1px;border-top:none'|
  {|
  {|style='border:dashed gray 1px;vertical-align:center;font-size:8pt'
   |-
   |-
   |style='text-align:left'|'''Date:''' {{{add_date}}}
   |style='text-align:left;padding-right:4px'|'''Date:'''||{{#time:d-M-Y|{{{add_date}}}}}
   |style='text-align:left'|'''Prims:''' {{{prims|(unspecified)}}}
  |-
   |style='text-align:left'|'''Scripts:''' {{{scripts|(none)}}}
   |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><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)