This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template talk:Plus

From Heroes Wiki
Revision as of 05:13, 16 August 2007 by imported>MiamiVolts (→‎Page Break auto?: trial and error)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Would these be better named {{Pro}} and {{Con}}, rather then {{Plus}} and {{Minus}}? -Lөvөl 16:22, 27 March 2007 (EDT)

  • Probably. You'll also need a usage section to explain how to use the template. — RyanGibsonStewart (talk) 19:50, 27 March 2007 (EDT)
    • ...and make it so it works. All I'm getting now is, um, nothing but a new bullet: + RyanGibsonStewart (talk) 20:22, 27 March 2007 (EDT)
      • Yeah, same with me + Heroe(talk) 20:26, 27 March 2007 (EDT)
      • Yeah, MediaWiki isn't allowing me to use CSS to change the bullet style, so I'm going to have to fake it. If it was ready to go, I would have said something.  :) --Hardvice (talk) 23:04, 27 March 2007 (EDT)

Still not working

It's still not turning green for me. I don't have time to fix it now. — RyanGibsonStewart (talk) 07:28, 28 March 2007 (EDT)

Page Break auto?

Think we should automatically have a page break for the template? The only reason why I ask it is because a) it's only used in the theories, b) using a nextline doesn't produce a page break everytime, and c) people still don't try either. I wouldn't mind clearing out the tables of <br>'s.--Bob 03:23, 15 August 2007 (EDT)

  • I don't see anything wrong with the idea...if you want to be the one to spend the time working on it. :) -- RyanGibsonStewart (talk) 09:11, 15 August 2007 (EDT)
    • Sounds like a good idea. Just a reminder: If you do this on Template:Plus, remember to do it on Template:Minus and Template:Note as well.--MiamiVolts (talk) 14:17, 15 August 2007 (EDT)
  • On second though, I probably shouldn't. When using the indent ( : ), it has to be at the beginning of a new line. So, if you do
+ This

it won't be clean with the page break automatically in the template. I'd prefer leaving the indentation alone, since it's used on other pages than the theories page.--Bob 15:30, 15 August 2007 (EDT)

  • You could make the line break optional and/or add an option for indentation into the template.--MiamiVolts (talk) 17:07, 15 August 2007 (EDT)
  • Not that it really matters to me one way or the other, but if that's the only reason keeping you from adding the automatic line break, there's two things to consider. First, indents are not necessary on the theories pages. Second, you could always make indenting an option. The addition of a simple #if: statement will allow you easily keep the indent as a variable so all you have to type is something like {{plus|:}}. -- RyanGibsonStewart (talk) 17:12, 15 August 2007 (EDT)
    • Hmm, does just by listing an option mean it's true inside a template? I didn't know that.--MiamiVolts (talk) 17:18, 15 August 2007 (EDT)
Theory Citations Notes
Including line breaks and indents in the template is a good idea. See Theories:Evolved Humans + Including the line breaks takes away a lot of unneeded code.
+ Indents can be included, too.
+ This is a test of multiple indent.
+ Up to three indents are possible with Template:Plus/RGS, and it may be silly but...
+ ...Template:Plus/Test can do infinite indent....
+ well as single indent and has a no-break option.

- Bob doesn't have as much work to do any more. ;)
Seems like a draw to Ryan. He'd stick with the original version.

In all honesty, I think we should just leave well enough alone. It's not perfect, but including more code will make the page even messier and will just make the page bigger. I don't think it's worth it. -- RyanGibsonStewart (talk) 18:43, 15 August 2007 (EDT)

  • Then again, it's working now and I don't think it's messier.--MiamiVolts (talk) 19:06, 15 August 2007 (EDT)
    • Using indent=: to indent, rather than just using a colon seems pointless to me now. And if the original reason to fix the code was because people weren't breaking the lines, I doubt they're going to add nobr=1 to the first note, either. You really did a fantastic job on the template, but I just don't see any added value in using it--in fact, I see it just causing more problems and maintenance. -- RyanGibsonStewart (talk) 19:20, 15 August 2007 (EDT)
      • Actually, the version I modified still lets you do single indents using {{plus|:}}. Also, with any mod we make there is going to be a learning curve. Having an extra space when someone forgets to put nobr=1 isn't going to be much of a problem, imho. What do you think, Bob? This was your idea...--MiamiVolts (talk) 19:30, 15 August 2007 (EDT)
        • All in all, it's too big of a fix for a small enough problem. Much easier to simply add the four characters to put in a page break. That's what a sysop is for, I guess. But good work on possible solutions. When I was working on one myself, the KISS method popped into my head.--Bob 01:44, 16 August 2007 (EDT)
          • Hrm. I'm not grasping how it's too big a fix. Anyways, thanks for the template practice. :)--MiamiVolts (talk) 01:50, 16 August 2007 (EDT)
            • I should say, Miami, that you did a really awesome job on the template. I'm impressed with how you got infinite indents. Well done! :) -- RyanGibsonStewart (talk) 02:50, 16 August 2007 (EDT)
              • Thanks for the praise. It was really just trial and error, but that is the nature of the beast, I guess. :)--MiamiVolts (talk) 07:13, 16 August 2007 (EDT)