Template:OutputsV2

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{OutputsV2}}. It is transcluded from Template:OutputsV2/doc and may be directly edited there.

Usage

This is a shortcut template for rendering a one-line "Craft Item / Critical Success " Outputs table for Crafting Recipes.
It can handle one Craft Item and one "Critical Success Item", and supports both renaming and/or overlaying an amount on the icon (via {{Reward}}) for either.

Short version:

{{OutputsV2 | item=<Craft item> | crit1=<Critical Success item> }}

Full version:

{{OutputsV2
| item         = (Required) - Primary output of the recipe
| item-amount  =    (optional) - Default = 1
| item-rename  =    (optional) - Default is blank
| crit1        = (Required) - The Critical Success version of the primary output
| crit1-amount =    (optional) - number of Critical item1 produced - Default is 1 (no overlay)
| crit1-rename =    (optional) - plural name of critical version - Default is blank
| item2        = (optional) - Other standard output
| item2-amount =    (optional) - Default = 1
| item2-rename =    (optional) - Default is blank
| crit2        = (optional) - The Critical Success version of the other standard output
| crit2-amount =    (optional) - number of items produced - Default is 1 (no overlay)
| crit2-rename =    (optional) - plural name of critical version - Default is blank
}}

Parameters

item
(Required - Keyword) The name of the item being craft without the Item: prefix.
item-amount
(optional - Keyword) The number of normal items created. This will be rendered as an overlay on the craft item's icon and should be used along with -rename to pluralize the item's name.
item-rename
(optional - Keyword) Set a different name to display for the craft item, such as if receiving a stack of items.
crit1
(optional, keyword) The Critical Success item for this recipe;
crit1-amount
(optional, keyword) The amount of the Critical Success item generated, treated the same as item-amount.
crit1-rename
(optional, keyword) Set a different name to display for the Critical Success item generated.
item2
(optional) A second item to Outputs. If set, then the "Item(s) to Trade" column in the table will be split in half and the second item to trade item will appear to the right of the first (crit1). The default is no third item, so if left unset, the first to-trade item will take up the whole right half of the table.
item2-amount
(optional) As above.
item2-rename
(optional) As above.
crit2
(optional) As above.
crit2-amount
(optional) As above.
crit2-rename
(optional) As above.

Examples

Simple version - one Item, one Critical Success

Syntax: {{OutputsV2 | item=Barley Bread | crit1=Barley Bread }}
Yields:

Outputs

Craft Item Critical Success
 Barley Bread  Barley Bread

Simple version with a Critical Success amount value

Syntax: {{OutputsV2 | item=Barley Bread | crit1=Barley Bread|item-amount=2|crit1-rename=Barley Breads }}
Or multi-line syntax-
{{OutputsV2 
| item         = Barley Bread 
| crit1        = Barley Bread
| crit1-amount = 2
| crit1-rename = Barley Breads
}}
Yields:

Outputs

Craft Item Critical Success
 Barley Bread 2 Barley Breads
{{OutputsV2 
| item         = Barley Bread 
}}
No Critical Success - Yields:

Outputs

Craft Item Critical Success
 Barley Bread

Full(er) version - Amount values for both normal and critical

{{{OutputsV2
| item         = Bow Chant: Eastemnet Breach-finder 
| item-amount  = 3
| item-rename  = Bow Chants: Eastemnet Breach-finder
| crit1        = Bow Chant: Eastemnet Breach-finder
| crit1-amount = 6
| crit1-rename = Bow Chants: Eastemnet Breach-finder
}}
Yields:

Outputs

Craft Item Critical Success
3 Bow Chants: Eastemnet Breach-finder 6 Bow Chants: Eastemnet Breach-finder

Try with item 3

{{{OutputsV2
| item         = Bow Chant: Eastemnet Breach-finder 
| item-amount  = 3
| item-rename  = Bow Chants: Eastemnet Breach-finder
| crit1        = Bow Chant: Eastemnet Breach-finder
| crit1-amount = 6
| crit1-rename = Bow Chants: Eastemnet Breach-finder
| item2        = Bow Chant: Eastemnet Breach-finder 
| item2-amount = 8
| item2-rename = confused Bow Chanter
| crit2        = Bow Chant: Eastemnet Breach-finder
| crit2-amount = 42
| crit2-rename = Runsible Bow Chants
}}
Yields:

Outputs

Craft Item Critical Success
3 Bow Chants: Eastemnet Breach-finder 6 Bow Chants: Eastemnet Breach-finder

8 confused Bow Chanter |-

42 Runsible Bow Chants