Template:Quest Item/Doc

From Arcen Wiki
Jump to navigation Jump to search

Summary

This template is used to display the data saved by Template:Item Data on the appropriate quest page. It returns a complete table.

Parameters

Template: Quest Item Data
Parameter Scope Description
1 required The actual name of the item. Ex: Amren's Family Sword
2 optional The type of table it is. Values: weapon apparel dragonclaw other
If left blank, only Name and ID will be displayed
3 optional Instead displays the name above all of the other headers, making for a taller yet narrower box.

Example

This is an example of how to use the template:

{{Quest Item|Amren's Family Sword|weapon}} <cleanspace> {{#preview:1|Coral Dragon Claw}} {{#preview:2|dragonclaw}} {{#define:name|Amren's Family Sword}} {{#local:columnSpan|Name}} {{#local:columnSpan|colspan=4|{{{name}}}|if=}} {{#local:columnSpanrow||-|if=}} {{#load:Skyrim:Quest Items|name|id|id2|id3|id4|id5|id6|type|temp|perk|weight|value|damage|enchantment|quest|questalt|notes|subset=Amren's Family Sword}}</cleanspace><cleantable>

{{{columnSpan}}} ID Type Damage Enchantment
<cleanspace>


</cleanspace> || {{#define:sep|, }}{{#sub:{{#splitargs:IDs/Entry|1}}|{{#len:
}}}} ||style="text-align:center"| ||style="text-align:center"|None

</cleantable>

{{Quest Item|Helm of Winterhold|apparel|alt}} <cleanspace> {{#preview:1|Coral Dragon Claw}} {{#preview:2|dragonclaw}} {{#define:name|Helm of Winterhold}} {{#local:columnSpan|Name}} {{#local:columnSpan|colspan=4|{{{name}}}|if=alt}} {{#local:columnSpanrow||-|if=alt}} {{#load:Skyrim:Quest Items|name|id|id2|id3|id4|id5|id6|type|temp|perk|weight|value|damage|enchantment|quest|questalt|notes|subset=Helm of Winterhold}}</cleanspace><cleantable>

{{{columnSpan}}} ID Type Damage Enchantment
, }}{{#sub:{{#splitargs:IDs/Entry|1}}|{{#len:
}}}}
None

</cleantable>

{{Quest Item|Coral Dragon Claw|dragonclaw}} <cleanspace> {{#preview:1|Coral Dragon Claw}} {{#preview:2|dragonclaw}} {{#define:name|Coral Dragon Claw}} {{#local:columnSpan|Name}} {{#local:columnSpan|colspan=3|{{{name}}}|if=}} {{#local:columnSpanrow||-|if=}} {{#load:Skyrim:Quest Items|name|id|id2|id3|id4|id5|id6|type|temp|perk|weight|value|damage|enchantment|quest|questalt|notes|subset=Coral Dragon Claw}}</cleanspace><cleantable>

{{{columnSpan}}} ID Weight Value
<cleanspace>


</cleanspace> || {{#define:sep|, }}{{#sub:{{#splitargs:IDs/Entry|1}}|{{#len:
}}}} ||style="text-align:center"|||style="text-align:center"|

</cleantable>

{{Quest Item|Broken Azura's Star|other}} <cleanspace> {{#preview:1|Coral Dragon Claw}} {{#preview:2|dragonclaw}} {{#define:name|Broken Azura's Star}} {{#local:columnSpan|Name}} {{#local:columnSpan|colspan=1|{{{name}}}|if=}} {{#local:columnSpanrow||-|if=}} {{#load:Skyrim:Quest Items|name|id|id2|id3|id4|id5|id6|type|temp|perk|weight|value|damage|enchantment|quest|questalt|notes|subset=Broken Azura's Star}}</cleanspace><cleantable>

{{{columnSpan}}} ID
<cleanspace>


</cleanspace> || {{#define:sep|, }}{{#sub:{{#splitargs:IDs/Entry|1}}|{{#len:
}}}}

</cleantable>