Difference between revisions of "Template:EquipmentInfobox"

From Teesside Hackspace
Jump to navigation Jump to search
Line 1: Line 1:
  +
<noinclude>
  +
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}}
  +
</noinclude>
  +
<includeonly>
  +
{{#cargo_store:_table=Equipment|name={{{name|}}}|image={{{image|}}}|model={{{model|}}}|subcat={{{subcat|}}}|status={{{status|}}}|reqtraining={{{reqtraining|}}}|reqsupervision={{{reqsupervision|}}}|owner={{{owner|}}}|origin={{{origin|}}}|location={{{location|}}}|maintainers={{{maintainers|}}} }}
 
{{ Infobox
 
{{ Infobox
 
| abovestyle = background:#1AB91B;
 
| abovestyle = background:#1AB91B;
Line 9: Line 16:
 
| data3 = {{{subcat|}}}
 
| data3 = {{{subcat|}}}
 
| label4 = Status
 
| label4 = Status
| data4 = {{#ifeq: {{{status|}}} | ACNode controlled | [https://london.hackspace.org.uk/members/tools.php View tool status] | {{{status|}}} }}
+
| data4 = {{#ifeq: {{{status|}}} | ACNode controlled | [https://wiki.teessidehackspace.org.uk/members/toolsView tool status] | {{{status|}}} }}
 
| label7 = Consumables
 
| label7 = Consumables
 
| data7 = {{{consumables|}}}
 
| data7 = {{{consumables|}}}
Line 32: Line 39:
   
 
[[Category:Equipment]]
 
[[Category:Equipment]]
{{#if: {{{subcat|}}} | [[Category:{{{subcat|}}}]] | }}<noinclude>
+
{{#if: {{{subcat|}}} | [[Category:{{{subcat|}}}]] | }}
  +
</includeonly>
  +
  +
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->

Revision as of 20:33, 16 October 2019

This is the "Equipment" template.

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



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