Template:InfoBoxMetaStorage: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">'''Storage Location'''</div>
<div class="infobox-title">'''[[Has SID::{{PAGENAME}}]]'''</div>
{{#if:{{{Photo|}}}|<div class="infobox-image" id="Photo">[[Has Photo::File:{{{Photo}}}|150px|center]]</div>}}<table style="width:100%;">
{{#if:{{{Photo|}}}|<div class="infobox-image" id="Photo">[[Has Photo::File:{{{Photo}}}|150px|center]]</div>}}<table style="width:100%;">
<tr>
<tr>
Line 6: Line 6:
</tr>
</tr>
<tr>
<tr>
     <th>{{nowrap|Storage Type}}</th>
     <th>[[Property:Of_Storage_Type|{{nowrap|Storage Type}}]]</th>
     <td id="StorageType">{{{Storage Type}}}</td>
     <td id="StorageType">[[Of Storage Type::{{{Storage Type}}}]]</td>
     [[Category:MetaStorage]]
     {{#if:{{{Storage Type|}}}|{{#ifeq:{{PAGENAME}}|MetaStorage/Preload|Category Not Set|[[Category:MetaStorage]]}}}}
</tr>
</tr>


<tr>
<tr>
     <th>[[Property:Has_SID|{{nowrap|Storage ID}}]]</th>
     <th>{{nowrap|Location}}</th>
     <td id="StorageID">[[Has SID::{{{Storage ID}}}]]</td>
     <td id="INSID">[[In SID::{{{Location}}}]]</td>
</tr>
</tr>


<tr><th colspan=2  class="info-section">QR Code</th></tr>
<tr><th colspan=2  class="info-section">QR Code</th></tr>
<tr><td colspan=2 style="text-align:center;"><div class="mw-collapsible mw-collapsed" id="QRCode">{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}</div></td></tr>
 
<tr><td colspan=2 style="text-align:center;">[https://wiki.techtangents.net/php/sid-tag.php?page={{PAGENAMEE}}&layout=shipping <div class="mw-collapsible mw-collapsed" id="QRCode">{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}</div> (Click for Asset Tag)]</td></tr>
</table>
</table>
</div>
</div>
Line 25: Line 26:
"params": {
"params": {
"Title": {},
"Title": {},
"Photo": {},
"Photo": {
"type": "wiki-file-name"
},
"Storage Type": {
"Storage Type": {
"type": "string",
"type": "string",
Line 32: Line 35:
"Shelf",
"Shelf",
"Room"
"Room"
]
],
"required": true
},
},
"Storage ID": {
"Storage ID": {
"type": "string"
"type": "string"
},
"Location": {
"type": "wiki-page-name"
}
}
}
}

Latest revision as of 16:33, 10 August 2024

InfoBoxMetaStorage
Storage Info
Storage Type {{{Storage Type}}}
Location {{{Location}}}
QR Code
(Click for Asset Tag)

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
TitleTitle

no description

Unknownoptional
PhotoPhoto

no description

Fileoptional
Storage TypeStorage Type

no description

Suggested values
Bin Shelf Room
Stringrequired
Storage IDStorage ID

no description

Stringoptional
LocationLocation

no description

Page nameoptional