Actions

Template

Difference between revisions of "Raw material"

From London's Ghost Acres

 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{{has description}}}
+
{{#if:{{{has description|}}} | {{{has description}}} }}
  
 +
 +
{{#if:{{{comes from|}}} |
 
==Imported from==
 
==Imported from==
{{#arraymap:{{{comes from|}}}|,|x|[[Comes from::x]] }}
+
<ul>
 +
<li>
 +
{{#arraymap:{{{comes from|}}}|,|x|[[Comes from::x]]|<li> }}
 +
</ul>
 +
}}
 +
 
 +
 
 +
{{#ask:[[Made from::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|intro=<h2>Used to Make</h2>
 +
}}
  
==Used to make==
 
{{#ask:[[Made from::{{SUBJECTPAGENAME}}]]|format=ul}}
 
  
==ID from Database==
+
{{#if:{{{has commodity id|}}} |
{{{has_commodity_id}}}
+
==ID in Database==
 +
[[Has commodity id::{{{has_commodity_id}}}]]
 +
}}
  
 
[[Category:Raw materials]]
 
[[Category:Raw materials]]
 
</includeonly>
 
</includeonly>

Latest revision as of 14:53, 10 May 2016

This is the "Raw material" template. It should be called in the following format:

{{Raw material
|comes from=
|has_commodity_id= 
|has description= 
}}

Edit the page to see the template text.