Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Template:Summary/Items/Food
(view source)
Revision as of 04:19, 20 April 2008
756 bytes added
,
04:19, 20 April 2008
no edit summary
Line 14:
Line 14:
This template is to be used in the description section of a [[food]] item.
This template is to be used in the description section of a [[food]] item.
−
To see how
to
use the template
on
a page, edit the Description section
of
the page
[[
Artery Hardener
]]
.
+
==Usage==
+
<nowiki>{</nowiki>{Summary/Items/Food
+
|description=''text''
+
|autosell=''value''
+
|turnsonuse=''value''
+
|fullness=''value''
+
|discarded=''Can|Cannot''
+
|autosold=''Can|Cannot''
+
|traded=''Can|Cannot''
+
|stored=''Can|Cannot''
+
|plural=''text''
+
}}
+
+
==Examples==
+
Sorry about the format of this, still an issue to work out. Paramaters are easier
to
read if listed
on
separate lines as shown above.
+
+
:<code><nowiki>{{Summary/Items/Food
+
|description=This is some kind of nice item description
+
|autosell=20
+
|turnsonuse=2
+
|fullness=1
+
|discarded=Cannot
+
|autosold=Can
+
|traded=Can
+
|stored=Can
+
|plural=itemnames
+
}}</nowiki></code> yields:
+
+
{{Summary/Items/Food
+
|description=This is some kind
of
nice item description
+
|autosell=20
+
|turnsonuse=2
+
|fullness=1
+
|discarded=Cannot
+
|autosold=Can
+
|traded=Can
+
|stored=Can
+
|plural=itemnames
+
}}
+
+
[[
Category: Templates
]]
</noinclude>
</noinclude>
DeepPurple
Bureaucrats
,
Administrators
1,125
edits
Navigation menu
Personal tools
Log in
Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main Page
New User Portal
Community portal
Current events
Recent changes
Random page
Donate
Contact us
Wiki Administration
Tools
Special pages
Printable version