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

Template talk:Userbox CIT

From Paragon Wiki Archive
Jump to: navigation, search

If Then Else Fi

Didn't I see something about If/Then statements being implemented? We could do away with the {{{avatar}}} thing and have it so that if the third option is missing then it does the signature, but if you include |a at the end, then the avatar is used instead. As it stands, if you forget avatar= then you get broken linkys. --Konoko 11:40, 14 February 2007 (PST)

CIT signature images have chnaged over to the new titan network ones.

Cat went from: 6.png

to: 6.png


Can someone who understands template formating help here please and get the template reset.Catwhoorg 18:07, 11 February 2008 (UTC)

After hacking at it a bit, I was able to get it to at least give the correct image locations. Is it possible to actually display the image from CIT's servers?.SaintNicster 20:59, 7 May 2008 (UTC)
In the past, links to external images would render as the image. This behavior is seemingly now unreliable. I'm not sure if Wikia keeps changing settings or what, but for now it looks like it's not possible. -- Sekoia 14:01, 8 May 2008 (UTC)

Mitgration

Heh, I know it's a bit early in the move, but whenever someone's got some time, could we look into re-enabling the external images? :D SaintNicster 23:59, 8 October 2008 (UTC)

*waves magic wand* Done! :) -- Sekoia 02:58, 9 October 2008 (UTC)

URL issues

As evidenced by the history, I attempted to change the format/layout of this template.

SHORT VERSION: Images work, URLS do not.

Issues:

  • Legacy support:
    • CiT allows Avatar linking to old character ID's: http://avatars.cohtitan.com/signatures/cit/7823.png = 7823.png
    • However, old character id's do not seem to link to anything: http://cit.cohtitan.com/character/7823 = "The character you are trying to view is either hidden or does not exist."
  • New id's
    • New character id's have a "u" in front and link properly: http://avatars.cohtitan.com/signatures/cit/u151913.png = u151913.png
    • And they link properly: http://cit.cohtitan.com/character/151913 =
      arrow'd
      Pilot: @konoko
      Character Data
      Security Level: 50
      ...

So, figuring out new id's is difficult as no text is returned by the old ID image. One would have to manually search for all 6 old image id's names.

All 6 of them: Special:WhatLinksHere/Template:Userbox_CIT

  1. User:Pucechan
  2. User:Burk
  3. User:PaxArcana
  4. User:Beta X
  5. User:PARAGON-Lem
  6. User:Voltaic Shock

What to do? --Konoko 05:33, 9 October 2008 (UTC)

Also compound this with the character vs profile page.
Should we split this page into one for characters, one for profiles?
Or do this:
[http://cit.cohtitan.com/{{{3|{{{linktype|character}}}}}}/{{{1|{{{id|}}}}}} http://avatars.cohtitan.com/{{{2|{{{imagetype|avatars}}}}}}/cit/u{{{1|{{{id}}}}}}.png]
That does away with if/then statements and allows for re-arranging/forcing parameters.
  1. id - character or profile id. Will have issues with character id's vs profile id's if the linktype isn't set
  2. imagetype - defaults to the square avatar. can type "signatures" instead
  3. linktype - defaults to character. can type "profile" instead
But again, this requires all 6 user pages to be updated.
I'll wait for input before changing things willy nilly again. --Konoko 05:43, 9 October 2008 (UTC)
I like the restructuring idea into one page for character versus profile. We could probably just drop a note on the affected player's talk pages letting them know that it was changed for better support. They're probably just not used to them working at all, since it had been broken and then disabled while on wikia. Not to mention if they're going to be active on this fork of the wiki - SaintNicster 15:07, 9 October 2008 (UTC)