Template:ExampleDetails: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="examplebox-horizontal">
<div class="examplebox-horizontal" id="{{{Serial Number}}}">
{{#if:{{{Picture|}}}|<div class="examplebox-image">[[File:{{{Picture}}}|200px]]</div>}}
{{#if:{{{Picture|}}}|<div class="examplebox-image">[[File:{{{Picture}}}|200px]]</div>}}


<table>
<table>
<tr>
<tr>
     <th colspan=2 class="info-section">Example Info</th>
     <th colspan=2 class="info-section">{{#if:{{{Title|}}}|{{{Title}}}|Example Info}}</th>
</tr>
</tr>


Line 34: Line 34:
<tr>
<tr>
     <th class="data-label">{{nowrap|Serial Number}}</th>
     <th class="data-label">{{nowrap|Serial Number}}</th>
     <td><h4>{{{Serial Number}}}<h4></td>
     <td>{{{Serial Number}}}</td>
</tr>
</tr>
}}
}}
Line 43: Line 43:
     <td>{{{Color}}}</td>
     <td>{{{Color}}}</td>
</tr>
</tr>
}}
{{#if:{{{UPC|}}}|
<tr>
    <th class="data-label">{{nowrap|UPC}}</th>
    <td>{{{UPC}}}</td>
</tr>
}}
{{#if:{{{Notes|}}}|
<tr>
    <th colspan=2 class="info-section">Notes</th>
</tr>
<tr>
    <td colspan=2>{{{Notes}}}</td>
</tr>
}}
{{#if:{{{Location|}}}|
<th colspan=2 class="info-section">Storage Info</th>
<tr>
    <th>{{nowrap|Location}}</th>
    <td id="INSID">{{#invoke:String|replace| [[In SID::{{{Location}}}]] |https://wiki.techtangents.net/wiki/|}}</td>
</tr>
}}
{{#if:{{{Serial Number|}}}|
<tr><td colspan=2 style="text-align:center;">[https://wiki.techtangents.net/php/sid-tag.php?page={{PAGENAMEE}}&serial={{{Serial Number}}}<div class="mw-collapsible mw-collapsed" id="QRCode-sn{{{Serial Number}}}">{{#qrlite:{{fullurl:{{FULLPAGENAME}}#{{{Serial Number}}}}}|format=png|size=5|margin=0}}</div> (Click for Asset Tag)]</td></tr>
}}
}}



Latest revision as of 16:57, 20 August 2024


Example Info

Infobox for giving quick useful info for the device

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
TitleTitle

Title for the box

Stringoptional
PicturePicture

Picture of device

Filesuggested
ConditionCondition

Usable status of the computer

Suggested values
Working Untested Broken
Example
Working, Untested, Broken
Stringsuggested
Model NumberModel Number

System type identification

Stringoptional
FCCIDFCCID

The government's model number for the device

Stringoptional
Serial NumberSerial Number

Unique device identification value

Stringoptional
ColorColor

Color of device if can be different

Stringoptional
LocationLocation

Location item is stored

Page nameoptional
NotesNotes

Other information about this example

Stringoptional
UPCUPC

Product Code

Numberoptional