< User:Jamespapp | sandbox
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
<includeonly>{| class="wikitable" style="float: right; padding: 5px; background: #eaecf0; border: 3px solid #000000; width: 30%; margin-left: 3px"
! colspan="2" | {{#if:{{{subj|}}}|{{{subj}}}|{{#explode:{{PAGENAME}}|/|-1}}}}
|-
! colspan="2" | {{#if:{{{img|}}}|{{#set:img={{{img}}}}}}}[[{{{img|File:Blank.png}}}|200px]]
|-
! style="text-align: left;" |
| {{{category}}}
|-
! style="text-align: left;" | Produced by
Line 14 ⟶ 11:
|-
! style="text-align: left;" | Cost
| {{#if:{{{cost|}}}|{{#set:cost={{{cost}}}}}{{User:Jamespapp/sandbox/SMW/InfoboxResources|{{{cost}}}|c}}|N/A}}
|-
! style="text-align: left;" | Produces
| {{#if:{{{produces|}}}|{{#set:produces={{{produces}}}}}{{User:Jamespapp/sandbox/SMW/InfoboxResources|{{{produces}}}|p}}|N/A}}
|-
! style="text-align: left;" | Ingredient
| {{#if:{{{ingredient_for|}}}|{{#set:ingredient_for={{{ingredient_for}}}}}{{User:Jamespapp/sandbox/SMW/InfoboxItem/csv links from csv|{{{ingredient_for}}}}}|N/A}}
|-
Line 32 ⟶ 29:
| {{#if:{{{stored_in|}}}|{{#set:stored_in={{{stored_in}}}}}{{User:Jamespapp/sandbox/SMW/InfoboxItem/csv links from csv|{{{stored_in}}}}}|N/A}}
|-
! style="text-align: left;" | Lifespan
| {{#if:{{{lifespan|}}}|[[lifespan::{{{lifespan}}}]] months|{{#set:lifespan=0}}N/A}}
|-
! style="text-align: left;" | Notes
| {{#if:{{{notes|}}}|[[notes::{{{notes}}}]]}}
|}
[[Category:{{{category
{{User:Jamespapp/sandbox/SMW/InfoboxItem/links from csv|{{{produced_by}}}|Category:Resources, produced, by }}
{{User:Jamespapp/sandbox/SMW/InfoboxItem/links from csv|{{{ingredient_for}}}|Category:Resources, ingredient, for }}
{{User:Jamespapp/sandbox/SMW/InfoboxItem/links from csv|{{{used_by}}}|Category:Resources, used, by }}
{{User:Jamespapp/sandbox/SMW/InfoboxItem/links from csv|{{{constructs}}}|Category:Resources, constructs, }}
{{User:Jamespapp/sandbox/SMW/InfoboxItem/links from csv|{{{stored_in}}}|Category:Resources, stored, in }}-->
</includeonly><noinclude>{{/doc}}</noinclude>
|