Template talk:Slashcommand
Revision as of 06:22, 16 August 2007 by imported>Sekoia
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:
- 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.
- I could use the bindcommand template and manually insert the '/+' or '/++' ahead of the command.
- (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)