Template:EquipmentInfobox: Difference between revisions

From Teesside Hackspace
Content added Content deleted
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
This is the "Equipment" template.
This is the "Equipment" template.


{{#cargo_declare:_table=Equipment|name=String|image=File|model=String|subcat=Page|status=String|reqtraining=Boolean|reqsupervision=Boolean|owner=String|origin=String|location=Page|maintainers=List (,) of Page}}
{{#cargo_declare:_table=Equipment|name=String|image=String|model=String|subcat=Page|status=String|reqtraining=Boolean|reqsupervision=Boolean|owner=String|origin=String|location=String|maintainers=List (,) of Page}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
Line 10: Line 10:
| labelstyle = background:#a2e0a3;
| labelstyle = background:#a2e0a3;
| above = {{{name|}}}
| above = {{{name|}}}
| image = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size}}}|frameless}}]]}}
| image = {{#if:{{{image|}}}|[[file:{{{image}}}|300px|frameless]]}}
| label1 = Model
| label1 = Model
| data1 = {{{model|}}}
| data1 = {{{model|}}}
Line 16: Line 16:
| data3 = {{{subcat|}}}
| data3 = {{{subcat|}}}
| label4 = Status
| label4 = Status
| data4 = {{{status|}}}
| data4 = {{#ifeq: {{{status|}}} | ACNode controlled | [https://wiki.teessidehackspace.org.uk/members/toolsView tool status] | {{{status|}}} }}
| label5 = Training requirement
| label5 = Training requirement
| data5 = {{{reqtraining|}}}
| data5 = {{{reqtraining|}}}

Latest revision as of 21:14, 16 October 2019

This is the "Equipment" template.

This template defines the table "Equipment". View table.



[view] [edit] [history] [purge] Documentation icon Template documentation