User:FizzleMaster/Sandbox/Itempage: Difference between revisions
FizzleMaster (talk | contribs) Created page with "=== Itembox Parameter Blueprint === '''Status: sandbox / not yet integrated with Itempage.''' This blueprint covers the redesigned stats-box parameters only (User:FizzleMaster/Sandbox/Itembox). The surrounding page sections (Drops From, Sold By, Related Quests, etc.) still use the existing Itempage format until that template is updated to pass these named parameters through instead of a single statsblock string. <pre> {{User:FizzleMaster/Sandbox/Itembox | itemname..." |
FizzleMaster (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
== | <includeonly>{{#ifeq:{{{mode|{{#ifeq:{{FULLPAGENAME}}|{{{itemname}}}|page|tooltip}}}}}|tooltip| | ||
<div class="hbdiv">[[{{{itemname}}}]]<span class="hb">{{User:FizzleMaster/Sandbox/Itembox | |||
|itemname = {{{itemname}}} | |||
< | |lucy_img_ID = {{{lucy_img_ID}}} | ||
|flags = {{{flags|}}} | |||
|class = {{{class|}}} | |||
|race = {{{race|}}} | |||
|slot = {{{slot|}}} | |||
|size = {{{size|}}} | |||
|weight = {{{weight|}}} | |||
|skill = {{{skill|}}} | |||
|delay = {{{delay|}}} | |||
|dmg = {{{dmg|}}} | |||
|dmg_bonus = {{{dmg_bonus|}}} | |||
|backstab = {{{backstab|}}} | |||
|hp = {{{hp|}}} | |||
|mana = {{{mana|}}} | |||
|endurance = {{{endurance|}}} | |||
|str = {{{str|}}} | |||
|sta = {{{sta|}}} | |||
|int = {{{int|}}} | |||
|wis = {{{wis|}}} | |||
|agi = {{{agi|}}} | |||
|dex = {{{dex|}}} | |||
|cha = {{{cha|}}} | |||
|svmagic = {{{svmagic|}}} | |||
|svfire = {{{svfire|}}} | |||
|svcold = {{{svcold|}}} | |||
|svdisease = {{{svdisease|}}} | |||
|svpoison = {{{svpoison|}}} | |||
|svvoid = {{{svvoid|}}} | |||
|focus_effect = {{{focus_effect|}}} | |||
|click_effect = {{{click_effect|}}} | |||
|click_effect_flag = {{{click_effect_flag|}}} | |||
|click_cast_time = {{{click_cast_time|}}} | |||
|click_required_level = {{{click_required_level|}}} | |||
|click_cooldown = {{{click_cooldown|}}} | |||
|worn_effect = {{{worn_effect|}}} | |||
|combat_effect = {{{combat_effect|}}} | |||
|combat_effect_level = {{{combat_effect_level|}}} | |||
}}</span></div> | |||
| | |||
{{#if: {{{second_image|}}} | [[ File:{{{second_image}}}|thumb|350x420px|{{{second_imagetext|}}} ]] }} | |||
{{#if: {{{third_image|}}} | [[ File:{{{third_image}}} |thumb|350x420px|{{{third_imagetext|}}} ]] }} | |||
__NOTOC__ | |||
{{User:FizzleMaster/Sandbox/Itembox | {{User:FizzleMaster/Sandbox/Itembox | ||
| itemname | |itemname = {{{itemname}}} | ||
| lucy_img_ID | |lucy_img_ID = {{{lucy_img_ID}}} | ||
| flags | |flags = {{{flags|}}} | ||
| class | |class = {{{class|}}} | ||
| race | |race = {{{race|}}} | ||
| slot | |slot = {{{slot|}}} | ||
| size | |size = {{{size|}}} | ||
| weight | |weight = {{{weight|}}} | ||
| skill | |skill = {{{skill|}}} | ||
| delay | |delay = {{{delay|}}} | ||
| dmg | |dmg = {{{dmg|}}} | ||
| dmg_bonus | |dmg_bonus = {{{dmg_bonus|}}} | ||
| backstab | |backstab = {{{backstab|}}} | ||
| hp | |hp = {{{hp|}}} | ||
| mana | |mana = {{{mana|}}} | ||
| endurance | |endurance = {{{endurance|}}} | ||
| str | |str = {{{str|}}} | ||
| sta | |sta = {{{sta|}}} | ||
| int | |int = {{{int|}}} | ||
| wis | |wis = {{{wis|}}} | ||
| agi | |agi = {{{agi|}}} | ||
| dex | |dex = {{{dex|}}} | ||
| cha | |cha = {{{cha|}}} | ||
| svmagic | |svmagic = {{{svmagic|}}} | ||
| svfire | |svfire = {{{svfire|}}} | ||
| svcold | |svcold = {{{svcold|}}} | ||
| svdisease | |svdisease = {{{svdisease|}}} | ||
| svpoison | |svpoison = {{{svpoison|}}} | ||
| svvoid | |svvoid = {{{svvoid|}}} | ||
| focus_effect | |focus_effect = {{{focus_effect|}}} | ||
| click_effect | |click_effect = {{{click_effect|}}} | ||
| click_effect_flag | |click_effect_flag = {{{click_effect_flag|}}} | ||
| click_cast_time | |click_cast_time = {{{click_cast_time|}}} | ||
| click_required_level = | |click_required_level = {{{click_required_level|}}} | ||
| click_cooldown | |click_cooldown = {{{click_cooldown|}}} | ||
| worn_effect | |worn_effect = {{{worn_effect|}}} | ||
| combat_effect | |combat_effect = {{{combat_effect|}}} | ||
| combat_effect_level = | |combat_effect_level = {{{combat_effect_level|}}} | ||
}} | |||
{{#if: {{{notes|}}} | {{{notes}}} <br>}} | |||
{{#if: {{{merchant_value|}}} | [[File:Item 645.png|16px]] Merchant resale value: '''{{{merchant_value}}}''' <br>}} | |||
{{#if: {{{dropsfrom|}}} | == Drops From == | == <span class='esec'>Drops From</span> ==}} | |||
{{{dropsfrom|<ul class='esec'><li> <span class='esec'>This item is not dropped by mobs.</span> </li></ul>}}} | |||
{{#if: {{{soldby|}}} | == Sold by == | == <span class='esec'>Sold by</span> ==}} | |||
{{#if: {{{soldby|}}} | This item is sold by merchants:}} | |||
{{{soldby|<ul class='esec'><li> <span class='esec'>This item cannot be purchased from merchants.</span> </li></ul>}}} | |||
{{#if: {{{relatedquests|}}} | == Related quests == | == <span class='esec'>Related quests</span> ==}} | |||
{{{relatedquests|<ul class='esec'><li> <span class='esec'>This item has no related quests.</span> </li></ul>}}} | |||
{{#if: {{{bookcontents|}}} |<br> | |||
== Book contents == | |||
{{{bookcontents}}} | |||
}} | |||
{{#if: {{{playercrafted|}}} | == Player crafted == | == <span class='esec'>Player crafted</span> ==}} | |||
{{#if: {{{playercrafted|}}} | This item can be crafted with player tradeskills:}} | |||
{{{playercrafted|<ul class='esec'><li> <span class='esec'>This item is not crafted by players.</span> </li></ul>}}} | |||
{{#if: {{{recipes|}}} | == Tradeskill recipes == | == <span class='esec'>Tradeskill recipes</span> ==}} | |||
{{#if: {{{recipes|}}} | This item is used in player tradeskills:}} | |||
{{{recipes|<ul class='esec'><li> <span class='esec'>This item is not used in player tradeskills.</span> </li></ul>}}} | |||
<span id='itemfashion'></span> | |||
{{#if: {{{foraged|}}} |<br> | |||
== Foraged == | |||
This item can be foraged: | |||
{{{foraged}}} | |||
}} | }} | ||
</ | [[Category:Items]] | ||
}}</includeonly><noinclude> | |||
This is the sandbox redesign of the template page for items — every section (notes, Drops From, Sold by, Related quests, Book contents, Player crafted, Tradeskill recipes, Foraged, the Category tag) is preserved exactly from the live Template:Itempage, untouched. The only change: instead of one free-text statsblock parameter, this accepts the same flat, named stat parameters as User:FizzleMaster/Sandbox/ItemboxBlueprint, and forwards them individually to the sandbox Itembox. | |||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 18:29, 16 August 2026
This is the sandbox redesign of the template page for items — every section (notes, Drops From, Sold by, Related quests, Book contents, Player crafted, Tradeskill recipes, Foraged, the Category tag) is preserved exactly from the live Template:Itempage, untouched. The only change: instead of one free-text statsblock parameter, this accepts the same flat, named stat parameters as User:FizzleMaster/Sandbox/ItemboxBlueprint, and forwards them individually to the sandbox Itembox.