Template:InfoboxMedia: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
(Un-F)
 
(26 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%;">
{{#if:{{{Photo|}}}|
<div class="infobox-image" id="Photo">[[Has Photo::File:{{{Photo}}}|150px|center]]</div>
}}
<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:{{{Media Type|}}}|
<tr>
     <th>{{nowrap|Media Type}}</th>
     <th>{{nowrap|Media Type}}</th>
     <td id="MediaType">{{{Media Type}}}</td>
     <td id="MediaType">{{{Media Type}}}</td>
Line 17: Line 11:
</tr>
</tr>
}}
}}
{{#if:{{{Release Year|}}}|
{{#if:{{{Release Year|}}}|
<tr>
<tr>
Line 24: Line 17:
</tr>
</tr>
}}
}}
 
<!-- Plain
{{#if:{{{Platform|}}}|
{{#if:{{{Platform|}}}|
<tr>
<tr>
     <th>{{nowrap|Platform}}</th>
     <th>{{nowrap|Platform}}</th>
     <td id="Platform">[[For Platform::{{{Platform}}}]]</td>
     <td id="Platform">[[For Platform::{{{Platform}}}]]</td>
</tr>
}}-->
<!--Dynamic-->
{{#if:{{{Platform|}}}|
<tr>
    <th>{{nowrap|Platform}}</th>
    <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 id="MediaFormat">[[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 73: Line 89:


}}
}}
{{#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" 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}} <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 96: 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 103: 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 132: Line 158:
"suggestedvalues": [
"suggestedvalues": [
"Software"
"Software"
]
},
"Location": {
"type": "wiki-page-name"
},
"Box Type": {
"type": "string",
"suggestedvalues": [
"Big Box",
"Small Box",
"Collector's Edition",
"Binder",
"Clamshell",
"DVD Case",
"Jewel Case"
]
]
}
}

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