Difference between revisions of "Template:Infobox 3d printer"

From Asmbly Wiki
Line 1: Line 1:
 +
 
<includeonly>
 
<includeonly>
 
+
{{{Printer Name}}}
{{Infobox
 
| bodyclass = hrecipe adr
 
 
 
| titleclass = fn
 
| titlestyle =
 
| title = <includeonly><span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}} {{#ifeq:{{{name_italics|false}}}|true|style="font-style: italic;"|}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span></includeonly>
 
 
 
| image = {{image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} |title={{{image_alt|{{{alt|}}}}}} }}
 
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
 
| caption = {{{caption|}}}
 
 
 
| labelstyle = line-height:1.15em;<!--(modified longitem)-->
 
              padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
 
 
 
| rowclass2 = note
 
| label2  = Alternative names
 
|  data2  = {{{alternate_name|{{{alternate name|}}}}}}
 
 
 
| label3  = Type
 
|  data3  = {{{type|}}}
 
 
 
| label4  = Course
 
|  data4  = {{{course|}}}
 
 
 
| rowclass5 = note
 
| label5  = Place of origin
 
| class5  = country-name
 
|  data5  = {{{country|}}}
 
 
 
| rowclass7 = note
 
| label7  = Region or state
 
| class7  = region
 
|  data7  = {{{region|}}}
 
 
 
| label9  = Associated [[:Category:Cuisine by country|national&nbsp;cuisine]]
 
|  data9  = {{{national_cuisine|}}}
 
 
 
| rowclass11 = note
 
| label11 = Created by
 
| class11 = author
 
|  data11 = {{#if:{{{creators|}}} |{{{creators}}} |{{{creator|}}} }}
 
 
 
| label13 = Invented
 
|  data13 = {{{year|}}}
 
 
 
<!----------------------Cooking time----------------------->
 
| label15 = Cooking time
 
|  data15 = {{#if:{{{mintime|{{{time1|}}}}}}{{{maxtime|{{{time2|}}}}}}
 
            | {{nowrap
 
                | {{#iferror: <!--(display nothing if calculations below generate an error)-->
 
                    {{#if:{{{mintime|{{{time1|}}}}}}
 
                      | {{#ifexpr:{{#expr:{{{mintime|{{{time1|}}}}}}>60}}
 
                        <!----(time is "X hour/s Y min":)---->
 
                        | <!----hours:-->{{rounddown|{{#expr:{{{mintime|{{{time1|}}}}}}/60}}}} <!--
 
                                                      <!--(units:)-->[[hour]]{{#ifeq:{{rounddown|{{#expr:{{{mintime|{{{time1|}}}}}}/60}}}}|1 | |s}} <!--
 
                          <!--minutes:-->{{#ifeq:{{#expr:{{{mintime|{{{time1|}}}}}} mod 60}}|0 |<!--(omit if "0 min")-->
 
                                          | {{#expr:{{{mintime|{{{time1|}}}}}} mod 60}} [[Minute|min]]
 
                                          }}
 
                        <!----(else time is "X minute/s":)---->
 
                        | {{{mintime|{{{time1|}}}}}} <!--(units:)-->[[minute]]{{#ifeq:{{{mintime|{{{time1|}}}}}}|1 | |s}}
 
                  }} }} }}<!--
 
              -->{{#iferror:
 
                    {{#if:{{{maxtime|{{{time2|}}}}}}
 
                      | {{#if:{{{mintime|{{{time1|}}}}}} |<!--(then cooking time given is from min(imum)time to
 
                                                              max(imum), so insert the "to" before the maximum:)-->&nbsp;to}} <!--
 
                          -->{{#ifexpr:{{#expr:{{{maxtime|{{{time2|}}}}}}>60}} <!--("X hour/s Y min" as above)-->
 
                              | {{rounddown|{{#expr:{{{maxtime|{{{time2|}}}}}}/60}}}} hour{{#ifeq:{{rounddown|{{#expr:{{{maxtime|{{{time2|}}}}}}/60}}}}|1 | |s}} <!--
 
                                  -->{{#ifeq:{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}}|0 | |{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}} min}}
 
                              | {{{maxtime|{{{time2|}}}}}} minute{{#ifeq:{{{maxtime|{{{time2|}}}}}}|1 | |s}}
 
                  }} }}      }}<!--
 
        -->}} }}
 
<!--------------------------------------------------------->
 
 
 
| label17 = Serving temperature
 
|  data17 = {{{served|}}}
 
 
 
| label19 = Main ingredients
 
| class19 = ingredient
 
|  data19 = {{{main_ingredient|}}}
 
 
 
| label21 = Ingredients generally&nbsp;used
 
| class21 = ingredient
 
|  data21 = {{{minor_ingredient|}}}
 
 
 
| label23 = Variations
 
|  data23 = {{{variations|}}}
 
 
 
<!-----------------------Food energy----------------------->
 
| label25 = {{longitem|style=line-height:1.1em;white-space:nowrap;
 
            | 1 = [[Food energy]]<br/><span style="font-size:90%;font-weight:normal;"><!--
 
                    -->(per {{#switch:{{{serving_size|}}}
 
                              | 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] serving)
 
                              | #default = {{{serving_size|}}} serving)
 
                            }}<!-----></span>
 
            }}
 
| class25 = nutrition
 
|  data25 = {{#if:{{{calories|}}}
 
            | {{{calories}}}&nbsp;[[Calorie|kcal]]<!--
 
                -->{{#iferror:&nbsp;({{#expr:{{{calories}}}*4.1868 round 0}} [[kilojoule|kJ]])}}<!--
 
                -->{{{calories_ref|}}}
 
            }}
 
 
 
<!--------------------Nutritional value-------------------->
 
| label27 = {{longitem|style=line-height:1.1em;white-space:nowrap;
 
            | 1 = [[Nutrition|Nutritional value]]<br/><span style="font-size:90%;font-weight:normal;"><!--
 
                    -->(per {{#switch:{{{serving_size|}}}
 
                              | 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] serving)
 
                              | #default = {{{serving_size|}}} serving)
 
                            }}<!--                --></span>
 
            }}
 
|  data27 = {{#if:{{{protein|}}}{{{fat|}}}{{{carbohydrate|}}}
 
            | {{Infobox
 
                |bodystyle={{infobox subbox bodystyle}}
 
                |labelstyle=width:6.75em;padding-right:0.35em;<!--(to ensure some gap between "Carbohydrate" and any subsequent data)-->line-height:1.3em;font-weight:normal;
 
                |datastyle=line-height:1.3em;
 
                |label1=[[Protein (nutrient)|Protein]] |data1={{{protein}}}&nbsp;[[Gram|g]]
 
                |label2=[[Fat]]          |data2={{{fat}}}&nbsp;[[Gram|g]]
 
                |label3=[[Carbohydrate]] |data3={{{carbohydrate}}}&nbsp;[[Gram|g]]
 
            }} }}
 
 
 
<!--------------------Glycemic index----------------------->
 
| label32 = [[Glycemic index|{{allow wrap|Glycemic index}}]]
 
|  data32 = {{#iferror:
 
              {{#if:{{{glycemic_index|}}}
 
                | {{smaller
 
                  | {{#ifexpr:{{#expr:{{{glycemic_index}}}<56}}
 
                      | {{{glycemic_index}}}&nbsp;({{background|#ccffcc|low}})
 
                      | {{#ifexpr:{{#expr:{{{glycemic_index}}}<70}}
 
                        | {{{glycemic_index}}}&nbsp;({{background|#ffff99|medium}})
 
                        | {{{glycemic_index}}}&nbsp;({{background|#ffcc99|high}})
 
            }} }} }} }} }}
 
<!--------------------------------------------------------->
 
 
 
| label34 = Similar dishes
 
|  data34 = {{{similar_dish|}}}
 
 
 
| label36 = Other information
 
|  data36 = {{{other|}}}
 
 
 
 
 
| belowstyle = border-top:1px solid #aaa;padding-top:0.25em;{{{belowstyle|}}}
 
| below = {{Unbulleted list
 
| {{#if:{{{no_recipes|}}} <includeonly>|</includeonly> |{{Wikibooks-inline|short=yes|Special:Search|Cookbook: {{{cookbook|{{{name|{{PAGENAME}}}}}}}}}} }}
 
| {{#if:{{{no_commons|}}} <includeonly>|</includeonly> |<!--
 
-->{{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory|qid={{{qid|}}}}}|&nbsp;{{Commons-inline|short=yes|{{{commons|}}}|qid={{{qid|}}}|notrack=1|<!--
 
-->Media{{colon}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} }} }}
 
}}
 
 
 
}}
 
 
</includeonly>
 
</includeonly>
 
 
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>

Revision as of 02:22, 27 June 2022


Template for the 3D printers

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Printer NamePrinter Name

no description

Stringoptional
PicturePicture

no description

Contentoptional
ManufacturerManufacturer

no description

Stringoptional
ModelModel

no description

Stringoptional
Network AddressNetwork Address

no description

URLoptional
Nozzle Size (mm)Nozzle Size (mm)

no description

Numberoptional
Nozzle TypeNozzle Type

no description

Stringoptional
Nozzle CountNozzle Count

no description

Numberoptional
Filament Size (mm)Filament Size (mm)

no description

Numberoptional
Print Volume (mm)Print Volume (mm)

no description

Stringoptional
Max Bed Temperature (C)Max Bed Temperature (C)

no description

Numberoptional
Max Nozzle Temperature (C)Max Nozzle Temperature (C)

no description

Numberoptional
Max Print Speed (mm/s)Max Print Speed (mm/s)

no description

Numberoptional
Extruder TypeExtruder Type

no description

Stringoptional
ManualManual

no description

Fileoptional