Difference between revisions of "Template:Infobox Tool"
Jump to navigation
Jump to search
IanEdington (talk | contribs) |
IanEdington (talk | contribs) (formatting) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Infobox Tool | {{Infobox Tool | ||
− | |picture= | + | |picture= |
− | |slackChannel= | + | |slackChannel= |
− | |makemodel= | + | |makemodel= |
− | |serial= | + | |serial= |
− | |Area= | + | |Area= |
− | |Team= | + | |Team= |
− | |PPE= | + | |PPE= |
− | |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) |
− | |trainingLink= | + | |trainingLink= |
− | |status=(allowed values=Working,Broken,Unknown) | + | |status=(allowed values=Working,Broken,Unknown) |
− | |manual=(link to file) | + | |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 | {{#cargo_declare:_table=toolInfo | ||
− | |picture=File | + | |picture=File |
− | |slackChannel=Text | + | |slackChannel=Text |
− | |makemodel=Text | + | |makemodel=Text |
− | |serial=Text | + | |serial=Text |
− | |Area=Page | + | |Area=Page |
− | |Team=Page | + | |Team=Page |
− | |PPE=Text | + | |PPE=Text |
− | |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) |
− | |trainingLink=Text | + | |trainingLink=Text |
− | |status=Text (allowed values=Working,Broken) | + | |status=Text (allowed values=Working,Broken) |
− | |manual=File }} | + | |manual=File |
+ | }} | ||
</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|}}} | ||
+ | |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;" | ||
! 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 40: | Line 57: | ||
|- | |- | ||
! Slack Channel | ! Slack Channel | ||
− | | {{slack|{{{slackChannel | + | | {{slack|{{{slackChannel}}}}} |
|- | |- | ||
! Make and Model | ! Make and Model |
Revision as of 13:44, 12 March 2024
This is the "Infobox Tool" template. It should be called in the following format:
{{Infobox Tool |picture= |slackChannel= |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.