Template:InfoboxMedia: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
(Un-F)
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">'''{{{Title|{{PAGENAME}}}}}'''</div>
<div class="infobox-title">'''{{{Title|{{PAGENAME}}}}}'''</div>
 
{{#if:{{{Photo|}}}|<div class="infobox-image" id="Photo"><div style="margin:0;padding:0;">[[Has Photo::File:{{{Photo}}}|150px|center]]</div><div style="margin:0;padding:0;"><small>''Copyright of Artwork belongs to original publisher''</small></div></div>}}<table style="width:100%;">
<table style="width:100%;">
<tr>
<tr>
<th colspan=2 class="info-section">Release Info</th>
<th colspan=2 class="info-section">Release Info</th>
</tr>
</tr>
 
{{#if:{{{Media Type|}}}|<tr>
{{#if:{{{Photo|}}}|
     <th>{{nowrap|Media Type}}</th>
<tr>
     <td id="MediaType">{{{Media Type}}}</td>
     <th>{{nowrap|Photo}}</th>
    [[Category:{{{Media Type}}}]]
     <td>[[Has Photo::File:{{{Photo}}}]]</td>
</tr>
</tr>
}}
}}
{{#if:{{{Release Year|}}}|
{{#if:{{{Release Year|}}}|
<tr>
<tr>
     <th>{{nowrap|Release Year}}</th>
     <th>{{nowrap|Release Year}}</th>
     <td>[[From Year::{{{Release Year}}}]]</td>
     <td id="Year">[[From Year::{{{Release Year}}}]]</td>
</tr>
</tr>
}}
}}
 
<!-- Plain
{{#if:{{{Platform|}}}|
<tr>
    <th>{{nowrap|Platform}}</th>
    <td id="Platform">[[For Platform::{{{Platform}}}]]</td>
</tr>
}}-->
<!--Dynamic-->
{{#if:{{{Platform|}}}|
{{#if:{{{Platform|}}}|
<tr>
<tr>
     <th>{{nowrap|Platform}}</th>
     <th>{{nowrap|Platform}}</th>
     <td>[[For Platform::{{{Platform}}}]]</td>
     <td id="Platform">{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{Platform}}},
|Fake,|[[For Platform::Fake]],}}|IBM PC,|[[For Platform::IBM PC]],}}|Macintosh (M68000),|[[For Platform::Macintosh (M68000)]],}}|Mac (PowerPC),|[[For Platform::Mac (PowerPC)]],}}|Apple II,|[[For Platform::Apple II]],}}|Amiga,|[[For Platform::Amiga]],}}|Commodore 64,|[[For Platform::Commodore 64]],}}|Linux,|[[For Platform::Linux]],}}|Mac (Intel),|[[For Platform::Mac (Intel)]],}}|Atari ST,|[[For Platform::Atari ST]],}}|Atari 400/800,|[[For Platform::Atari 400/800]],}}|Coleco Adam,|[[For Platform::Coleco Adam]],}}|HP Series 80: 86/87,|[[For Platform::HP Series 80: 86/87]],}}|HP Series 80: 83/85,|[[For Platform::HP Series 80: 83/85]],}}|TRS-80 Model I,|[[For Platform::TRS-80 Model I]],}}|TRS-80 Model 4,|[[For Platform::TRS-80 Model 4]],}}|TRS-80 Model II,|[[For Platform::TRS-80 Model II]],}}|,
||}}</td>
</tr>
</tr>
}}
}}
 
<!-- Plain
{{#if:{{{Media Format|}}}|
{{#if:{{{Media Format|}}}|
<tr>
<tr>
     <th>{{nowrap|Media Format}}</th>
     <th>{{nowrap|Media Format}}</th>
     <td>[[On Media Format::{{{Media Format}}}]]</td>
     <td id="MediaFormat">[[On Media Format::{{{Media Format}}}]]</td>
</tr>
}}
-->
<!--Dynamic-->
{{#if:{{{Media Format|}}}|<tr>
    <th>{{nowrap|Media Format}}</th>
<td>{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{Media Format}}},
|Fake,|[[On Media Format::Fake]],}}|CD-ROM,|[[On Media Format::CD-ROM]],}}|DVD,|[[On Media Format::DVD]],}}|3.5in 720KB DD Floppy Disk,|[[On Media Format::3.5in 720KB DD Floppy Disk]],}}|3.5in 1.44MB HD Floppy Disk,|[[On Media Format::3.5in 1.44MB HD Floppy Disk]],}}|5.25in 360KB DD Floppy Disk,|[[On Media Format::5.25in 360KB DD Floppy Disk]],}}|5.25in 1.2MB HD Floppy Disk,|[[On Media Format::5.25in 1.2MB HD Floppy Disk]],}}|,
||}}</td></tr>}}
 
