Brickipedia

READ MORE

Brickipedia
Forums: Index
Administration
Set template

The template for sets numbered 1, uses the template 0 for the previous numbered sets, but this should be set # 099, If I move and edit the Template:Set header/special/0 to ..special/099, will this fix the problem ? the header/special/0 despite having an error in a set number is not needed anyway, but I thought I would ask the powers that be before continuing. Cheers to you kind Sir Gladiatoring 09:24, July 26, 2010 (UTC)

  • Hi, that looks like it should fix the problem to me, feel free to go ahead and change it, or I'll change it if you want me to instead. NightblazeSaber 10:47, July 26, 2010 (UTC)
  • Ok I moved and edited the template , but after opening a set # 1 page the header hasn't changed so I will have to leave this for you to fix, sorry about that Gladiatoring 10:58, July 26, 2010 (UTC)
    • It looks like this is due to Template:Set header right side/special taking the first character from the pagename (in this case "1"), parsing it to an int (x), then subtracting 1, then substituting in "Template:Set header/special/(x-1)" for the "before" section (and likewise adding 1, resulting in "Template:Set header/special/(x-1)" for the "after" section). I'm no LegOtaku when it comes to Mediawiki stuff, and I really don't have time to sort out a solution for this, so would it be ok for me to leave it for 24 hours and see if I can come up with anything? (or if someone can fix it, please do) NightblazeSaber 12:22, July 26, 2010 (UTC)
      • No probs thanks for your response , I did try to insert the special header into set # 099, which upon viewing the header it changed it into 98 , 99, then 100 , so a quickfix is prolly not on the cards here Gladiatoring 12:28, July 26, 2010 (UTC)