Template:ExampleDetails: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 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|}}}|
{{#if:{{{Picture|}}}|<div class="examplebox-image">[[File:{{{Picture}}}|200px]]</div>}}
<div class="examplebox-image">[[File:{{{Picture}}}|300px]]</div>
}}


<table style="width:100%;">
<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 12: Line 10:
{{#if:{{{Condition|}}}|
{{#if:{{{Condition|}}}|
<tr>
<tr>
     <th>{{nowrap|Condition}}</th>
     <th class="data-label">{{nowrap|Condition}}</th>
     <td>[[:Category:{{{Condition}}}|{{{Condition}}}]]</td>
     <td>[[:Category:{{{Condition}}}|{{{Condition}}}]]</td>
     [[Category:{{{Condition}}}]]
     [[Category:{{{Condition}}}]]
Line 21: Line 19:
{{#if:{{{Model Number|}}}|
{{#if:{{{Model Number|}}}|
<tr>
<tr>
     <th>{{nowrap|Model Number}}</th>
     <th class="data-label">{{nowrap|Model Number}}</th>
     <td>{{{Model Number}}}</td>
     <td>{{{Model Number}}}</td>
</tr>
</tr>
Line 28: Line 26:
{{#if:{{{FCCID|}}}|
{{#if:{{{FCCID|}}}|
<tr>
<tr>
     <th>{{nowrap|FCCID}}</th>
     <th class="data-label">{{nowrap|FCCID}}</th>
     <td>[https://fccid.io/{{{FCCID}}} {{{FCCID}}}]</td>
     <td>[https://fccid.io/{{{FCCID}}} {{{FCCID}}}]</td>
</tr>
</tr>
Line 35: Line 33:
{{#if:{{{Serial Number|}}}|
{{#if:{{{Serial Number|}}}|
<tr>
<tr>
     <th>{{nowrap|Serial Number}}</th>
     <th class="data-label">{{nowrap|Serial Number}}</th>
     <td>{{{Serial Number}}}</td>
     <td>{{{Serial Number}}}</td>
</tr>
</tr>
Line 42: Line 40:
{{#if:{{{Color|}}}|
{{#if:{{{Color|}}}|
<tr>
<tr>
     <th>{{nowrap|Color}}</th>
     <th class="data-label">{{nowrap|Color}}</th>
     <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