Actions

Template

Difference between revisions of "Raw material"

From London's Ghost Acres

(Created page with "<noinclude> This is the "Raw material" template. It should be called in the following format: <pre> {{Raw material |comes from= }} </pre> Edit the page to see the template tex...")
 
 
(22 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
{{Raw material
 
{{Raw material
 
|comes from=
 
|comes from=
 +
|has_commodity_id=
 +
|has description=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude>
 +
<includeonly>
 +
{{#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=list}}
+
{{#ask:[[Made from::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|intro=<h2>Used to Make</h2>
 +
}}
 +
 
 +
 
 +
{{#if:{{{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.