Difference between revisions of "Template:Infobox Tool"

From Kwartzlab Wiki
Jump to navigation Jump to search
m (Fixed M on manual in documentation portion.)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "ToolInfo" template.
+
This is the "Infobox Tool" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{ToolInfo
+
{{Infobox Tool
 
|picture=
 
|picture=
 
|makemodel=
 
|makemodel=
Line 12: Line 12:
 
|guests=(allowed values=Yes,No,With Supervision)
 
|guests=(allowed values=Yes,No,With Supervision)
 
|trainingReq=(allowed values=Required,Optional,None)
 
|trainingReq=(allowed values=Required,Optional,None)
|trainingInfo=
+
|trainingLink=
|status=(allowed values=Working,Broken)
+
|status=(allowed values=Working,Broken,Unknown,Decommissioned)
|manual=(link to file)
+
|Manual=
 
}}
 
}}
 
</pre>
 
</pre>
Line 27: Line 27:
 
|guests=Text (allowed values=Yes,No,With Supervision)
 
|guests=Text (allowed values=Yes,No,With Supervision)
 
|trainingReq=Text (allowed values=Required,Optional,None)
 
|trainingReq=Text (allowed values=Required,Optional,None)
|trainingInfo=Text
+
|trainingLink=Text
|status=Text (allowed values=Working,Broken)
+
|status=Text (allowed values=Working,Broken,Unknown,Decommissioned)
|manual=File }}
+
|Manual=Text}}
 
</noinclude>
 
</noinclude>
  
<includeonly>{{#cargo_store:_table=toolInfo|picture={{{picture|}}}|makemodel={{{makemodel|}}}|serial={{{serial|}}}|Area={{{Area|}}}|Team={{{Team|}}}|PPE={{{PPE|}}}|guests={{{guests|}}}|trainingReq={{{trainingReq|}}}|trainingInfo={{{trainingInfo|}}}|status={{{status|}}}|manual={{{manual|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
<includeonly>{{#cargo_store:_table=toolInfo|picture={{{picture|}}}|makemodel={{{makemodel|}}}|serial={{{serial|}}}|Area={{{Area|}}}|Team={{{Team|}}}|PPE={{{PPE|}}}|guests={{{guests|}}}|trainingReq={{{trainingReq|}}}|trainingInfo={{{trainingLink|}}}|status={{{status|}}}|manual={{{manual|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
|-
Line 58: Line 58:
 
| {{{trainingReq|}}}
 
| {{{trainingReq|}}}
 
|-
 
|-
! Training Info
+
! Link to Training
| {{{trainingInfo|}}}
+
| {{{trainingLink|}}}
 
|-
 
|-
 
! Tool Status
 
! Tool Status
 
| {{{status|}}}
 
| {{{status|}}}
 +
|-
 +
! Manual
 +
| {{{Manual|}}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Latest revision as of 18:12, 14 November 2024

This is the "Infobox Tool" template. It should be called in the following format:

{{Infobox Tool
|picture=
|makemodel=
|serial=
|Area=
|Team=
|PPE=
|guests=(allowed values=Yes,No,With Supervision)
|trainingReq=(allowed values=Required,Optional,None)
|trainingLink=
|status=(allowed values=Working,Broken,Unknown,Decommissioned)
|Manual=
}}

Edit the page to see the template text. This template defines the table "toolInfo". This table has not been created yet.