⚠ 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
(creation of resource template)
 
(doc stuff)
Line 18: Line 18:
</infobox></includeonly>
</infobox></includeonly>
<noinclude>
<noinclude>
<!-- used to show example on right.-->
{{Resources
{{Resources
|image=<gallery>Iron_ore.png</gallery>
|image=<gallery>Iron_ore.png</gallery>
Line 36: Line 37:


==Template:==
==Template:==
Copy this and add it to the page.
<pre>{{Resources
<pre>{{Resources
|image = <gallery>{{PAGENAME}}.png</gallery>
|image = <gallery>{{PAGENAME}}.png</gallery>
Line 45: Line 47:


==Example:==
==Example:==
(shown on right side of page)
<pre>{{Resources
<pre>{{Resources
|image=<gallery>{{PAGENAME}}.png</gallery>
|image=<gallery>{{PAGENAME}}.png</gallery>

Revision as of 02:48, 10 May 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.

StoredIn - What entity is it stored in?

Template:

Copy this and add it to the page.

{{Resources
|image = <gallery>{{PAGENAME}}.png</gallery>
|type =
|ProducedBy =
|UsedIn =
|StoredIn =
}}

Example:

(shown on right side of page)

{{Resources
|image=<gallery>{{PAGENAME}}.png</gallery>
|type=Crafting materials
|ProducedBy=[[{{tl}}Mining pit|Mining pit]]
|UsedIn=[[{{tl}}Iron slab|Iron slab]]
|StoredIn=[[{{tl}}Storehouse|Storehouse]]
}}