Template:ResourceDisp/doc

Usage
This template can be used to display a resource icon in line with text. Due to Nowrap constraints, you must enter the word/number that comes before the resource icon, into the template as a parameter; more on that below.

In the rare circumstance that you only want to display the resource icon, leave the first parameter blank like so:

Example
Let's say that we're using Vehicle Infobox and want to say that a vehicle costs 120 Basic Materials. Under the  parameter you would put  which produces:

Let's pretend you're writing an article and want to display the Petrol icon right after saying the word, like this:

To do this, you would have to do. Hopefully you understand the very second sentence of the Doc now.