Difference between revisions of "Template:MCItemTypesBegin/doc"

From floramisa designs
Jump to: navigation, search
Line 10: Line 10:
 
{{Docparam|name=2|req=no|desc=The second column's header.|default=Availability}}
 
{{Docparam|name=2|req=no|desc=The second column's header.|default=Availability}}
 
{{Docparam|name=3|req=no|desc=The third column's header.|default=Description}}
 
{{Docparam|name=3|req=no|desc=The third column's header.|default=Description}}
 +
=== Info Sections ===
 +
{{Docparam|name=Image|req=yes|desc=The image's filename. Note that you do not need to include the filetype-- png is assumed!}}
 +
{{Docparam|name=Avail|req=semi|desc=The item's availability!}}
 +
{{Docparam|name=Desc|req=semi|desc=The item's description!}}
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
 
{{MCItemTypesBegin}}
 
{{MCItemTypesBegin}}
 +
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
 +
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
 
{{MCItemTypesEnd}}
 
{{MCItemTypesEnd}}
 
</pre>
 
</pre>

Revision as of 21:37, 13 May 2017

Lua error: Internal error: The interpreter has terminated with signal "127". Documentation for the whole of this set of templates follows.

Note: This and associated templates are included in Template:Item Page by default!

Parameters

Header Text

None need be specifically named since they're just numbered, just given in order.

optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Item")
1
The first column's header.
optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Availability")
2
The second column's header.
optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Description")
3
The third column's header.

Info Sections

required
Error creating thumbnail: Unable to save thumbnail to destination
Image
The image's filename. Note that you do not need to include the filetype-- png is assumed!
semi-required
Error creating thumbnail: Unable to save thumbnail to destination
Avail
The item's availability!
semi-required
Error creating thumbnail: Unable to save thumbnail to destination
Desc
The item's description!

Usage

{{MCItemTypesBegin}}
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
{{MCItemTypesEnd}}