Template:WatchBox: Difference between revisions

From AsteroidOS
No edit summary
Tag: Manual revert
(import a part of the postmarketos device infobox template for testing)
 
Line 1: Line 1:
[[File:{{{Image}}}|thumb|<b>{{{Model}}}</b><br/>{{{Name}}}<br/>{{{Stars}}}]]
{{Infobox
| name=Infobox
| bodystyle=
| title =  {{#replace:{{{manufacturer|}}}|/|/<br>}} {{#replace:{{{name|}}}|/|/<br>}}
| titlestyle =
 
|image        = {{#if:{{{image|}}}|[[{{{image|}}}|200px|alt={{{imagecaption|}}}]]}}
|imagestyle  =
|caption      = {{{imagecaption|}}}
|captionstyle =
 
|header1 =
|label1  = Manufacturer
|data1  =  {{#if:{{{manufacturer|}}}|[[:Category:{{{manufacturer|}}}|{{{manufacturer}}}]]}}
 
|header2 =
|label2  = Name
|data2  = {{#replace:{{{model|}}}|/|/<br>}}
 
|header3 =
|label3  = Codename
|data3  = {{{codename|}}}
 
|header4 =
|label4  = Model
|data4  = {{{model|}}}
 
|header5 =
|label5  = Released
|data5  = {{{releaseyear|}}}
|header8 = Hardware
 
|header9 =
|label9 = Chipset
|data9  = {{#if:{{{chipset|}}}|[[{{{chipset|}}}]]}}
 
|header10 =
|label10  = Display
|data10  = {{{display|}}}
 
|header11 =
|label11  = Storage
|data11  = {{{storage|}}}
 
|header12 =
|label12  = Memory
|data12  = {{{memory|}}}
 
|header13 =
|label13  = Architecture
|data13  = {{#if:{{lc:{{{architecture|}}} }}|[[:Category:{{lc:{{{architecture|}}} }}|{{lc:{{{architecture|}}} }}]]}}
 
<!-- Software header. Same trick as above. -->
 
|header14 = Software
|label14 =
|data14 =
 
|header15 =
|label15  = Original software
|data15  = {{#if:{{{originalsoftware|}}}|[[:Category:{{{originalsoftware|}}}|{{{originalsoftware}}}]]}}
 
|header16 =
|label16  = <abbr title="The version the device was shipped with.">Original version</abbr>
|data16  = {{{originalversion|}}}
 
|header17 =
|label17  = <abbr title="The most recent supported version from the manufacturer.">Extended version</abbr>
|data17  = {{{extendedversion|}}}
 
}}

Latest revision as of 13:30, 11 December 2024

Hardware
Software