{{#if:{{{Box Type|}}}|
<tr>
    <th>{{nowrap|Box Type}}</th>
    <td id="BoxType">[[Has Box Type::{{{Box Type}}}]]</td>
</tr>
</tr>
}}
}}
Line 38: Line 58:
<tr>
<tr>
     <th>{{nowrap|Notes}}</th>
     <th>{{nowrap|Notes}}</th>
     <td>[[Has Notes::{{{Notes}}}]]</td>
     <td id="Notes">[[Has Notes::{{{Notes}}}]]</td>
</tr>
</tr>
}}
}}
Line 45: Line 65:
<tr>
<tr>
     <th>{{nowrap|UPC}}</th>
     <th>{{nowrap|UPC}}</th>
     <td>[[Has UPC::{{{UPC}}}]]</td>
     <td id="UPC">[[Has UPC::{{{UPC}}}]]</td>
</tr>
</tr>
}}
}}
Line 57: Line 77:
<tr>
<tr>
     <th>{{nowrap|Box Condition}}</th>
     <th>{{nowrap|Box Condition}}</th>
     <td>[[Is Package Condition::{{{Box Condition}}}]]</td>
     <td id="Condition">[[Is Package Condition::{{{Box Condition}}}]]</td>
</tr>
</tr>
}}
}}
Line 64: Line 84:
<tr>
<tr>
     <th>{{nowrap|Notes Condition}}</th>
     <th>{{nowrap|Notes Condition}}</th>
     <td>[[Has Notes Condition::{{{Notes Condition}}}]]</td>
     <td id="CondictionNotes">[[Has Notes Condition::{{{Notes Condition}}}]]</td>
</tr>
</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>
}}
<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" >{{#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}} <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 92: Line 121:
"TRS-80 Model I",
"TRS-80 Model I",
"TRS-80 Model 4",
"TRS-80 Model 4",
"TRS-80 Model II"
"TRS-80 Model II",
"Mac (Intel)"
]
]
},
},
Line 99: Line 129:
"suggestedvalues": [
"suggestedvalues": [
"CD-ROM",
"CD-ROM",
"3.5\" 1.44MB HD Floppy Disk",
"DVD",
"3.5\" 720KB DD Floppy Disk",
"3.5in 720KB DD Floppy Disk",
"5.25\" 1.2MB HD Floppy Disk",
"3.5in 1.44MB HD Floppy Disk",
"5.25\" 360KB DD Floppy Disk",
"5.25in 360KB DD Floppy Disk",
"DVD"
"5.25in 1.2MB HD Floppy Disk"
]
]
},
},
Line 123: Line 153:
"Photo": {
"Photo": {
"type": "wiki-file-name"
"type": "wiki-file-name"
},
"Media Type": {
"type": "string",
"suggestedvalues": [
"Software"
]
},
"Location": {
"type": "wiki-page-name"
},
"Box Type": {
"type": "string",
"suggestedvalues": [
"Big Box",
"Small Box",
"Collector's Edition",
"Binder",
"Clamshell",
"DVD Case",
"Jewel Case"
]
}
}
}
}
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 19:38, 8 September 2024

InfoboxMedia
Release Info
QR Code
(Click for Asset Tag)

Template:InfoboxMedia/Doc

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
TitleTitle

no description

Unknownoptional
Release YearRelease Year

no description

Numberoptional
PlatformPlatform

no description

Suggested values
IBM PC Macintosh (M68000) Commodore 64 Mac (PowerPC) Linux Atari ST TRS-80 Model I TRS-80 Model 4 TRS-80 Model II Mac (Intel)
Stringoptional
Media FormatMedia Format

no description

Suggested values
CD-ROM DVD 3.5in 720KB DD Floppy Disk 3.5in 1.44MB HD Floppy Disk 5.25in 360KB DD Floppy Disk 5.25in 1.2MB HD Floppy Disk
Stringoptional
NotesNotes

no description

Unknownoptional
Box ConditionBox Condition

no description

Suggested values
5 - Like New 4 - Nice, but not perfect 3 - Creases, mild crushing, light fading 2 - Corner tears, bad crushing, bad fading 1 - Water damage, missing parts, bleached
Stringoptional
Notes ConditionNotes Condition

no description

Unknownoptional
UPCUPC

no description

Numberoptional
PhotoPhoto

no description

Fileoptional
Media TypeMedia Type

no description

Suggested values
Software
Stringoptional
LocationLocation

no description

Page nameoptional
Box TypeBox Type

no description

Suggested values
Big Box Small Box Collector's Edition Binder Clamshell DVD Case Jewel Case
Stringoptional