Line 4:
Line 4:
<pre>
<pre>
{{ToolInfo
{{ToolInfo
−
|name=
|picture=
|picture=
−
|make=
+
|makemodel=
−
|model=
|serial=
|serial=
|Area=
|Area=
|Team=
|Team=
|PPE=
|PPE=
−
|guests=
+
|guests=(allowed values=Yes,No,With Supervision)
−
|training=
+
|training=(allowed values=Required,Optional,None)
−
|status=
+
|status=(allowed values=Working,Broken)
+
|manual=(link to file)
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
−
{{#cargo_declare:_table=toolInfo|name=Text|picture=File|make=Text|model=Text|serial=Text|Area=Page|Team=Page|PPE=Text|guests=Text (allowed values=Yes,No,With Supervision)|training=Text (allowed values=Required,Optional,None)|status=Text (allowed values=Working,Broken)}}
+
{{#cargo_declare:_table=toolInfo
−
</noinclude><includeonly>{{#cargo_store:_table=toolInfo|name={{{name|}}}|picture={{{picture|}}}|make={{{make|}}}|model={{{model|}}}|serial={{{serial|}}}|Area={{{Area|}}}|Team={{{Team|}}}|PPE={{{PPE|}}}|guests={{{guests|}}}|training={{{training|}}}|status={{{status|}}} }}{| 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;"
+
|picture=File
+
|makemodel=Text
+
|serial=Text
+
|Area=Page
+
|Team=Page
+
|PPE=Text
+
|guests=Text (allowed values=Yes,No,With Supervision)
+
|training=Text (allowed values=Required,Optional,None)
+
|status=Text (allowed values=Working,Broken)
+
|manual=File }}
+
</noinclude>
+
+
<includeonly>{{#cargo_store:_table=toolInfo|picture={{{picture|}}}|makemodel={{{makemodel|}}}|serial={{{serial|}}}|Area={{{Area|}}}|Team={{{Team|}}}|PPE={{{PPE|}}}|guests={{{guests|}}}|training={{{training|}}}|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>
|-
|-
−
! Tool Name
+
! style="text-align: center;" colspan="2" |[[File:{{{picture|}}}|300px]]
−
| {{{name|}}}
|-
|-
−
! Image
+
! Make and Model
−
| [[File:{{{picture|}}}]]
+
| {{{makemodel|}}}
−
|-
−
! Make
−
| {{{make|}}}
−
|-
−
! Model
−
| {{{model|}}}
|-
|-
! Serial Number
! Serial Number