Template:WatchBox: Difference between revisions

From AsteroidOS
No edit summary
Tag: Reverted
(import a part of the postmarketos device infobox template for testing)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[File:{{{Image}}}|thumb|{{{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

{{#ifeq:|yes||

{{#if:{{#replace:|/|/
}} {{#replace:|/|/
}}|}}{{#if:|}}

}}{{#ifeq:|yes|{{#replace:|/|/
}} {{#replace:|/|/
}}}}{{#if:|{{#if:

|
|{{#if:
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{subheader2}}}
|{{#if: | }} }} }}{{#if:{{#if:|[[|200px|alt=]]}}|{{#if: |
|{{#if:{{#if:|[[|200px|alt=]]}}{{#if:|
}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image2}}}{{#if:|
{{{caption2}}}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image3}}}{{#if:|
{{{caption3}}}}}
|{{#if: | }} }} }}{{#if: |
|{{#if:{{#if:|[[:Category:|{{{manufacturer}}}]]}}
|{{#if:Manufacturer | }} }}{{#if: |
|{{#if:{{#replace:|/|/
}}
|{{#if:Name | }} }}{{#if: |
|{{#if:
|{{#if:Codename | }} }}{{#if: |
|{{#if:
|{{#if:Model | }} }}{{#if: |
|{{#if:
|{{#if:Released | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if:Hardware |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:{{#if:|[[]]}}
|{{#if:Chipset | }} }}{{#if: |
|{{#if:
|{{#if:Display | }} }}{{#if: |
|{{#if:
|{{#if:Storage | }} }}{{#if: |
|{{#if:
|{{#if:Memory | }} }}{{#if: |
|{{#if:{{#if:|[[:Category:|]]}}
|{{#if:Architecture | }} }}{{#if:Software |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:{{#if:|[[:Category:|{{{originalsoftware}}}]]}}
|{{#if:Original software | }} }}{{#if: |
|{{#if:
|{{#if:Original version | }} }}{{#if: |
|{{#if:
|{{#if:Extended version | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if:|}}{{#if:Infobox|}} {{#ifeq:|yes||
{{#replace:|/|/
}} {{#replace:|/|/
}}
{{{above}}}
{{{header}}}
{{{label}}} |
 }}
{{{header}}}
{{{label}}} |
 }}
{{{subheader2}}}
{{{header}}}
{{{label}}} |
 }}
{{#if:|[[|200px|alt=]]}}{{#if:|
}}
{{{header}}}
{{{label}}} |
 }}
{{{image2}}}{{#if:|
{{{caption2}}}}}
{{{header}}}
{{{label}}} |
 }}
{{{image3}}}{{#if:|
{{{caption3}}}}}
Manufacturer |
 }}
{{#if:|[[:Category:|{{{manufacturer}}}]]}}
Name |
 }}
{{#replace:|/|/
}}
Codename |
 }}
Model |
 }}
Released |
 }}
|
 }}
|
 }}
Hardware
|
 }}
Chipset |
 }}
{{#if:|[[]]}}
Display |
 }}
Storage |
 }}
Memory |
 }}
Architecture |
 }}
{{#if:|[[:Category:|]]}}
Software
|
 }}
Original software |
 }}
{{#if:|[[:Category:|{{{originalsoftware}}}]]}}
Original version |
 }}
Extended version |
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}

{{{below}}}

}}{{#switch:¬

|¬|no       = 
||force|yes = Template:Italic title

}}