Difference between revisions of "Template:MCItemTypesBegin/doc"

From floramisa designs
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
None need be specifically named since they're just numbered, just given in order.
 
None need be specifically named since they're just numbered, just given in order.
 
{{Docparam|name=1|req=no|desc=The first column's header.|default=Item}}
 
{{Docparam|name=1|req=no|desc=The first column's header.|default=Item}}
{{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=Name}}
{{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=Stash Link}}
 +
{{Docparam|name=4|req=no|desc=The fourth column's header.|default=Availability}}
 +
{{Docparam|name=5|req=no|desc=The fifth column's header.|default=Description}}
 +
 
 
=== Info Sections ===
 
=== 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=Image|req=no|desc=The image's filename. Note that you do not need to include the filetype-- png is assumed! Also note that unless you specifically provide a filename here, it will default to the item's name!|default=Item name}}
{{Docparam|name=Avail|req=semi|desc=The item's availability!}}
+
{{Docparam|name=Stash|req=yes|desc=The item's stash link!}}
{{Docparam|name=Desc|req=semi|desc=The item's description!}}
+
{{Docparam|name=Name|req=yes|desc=The item's name!}}
 +
{{Docparam|name=Avail|req=semi|desc=The item's availability! For purposes of tidiness, unless a value is provided, this defaults to blank.}}
 +
{{Docparam|name=1|req=semi|desc=The item's description! For purposes of tidiness, unless a value is provided, this defaults to blank.}}
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{MCItemTypesBegin}}
+
{{{MCItemTypesBegin}}{{
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
+
MCItemTypesInfo|Image=(Filename)|Name=(Name)|Stash=(Stash)|Avail=(Availability)|(Description)}}{{
{{MCItemTypesInfo|Image=FILENAME|Avail=AVAILABILITY|Desc=DESCRIPTION}}
+
MCItemTypesInfo|Image=(Filename)|Name=(Name)|Stash=(Stash)|Avail=(Availability)|(Description)}}{{
{{MCItemTypesEnd}}
+
MCItemTypesEnd}}
 +
}}
 
</pre>
 
</pre>
  
 
{{sandbox other||
 
{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Templates]] [[Category:Mothcats Templates]]
+
[[Category:Mothcats Templates]]
 
}}
 
}}

Latest revision as of 15:14, 2 August 2017

Lua error: Internal error: The interpreter has terminated with signal "127". Documentation for the whole of this set of templates-- Template:MCItemTypesBegin, Template:MCItemTypesInfo, and Template:MCItemTypesEnd-- follows.

Note that these are included in Template:Item Page by default, and ordinarily will not need to be added manually!

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: "Name")
2
The second column's header.
optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Stash Link")
3
The third column's header.
optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Availability")
4
The fourth column's header.
optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Description")
5
The fifth column's header.

Info Sections

optional
Error creating thumbnail: Unable to save thumbnail to destination
(default: "Item name")
Image
The image's filename. Note that you do not need to include the filetype-- png is assumed! Also note that unless you specifically provide a filename here, it will default to the item's name!
required
Error creating thumbnail: Unable to save thumbnail to destination
Stash
The item's stash link!
required
Error creating thumbnail: Unable to save thumbnail to destination
Name
The item's name!
semi-required
Error creating thumbnail: Unable to save thumbnail to destination
Avail
The item's availability! For purposes of tidiness, unless a value is provided, this defaults to blank.
semi-required
Error creating thumbnail: Unable to save thumbnail to destination
1
The item's description! For purposes of tidiness, unless a value is provided, this defaults to blank.

Usage

{{{MCItemTypesBegin}}{{
MCItemTypesInfo|Image=(Filename)|Name=(Name)|Stash=(Stash)|Avail=(Availability)|(Description)}}{{
MCItemTypesInfo|Image=(Filename)|Name=(Name)|Stash=(Stash)|Avail=(Availability)|(Description)}}{{
MCItemTypesEnd}}
}}