Template:Food: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Sanddh
mNo edit summary
imported>Arkalor
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Restores|}}}|||{{#ifeq:{{{Restores| }}}| ||{{{Restores}}}<br><br>}}}}{{#ifeq:{{{Spells|}}}|||{{#ifeq:{{{Spells| }}}| ||Casts the following spells:{{{Spells}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft|}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana|}}<br><br>}}}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Restores|}}}|||{{#ifeq:{{{Restores| }}}| ||{{{Restores}}}<br><br>}}}}{{#ifeq:{{{Spells|}}}|||{{#ifeq:{{{Spells| }}}| ||Casts the following spells:{{{Spells}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft|}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana|}}}<br><br>}}}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}{{#ifeq:{{{Inscription|}}}|||<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}
|}
|}
|width=20|
|width=20|
Line 23: Line 23:
}}
}}
|}[[Category:Food]]</includeonly><noinclude>
|}[[Category:Food]]</includeonly><noinclude>
{{Related|Wiki Templates|Trophy Template}}
{{Related|Wiki Templates|Food Template|Trophy Template}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
{{Food
{{Food
  |              Name =  
  |              Name =  
Line 49: Line 42:
  |    Cannot Be Sold = True
  |    Cannot Be Sold = True
}}
}}
==Notes==
{{Trophy Drops|{{PAGENAME}}}}
* {{Vendors|{{PAGENAME}}}}
* Does not stack. / Stack Size: ??
{{Recipe
}}
</pre>
</pre>


== Usage ==
== Usage ==
This is a component template that is part of a [[Page Template]]. See [[Food Template]] for details on usage and examples.


== Example ==
[[Category:Wiki Template]]
<pre>
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
 
{{Food
|              Name = Elaborate Field Health Ration
|        Icon Image = Elaborate Field Health Ration Icon.png
|        Live Image =  Live.jpg
| Live Image Caption =
|              Value = 0
|            Burden = 90
|        Description = An elaborate mix of reconstituted meats, nuts, and fruit. It is very filling, and a bit spicy
|    Description Two = Use this item to eat it.
| Special Properties =
|          Restores = Restores 70 Health when used.
|            Spells =
|    Cannot Be Sold = True
}}
 
==Notes==
* {{Vendors|{{PAGENAME}}}}
* Stack Size: 100
 
{{Recipe
 
}}
 
</pre>
 
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
 
{{Food
|              Name = Elaborate Field Health Ration
|        Icon Image = Elaborate Field Health Ration Icon.png
|        Live Image =  Live.jpg
| Live Image Caption =
|              Value = 0
|            Burden = 90
|        Description = An elaborate mix of reconstituted meats, nuts, and fruit. It is very filling, and a bit spicy
|    Description Two = Use this item to eat it.
| Special Properties =
|          Restores = Restores 70 Health when used.
|            Spells =
|    Cannot Be Sold = True
}}
 
==Notes==
* {{Vendors|{{PAGENAME}}}}
* Stack Size: 100
 
{{Recipe
 
}}
 
 
 
</noinclude>
</noinclude>
[[Category:In Progress]]

Latest revision as of 23:45, 10 July 2012

Related topics: Wiki Templates, Food Template, Trophy Template

Syntax

{{Food
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 |    Description Two = Use this item to eat/drink it.
 | Special Properties = 
 |           Restores = Restores ?? Health/Stamina/Mana when consumed/eaten/used.
 |             Spells = 
 |         Spellcraft = 
 |               Mana = 
 |     Cannot Be Sold = True
}}

Usage

This is a component template that is part of a Page Template. See Food Template for details on usage and examples.