Difference between revisions of "Template:EquipmentInfobox"

From London Hackspace Wiki
Jump to navigation Jump to search
m
(Show link to Tools page for ACNode controlled status)
 
(21 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
| above  = {{{name|}}}
 
| above  = {{{name|}}}
 
| image  = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size|}}}|frameless}}]]}}
 
| image  = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size|}}}|frameless}}]]}}
| label1  = ItemID
+
| label1  = Model
| data1  = {{{itemId|}}}
+
| data1  = {{{model|}}}
| label2  = Category
 
| data2  = {{{category|}}}
 
 
| label3  = Sub-category
 
| label3  = Sub-category
 
| data3  = {{{subcat|}}}
 
| data3  = {{{subcat|}}}
 
| label4  = Status
 
| label4  = Status
| data4  = {{{status|}}}
+
| data4  = {{#ifeq: {{{status|}}} | ACNode controlled | [https://london.hackspace.org.uk/members/tools.php View tool status] | {{{status|}}} }}
 
| label5  = Last updated
 
| label5  = Last updated
| data5  = #ask:?Modification date
+
| data5  = {{#show: {{FULLPAGENAME}} | ?Modification date}}
 
| label6  = Last updated by
 
| label6  = Last updated by
| data6  = #ask:?Last editor is
+
| data6  = {{#show: {{FULLPAGENAME}} | ?Last editor is}}
 
| label7  = Consumables
 
| label7  = Consumables
 
| data7  = {{{consumables|}}}
 
| data7  = {{{consumables|}}}
Line 24: Line 22:
 
| label10  = Training link
 
| label10  = Training link
 
| data10  = {{{trainlink|}}}
 
| data10  = {{{trainlink|}}}
| label11  = Owner
+
| label11 = ACnode
| data11 = {{{owner|}}}
+
| data11  = {{{acnode|}}}
| label12 = Origin
+
| label12 = Owner
| data12   = {{{origin|}}}
+
| data12 = {{{owner|}}}
| label13 = Location
+
| label13 = Origin
| data13 = {{{location|}}}
+
| data13   = {{{origin|}}}
| label14 = Maintainers
+
| label14 = Location
| data14 = {{{maintainers|}}}
+
| data14 = {{{location|}}}
 +
| label15 = Maintainers
 +
| data15 = {{{maintainers|}}}
  
 +
{{#set:name={{{name|}}}}}
 
{{#set:image={{{image|}}}}}
 
{{#set:image={{{image|}}}}}
 
{{#set:status={{{status|}}}}}
 
{{#set:status={{{status|}}}}}
 +
{{#set:subcat={{{subcat|}}}}}
 
{{#set:location={{{location|}}}}}
 
{{#set:location={{{location|}}}}}
 +
{{#set:origin={{{origin|}}}}}
 
{{#set:owner={{{owner|}}}}}
 
{{#set:owner={{{owner|}}}}}
 
{{#set:maintainers={{{maintainers|}}}}}
 
{{#set:maintainers={{{maintainers|}}}}}
 
{{#set:reqtraining={{{reqtraining|}}}}}
 
{{#set:reqtraining={{{reqtraining|}}}}}
 +
{{#set:acnode={{{acnode|}}}}}
 
}}
 
}}
  
[[Category:{{{category|}}}]]
+
[[Category:Equipment]]
[[Category:{{{subcat|}}}]]
+
{{#if: {{{subcat|}}} | [[Category:{{{subcat|}}}]] | }}<noinclude>
 +
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 22:47, 20 April 2016

[create] Documentation icon Template documentation