Difference between revisions of "Template:Part"

From Grid Sage Wiki
Jump to navigation Jump to search
(don't link to slot page)
(include example)
Line 77: Line 77:
 
     {{ Datum | Components | {{{fabComponents|None}}} }}
 
     {{ Datum | Components | {{{fabComponents|None}}} }}
 
}}
 
}}
}} [[Category:{{{type}}} Parts]] [[Category:{{{slot}}} Parts]] [[Category:Parts]]
+
}}{{#ifeq:{{NAMESPACE}}|Template||
 +
[[Category:{{{type}}} Parts]] [[Category:{{{slot}}} Parts]] [[Category:Parts]]
 +
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories.
 
This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories.
Line 98: Line 100:
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 +
== Example ==
 +
{{Part
 +
|name=High-capacity Matter Storage Unit
 +
|shortName=Hcp. Matter Storage Unit
 +
|symbol=!
 +
|color=cyan
 +
|type=Storage
 +
|slot=Utility
 +
|mass=4
 +
|rating=1
 +
|integrity=45
 +
|coverage=8
 +
|effect=Increases matter storage capacity by 200 (stacks)
 +
|fabTime=60
 +
|fabMatter=20
 +
}}
 
<noinclude>
 
<noinclude>

Revision as of 19:37, 3 June 2015

This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories.

Usage

{{Part
|name=High-capacity Matter Storage Unit
|shortName=Hcp. Matter Storage Unit
|symbol=!
|color=cyan
|type=Storage
|slot=Utility
|mass=4
|rating=1
|integrity=45
|coverage=8
|effect=Increases matter storage capacity by 200 (stacks)
|fabTime=60
|fabMatter=20
}}

Example

/Data/

Hcp. Matter Storage Unit [!]

Overview
Type
Slot
Utility
Mass
4
Rating
1
Integrity
45
Coverage
8


Effect

Increases matter storage capacity by 200 (stacks)

High-capacity Matter Storage Unit

Fabrication
Time
60
Matter
20
Components
None
X