Template:EquipmentInfobox: Difference between revisions
Content added Content deleted
Jimallanson (talk | contribs) No edit summary |
Jimallanson (talk | contribs) No edit summary |
||
(5 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= |
{{#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}}}| |
| 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 = {{#ifeq: {{{status|}}} | ACNode controlled | [https://wiki.teessidehackspace.org.uk/members/toolsView tool status] | {{{status|}}} }} |
|||
⚫ | |||
⚫ | |||
| |
| data5 = {{{reqtraining|}}} |
||
| |
| label6 = Training link |
||
| |
| data6 = {{{trainlink|}}} |
||
⚫ | |||
⚫ | |||
| |
| data7 = {{{owner|}}} |
||
| |
| label8 = Origin |
||
| |
| data8 = {{{origin|}}} |
||
| |
| label9 = Location |
||
| |
| data9 = {{{location|}}} |
||
| |
| label10 = Maintainers |
||
| |
| data10 = {{#arraymap:{{{maintainers|}}}|,|x|[[x]] }} |
||
| label13 = Origin |
|||
⚫ | |||
| label14 = Location |
|||
| data14 = {{{location|}}} |
|||
| label15 = Maintainers |
|||
| data15 = {{{maintainers|}}} |
|||
}} |
}} |
Latest revision as of 21:14, 16 October 2019
This is the "Equipment" template.
This template defines the table "Equipment". View table.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |