Template talk:Userbox CIT: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(→‎URL issues: new section)
imported>Konoko (historical)
Line 47: Line 47:


What to do? --[[User:Konoko|Konoko]] 05:33, 9 October 2008 (UTC)
What to do? --[[User:Konoko|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:
: <nowiki>[http://cit.cohtitan.com/{{{3|{{{linktype|character}}}}}}/{{{1|{{{id|}}}}}} http://avatars.cohtitan.com/{{{2|{{{imagetype|avatars}}}}}}/cit/u{{{1{{{id}}}}}}.png]</nowiki>
: That does away with if/then statements and allows for re-arranging/forcing parameters.
:# id - character or profile id. Will have issues with character id's vs profile id's if the linktype isn't set
:# imagetype - defaults to the square avatar. can type "signatures" instead
:# 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. --[[User:Konoko|Konoko]] 05:43, 9 October 2008 (UTC)
:

Revision as of 05:43, 9 October 2008

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: http://www.cityinfoterminal.com/FS/Triumph/6.png

to: http://avatars.cohtitan.com/signatures/cit/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 = http://avatars.cohtitan.com/signatures/cit/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 = http://avatars.cohtitan.com/signatures/cit/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)