Difference between revisions of "Template talk:StatBox"

From Fallen Sword Wiki
Jump to: navigation, search
Line 2: Line 2:
 
:<span style="color:#060">Give me a specific example to look at. I think I tried to fix a problem with the guild lock section when I first made the template, but I wasn't able to get it working the way I wanted it to work.</span><br>{{User:Belgrave/Sig}}
 
:<span style="color:#060">Give me a specific example to look at. I think I tried to fix a problem with the guild lock section when I first made the template, but I wasn't able to get it working the way I wanted it to work.</span><br>{{User:Belgrave/Sig}}
  
{{StatBox
+
{|class="collapsible collapsed"
 +
!
 +
|{{StatBox
 
|image=http://66.7.192.165/items/2679.gif
 
|image=http://66.7.192.165/items/2679.gif
 
|name=Amulet of Laugeh
 
|name=Amulet of Laugeh
Line 15: Line 17:
 
|enhancement-1-value=25
 
|enhancement-1-value=25
 
}}
 
}}
 +
|}
  
 
<span style="color:#aaa">This item belongs to me and not to the guild.  In game there isn't a line nor the words Guild Locked if it isn't.</span><br>{{User:CHiNback/Sig}}
 
<span style="color:#aaa">This item belongs to me and not to the guild.  In game there isn't a line nor the words Guild Locked if it isn't.</span><br>{{User:CHiNback/Sig}}
 
:<span style="color:#060">Ok, the problem is I used tables to align all the info in the statbox and I cannot use parserfunctions to decide if I should include a specific table for a specific section or not. The easy fix would be to just edit the template to default to <tt>Guild Locked: No</tt>, and the hard fix would be to make separate templates for each of those sections and have the parserfunctions decide if they should use those extra templates or not, similar to the way [[Template:Item]] decides how many lines of stats there are.</span><br>{{User:Belgrave/Sig}}
 
:<span style="color:#060">Ok, the problem is I used tables to align all the info in the statbox and I cannot use parserfunctions to decide if I should include a specific table for a specific section or not. The easy fix would be to just edit the template to default to <tt>Guild Locked: No</tt>, and the hard fix would be to make separate templates for each of those sections and have the parserfunctions decide if they should use those extra templates or not, similar to the way [[Template:Item]] decides how many lines of stats there are.</span><br>{{User:Belgrave/Sig}}
 
::<span style="color:#060">We also need to figure out what in the template is breaking this page!</span><br>{{User:Belgrave/Sig}}
 
::<span style="color:#060">We also need to figure out what in the template is breaking this page!</span><br>{{User:Belgrave/Sig}}
 +
 +
<span style="color:#aaa">Hid the StatBox so it wouldn't break the page.  I'd like to ask, how is it possible to bring the pop up box to the foreground?  Because in my [[User:CHiNback/HuntLog/Items|Items page]] the boxes are stacking behind the other images.</span><br>{{User:CHiNback/Sig}}

Revision as of 01:20, 20 November 2008

Hey, have a look at any item that's not guild tagged. It doesn't match, just wondering how you could fix it up. I've already fixed the uncraftable problem.
                 CHiNback - [ Talk - Message - PM ]

Give me a specific example to look at. I think I tried to fix a problem with the guild lock section when I first made the template, but I wasn't able to get it working the way I wanted it to work.
 Belgrave, Moderator / Sysop  Talk  Message PM 

This item belongs to me and not to the guild. In game there isn't a line nor the words Guild Locked if it isn't.
                 CHiNback - [ Talk - Message - PM ]

Ok, the problem is I used tables to align all the info in the statbox and I cannot use parserfunctions to decide if I should include a specific table for a specific section or not. The easy fix would be to just edit the template to default to Guild Locked: No, and the hard fix would be to make separate templates for each of those sections and have the parserfunctions decide if they should use those extra templates or not, similar to the way Template:Item decides how many lines of stats there are.
 Belgrave, Moderator / Sysop  Talk  Message PM 
We also need to figure out what in the template is breaking this page!
 Belgrave, Moderator / Sysop  Talk  Message PM 

Hid the StatBox so it wouldn't break the page. I'd like to ask, how is it possible to bring the pop up box to the foreground? Because in my Items page the boxes are stacking behind the other images.
                 CHiNback - [ Talk - Message - PM ]