Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Template talk:Slashcommand

From Paragon Wiki Archive
Revision as of 06:22, 16 August 2007 by Sekoia (Talk | contribs)

Jump to: navigation, search

What's the best way to reference a command like this one:

  • /++up

If I feed that in with {{slashcommand|++up}} I get a link to an article named "++up (Slash Command)" when I should really be linking to an article named "Up (Slash Command)."

There are three solutions that come to my mind:

  1. I could go ahead and create a redirect for every "+" or "++" command I end up running across, but we're going to end up with a lot of redirects.
  2. I could use the bindcommand template and manually insert the '/+' or '/++' ahead of the command.
  3. (Assuming it's actually feasible) maybe we could put something in this template to allow for something preceding the command?

OK, back to my cage. --Eabrace 18:10, 15 August 2007 (EDT)

I just added a prefix parameter, with an example. Does that work? Do you want the ++ to be part of the link or no? I made it part of the link, but if you'd prefer it to not be, I can easily change that for you. -- Sekoia 02:22, 16 August 2007 (EDT)