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

Difference between revisions of "Template talk:Slashcommand"

From Paragon Wiki Archive
Jump to: navigation, search
m (How do we want to handle '+' or '++' commands?)
 
Line 7: Line 7:
 
# 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'' 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.
 
# 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 teamplate to allow for something preceding 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.  --[[User:Eabrace|Eabrace]] 18:10, 15 August 2007 (EDT)
 
OK, back to my cage.  --[[User:Eabrace|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. -- [[User:Sekoia|Sekoia]] 02:22, 16 August 2007 (EDT)

Revision as of 06:22, 16 August 2007

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)