⚠ 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 (test 3 gallery fix)
No edit summary
 
(7 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 source="requires">
<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.-->
{{Resources
{{Resources
|image=<gallery>Iron_ore.png</gallery>
|image=Iron_ore.png
|type=Crafting materials
|type=Crafting materials
|ProducedBy=[[{{tl}}Mining pit|Mining pit]]
|ProducedBy=[[{{tl}}Mining pit|Mining pit]]
|requires=
|UsedIn=[[{{tl}}Iron slab|Iron slab]]
|UsedIn=[[{{tl}}Iron slab|Iron slab]]
|StoredIn=[[{{tl}}Storehouse|Storehouse]]
|StoredIn=[[{{tl}}Storehouse|Storehouse]]
Line 33: Line 39:


UsedIn - Only use this when there is a very limited list. Otherwise, leave it blank.
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?
StoredIn - What entity is it stored in?
Line 39: Line 47:
Copy this and add it to the page.
Copy this and add it to the page.
<pre>{{Resources
<pre>{{Resources
|image ={{#tag:gallery|File:{{PAGENAME}}.png}}
|image ={{PAGENAMEE}}.png
|type =
|type =
|ProducedBy =
|ProducedBy =
|requires =
|UsedIn =
|UsedIn =
|StoredIn =
|StoredIn =
Line 49: Line 58:
(shown on right side of page)
(shown on right side of page)
<pre>{{Resources
<pre>{{Resources
|image={{#tag:gallery|File:{{PAGENAME}}.png}}
|image={{PAGENAMEE}}.png
|type=Crafting materials
|type=Crafting materials
|ProducedBy=[[{{tl}}Mining pit|<nowiki><translate></nowiki>Mining pit<nowiki></translate></nowiki>]]
|ProducedBy=[[{{tl}}Mining pit|<nowiki><translate></nowiki>Mining pit<nowiki></translate></nowiki>]]
|requires=
|UsedIn=[[{{tl}}Iron slab|<nowiki><translate></nowiki>Iron slab<nowiki></translate></nowiki>]]
|UsedIn=[[{{tl}}Iron slab|<nowiki><translate></nowiki>Iron slab<nowiki></translate></nowiki>]]
|StoredIn=[[{{tl}}Storehouse|<nowiki><translate></nowiki>Storehouse<nowiki></translate></nowiki>]]
|StoredIn=[[{{tl}}Storehouse|<nowiki><translate></nowiki>Storehouse<nowiki></translate></nowiki>]]
}}</pre>
}}</pre>
</noinclude>
</noinclude>

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>]]
}}