Difference between revisions of "Template:Infobox building/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (fix)
m (Text replacement - "==Usage==" to "==Use==")
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
This template is used to provide an infobox for farm buildings. It will automatically add [[:Category:Farm buildings]] to the page.
+
This template is used to provide an infobox for farm buildings.
  
==Usage==
+
==Use==
This template can be used by entering the following onto a relevant page.
+
This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.'''
  
 
<pre>{{Infobox building
 
<pre>{{Infobox building
|name     =  
+
|name       =  
|image    =
+
|image       =
|animals  =
+
|description =
|upgrade  =
+
|cost        =
 +
|materials  =
 +
|animals     =
 +
|capacity    =
 +
|size        =
 +
|sizehv      =  
 
}}</pre>
 
}}</pre>
  
==parameters==
+
==Parameters==
 
<pre>{{Infobox building
 
<pre>{{Infobox building
|name     = Location name
+
|name       = Location name
|image     = The image name, minus the File:
+
|image       = The image name, minus the File:
|animals   = A list of the animals able to stay in this building, if applicable
+
|description = The building description, if one exists.  Automatically populated by Template:Description if omitted.
|upgrade  = The building which this can be upgraded to, if applicable
+
|cost        = Cost of building construction (gold)
 +
|materials  = Materials required for building construction
 +
|animals     = A list of the animals able to stay in this building, if applicable
 +
|capacity    = The maximum number of animals storable in this building
 +
|size        = The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width)
 +
|sizehv      = The size of the building in format horizontal x vertical (optional)
 
}}</pre>
 
}}</pre>
  
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 +
<includeonly>{{Addlanglinks}}</includeonly>

Latest revision as of 21:01, 8 January 2023

Description

This template is used to provide an infobox for farm buildings.

Use

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox building
|name        = 
|image       =
|description =
|cost        =
|materials   =
|animals     =
|capacity    =
|size        =
|sizehv      = 
}}

Parameters

{{Infobox building
|name        = Location name
|image       = The image name, minus the File:
|description = The building description, if one exists.  Automatically populated by Template:Description if omitted.
|cost        = Cost of building construction (gold)
|materials   = Materials required for building construction
|animals     = A list of the animals able to stay in this building, if applicable
|capacity    = The maximum number of animals storable in this building
|size        = The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width)
|sizehv      = The size of the building in format horizontal x vertical (optional)
}}