⚠ NOTICE
The game has been released in Early Access on 26th of April, 2024.
Please keep in mind that any information provided on this Wiki may be incomplete or subject to change as the game progresses.
Template:Resources: Difference between revisions
From Manor Lords Official Wiki
m (update doc) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
<image source="image" /> | <image source="image" /> | ||
<data source="type"> | <data source="type"> | ||
<label><translate> Type</translate></label> | <label><translate> <!--T:1--> Type</translate></label> | ||
</data> | </data> | ||
<data source="ProducedBy"> | <data source="ProducedBy"> | ||
<label><translate> Produced by</translate></label> | <label><translate> <!--T:2--> Produced by</translate></label> | ||
</data> | </data> | ||
<data source="requires"> | <data source="requires"> | ||
<label><translate> Requires</translate></label> | <label><translate> <!--T:3--> Requires</translate></label> | ||
</data> | </data> | ||
<data source="UsedIn"> | <data source="UsedIn"> | ||
<label><translate> Used in</translate></label> | <label><translate> <!--T:4--> Used in</translate></label> | ||
</data> | </data> | ||
<data source="StoredIn"> | <data source="StoredIn"> | ||
<label><translate> Stored in</translate></label> | <label><translate> <!--T:5--> Stored in</translate></label> | ||
</data> | </data> | ||
</infobox></includeonly> | </infobox> | ||
{#ifeq:{{NAMESPACE}}|Template||[[Category:Resources{{#translation:}}]]}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<!-- used to show example on right.--> | <!-- used to show example on right.--> |
Latest revision as of 04:37, 23 July 2024
Available variables:
type - What kind of material is it?
ProducedBy - What entity produces this?
UsedIn - Only use this when there is a very limited list. Otherwise, leave it blank.
requires - What does this resource consume?
StoredIn - What entity is it stored in?
Template:
Copy this and add it to the page.
{{Resources |image ={{PAGENAMEE}}.png |type = |ProducedBy = |requires = |UsedIn = |StoredIn = }}
Example:
(shown on right side of page)
{{Resources |image={{PAGENAMEE}}.png |type=Crafting materials |ProducedBy=[[{{tl}}Mining pit|<translate>Mining pit</translate>]] |requires= |UsedIn=[[{{tl}}Iron slab|<translate>Iron slab</translate>]] |StoredIn=[[{{tl}}Storehouse|<translate>Storehouse</translate>]] }}