Difference between revisions of "Template:Infobox Tool"

From Kwartzlab Wiki
Jump to navigation Jump to search
(add slack channel)
m (Reverted edits by IanEdington (talk) to last revision by Jpotts)
Tag: Rollback
 
(12 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Infobox Tool
 
{{Infobox Tool
 
|picture=
 
|picture=
|slackChannel=
 
 
|makemodel=
 
|makemodel=
 
|serial=
 
|serial=
Line 21: Line 20:
 
{{#cargo_declare:_table=toolInfo
 
{{#cargo_declare:_table=toolInfo
 
|picture=File
 
|picture=File
|slackChannel=Text
 
 
|makemodel=Text
 
|makemodel=Text
 
|serial=Text
 
|serial=Text
Line 34: Line 32:
 
</noinclude>
 
</noinclude>
  
<includeonly>{{#cargo_store:_table=toolInfo|picture={{{picture|}}}|slackChannel={{{slackChannel|}}}|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;"
+
<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>
 
|-
 
|-
 
! style="text-align: center;" colspan="2" |[[File:{{{picture|}}}|300px]]
 
! style="text-align: center;" colspan="2" |[[File:{{{picture|}}}|300px]]
|-
 
! Slack Channel
 
| {{{slackChannel|}}}
 
 
|-
 
|-
 
! Make and Model
 
! Make and Model
Line 46: Line 41:
 
|-
 
|-
 
! Serial Number
 
! Serial Number
| {{slack|{{{serial|}}}}}
+
| {{{serial|}}}
 
|-
 
|-
 
! Area
 
! Area

Latest revision as of 03:37, 13 March 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)
|manual=(link to file)
}}

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