Dr ishmael (talk | contribs) (Created page with "<includeonly>{{#set:Requires item={{{1}}};{{{2}}}}}{{{1}}}x {{iconlink|{{{2}}}|24px}}</includeonly><noinclude>{{doc}} Category:TemplatesCategory:Assignment semantics</noi...") |
Dr ishmael (talk | contribs) m (use new unified icon template) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#set:Requires item={{{1}}};{{{2}}}}}{{{1}}}x {{ |
+ | <includeonly>{{#set:Requires item={{{1}}};{{{2}}}}}{{{1}}}x {{icon|{{{2|}}}||{{#show:{{{2|}}}|?Is of rarity}}|24px|nofloat=y}}</includeonly><noinclude>{{doc}} |
[[Category:Templates]][[Category:Assignment semantics]]</noinclude> |
[[Category:Templates]][[Category:Assignment semantics]]</noinclude> |
Revision as of 12:37, 8 May 2012
- The following documentation is transcluded from Template:Requiresitem/doc (edit):
This template is used on duty officer assignment pages to list required items.
Usage:
{{Requiresitem|quantity|item|mk|rarity}}
- quantity - quantity of officers required with the below departmentlist for the assignment on this page.
- item - item name, this will automatically be added to the cargo table defined by {{AssignReqs}}.
- mk - optional, Mk level, defaults to empty string.
- rarity - optional, item rarity, defaults to base rarity specified in item's page infobox.
Using this template will set Property:Requires item for the page with the value (quantity, item).
- Examples
{{Requiresitem|1|Contraband}}
produces: {{#set:Requires item=1;Contraband}}1x
{{Requiresitem|2|Shield Array|Mk XII}}
produces: {{#set:Requires item=2;Shield Array}}2x
{{Requiresitem|3|Shield Array|Mk XII [Cap] [Reg] [Tet]|veryrare}}
produces: {{#set:Requires item=3;Shield Array}}3x
Related templates
- {{Assignmentinfo}} - main template used in Assignment pages
- {{Requiresitem|quantity|itemname}} - for item requirements
- {{Requiresanydoff|quantity}} - when doff(s) from any department are required
- {{Requiresdoffdept|quantity|deptlist}} - to specify specific department(s) required for this assignment
- {{Depticonpluslink|deptlist}} - to specify department(s) impacting outcome chances (often these coincide with required ones)
- {{Requiresdoffspec|quantity|speclist}} - to specify specific specialization(s) required for this assignment
- {{Speciconpluslink|speclist}} - to specify specialization(s) impacting outcome chances (often these coincide with required ones)
- {{Requiresdofftrait|quantity|traitlist}} - to specify specific trait(s) *required* for this assignment
- {{Traiticonpluslink|trait|good/bad|cs/s/f/cf}} - to specify usually *optional* traits impacting outcome chances (these may coincide with required ones)
- {{Outcome|cs/s/f/cf}} - formatting outcomes in ==Outcomes==