⚠ 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 2 gallery fix)
m (test 3 gallery fix)
Line 3: Line 3:
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
</title>
</title>
<image source="image">{{#tag:gallery|File:{{PAGENAME}}.png}}</image>
<image source="image" />
<data source="type">
<data source="type">
<label><translate> Type</translate></label>
<label><translate> Type</translate></label>
Line 39: Line 39:
Copy this and add it to the page.
Copy this and add it to the page.
<pre>{{Resources
<pre>{{Resources
|image = <gallery>{{PAGENAME}}.png</gallery>
|image ={{#tag:gallery|File:{{PAGENAME}}.png}}
|type =
|type =
|ProducedBy =
|ProducedBy =
Line 49: Line 49:
(shown on right side of page)
(shown on right side of page)
<pre>{{Resources
<pre>{{Resources
|image=<gallery>{{PAGENAME}}.png</gallery>
|image={{#tag:gallery|File:{{PAGENAME}}.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>]]

Revision as of 03:08, 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 ={{#tag:gallery|File:{{PAGENAME}}.png}}
|type =
|ProducedBy =
|UsedIn =
|StoredIn =
}}

Example:

(shown on right side of page)

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