Template:EquipmentInfobox: Difference between revisions

From London Hackspace Wiki
(Created page with "{{ EquipmentInfobox | name = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | image = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size|}}}|frameless}}]]}} |h...")
 
(Show link to Tools page for ACNode controlled status)
 
(65 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ EquipmentInfobox
{{ Infobox
| name    = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| abovestyle  = background:#09f;
| labelstyle  = background:#ddf;
| above  = {{{name|}}}
| image  = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size|}}}|frameless}}]]}}
| image  = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image size|}}}|frameless}}]]}}
 
| label1  = Model
|headerstyle  = background:#3ca9d0;
| data1  = {{{model|}}}
|labelstyle  = background:#ddf;
 
| label1  = ItemID
| data1  = {{{itemId|}}}
| 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  = Consumables
| label5 = Last updated
| data5   = {{{consumables|}}}
| data5  = {{#show: {{FULLPAGENAME}} | ?Modification date}}
| label6 = Accessories
| label6  = Last updated by
| data6   = {{{accessories|}}}
| data6  = {{#show: {{FULLPAGENAME}} | ?Last editor is}}
| label7 = Training requirement
| label7 = Consumables
| data7   = {{{reqtraining|}}}
| data7   = {{{consumables|}}}
| label8 = Owner
| label8 = Accessories
| data8  = {{{owner|}}}
| data8   = {{{accessories|}}}
| label9 = Origin
| label9 = Training requirement
| data9   = {{{origin|}}}
| data9   = {{{reqtraining|}}}
| label10 = Location
| label10  = Training link
| data10 = {{{location|}}}
| data10  = {{{trainlink|}}}
| label12 = Maintainers
| label11  = ACnode
| data12 = {{{maintainers|}}}
| data11  = {{{acnode|}}}
| label12 = Owner
| data12  = {{{owner|}}}
| label13 = Origin
| data13   = {{{origin|}}}
| label14 = Location
| data14 = {{{location|}}}
| label15 = Maintainers
| data15 = {{{maintainers|}}}
 
{{#set:name={{{name|}}}}}
{{#set:image={{{image|}}}}}
{{#set:status={{{status|}}}}}
{{#set:subcat={{{subcat|}}}}}
{{#set:location={{{location|}}}}}
{{#set:origin={{{origin|}}}}}
{{#set:owner={{{owner|}}}}}
{{#set:maintainers={{{maintainers|}}}}}
{{#set:reqtraining={{{reqtraining|}}}}}
{{#set:acnode={{{acnode|}}}}}
}}


}}<span style="display:none;">[[image::[[file:{{{image|none.png}}}]][[type::{{{type|}}}]][[status::{{{status|}}}]][[updateby::{{{updateby|}}}]][[accessories::{{{accessories|}}}]][[last_inspection::{{{last_inspection|}}}]][[last_use::{{{last_use|}}}]][[training::{{{training|}}}]][[origin::{{{origin|}}}]][[location::{{{location|}}}]][[maintainers::{{{maintainers|}}}]]</span>{{#if:{{{training|}}}|
[[Category:Equipment]]
[[Category:Tools that require training]]
{{#if: {{{subcat|}}} | [[Category:{{{subcat|}}}]] | }}<noinclude>
|}}{{#ifeq:{{{status|}}}|working|
{{Documentation}}
[[Category:Tools that are working]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|}}<noinclude>{{documentation}}</noinclude>
</noinclude>

Latest revision as of 22:47, 20 April 2016

[create] Documentation icon Template documentation