Template talk:Userbox CIT: Difference between revisions
imported>SaintNicster (historical) No edit summary |
imported>SaintNicster (historical) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 13: | Line 13: | ||
Can someone who understands template formating help here please and get the template reset.[[User:Catwhoorg|Catwhoorg]] 18:07, 11 February 2008 (UTC) | Can someone who understands template formating help here please and get the template reset.[[User:Catwhoorg|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?.[[User:SaintNicster|SaintNicster]] 20:59, 7 May 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?.[[User:SaintNicster|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. -- [[User:Sekoia|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 [[User:SaintNicster|SaintNicster]] 23:59, 8 October 2008 (UTC) | |||
: *waves magic wand* Done! :) -- [[User:Sekoia|Sekoia]] 02:58, 9 October 2008 (UTC) | |||
== URL issues == | |||
As evidenced by the [http://wiki.cohtitan.com/w/index.php?title=Template:Userbox_CIT&action=history 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: <nowiki>http://avatars.cohtitan.com/signatures/cit/7823.png</nowiki> = http://avatars.cohtitan.com/signatures/cit/7823.png | |||
** However, old character id's do not seem to link to anything: <nowiki>http://cit.cohtitan.com/character/7823</nowiki> = "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: <nowiki>http://avatars.cohtitan.com/signatures/cit/u151913.png</nowiki> = http://avatars.cohtitan.com/signatures/cit/u151913.png | |||
** And they link properly: <nowiki>http://cit.cohtitan.com/character/151913</nowiki> = <br />arrow'd<br />Pilot: @konoko<br />Character Data<br />Security Level: 50<br />... | |||
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]] | |||
# [[User:Pucechan]] | |||
# [[User:Burk]] | |||
# [[User:PaxArcana]] | |||
# [[User:Beta X]] | |||
# [[User:PARAGON-Lem]] | |||
# [[User:Voltaic Shock]] | |||
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) | |||
::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 - [[User:SaintNicster|SaintNicster]] 15:07, 9 October 2008 (UTC) |
Latest revision as of 15:07, 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
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.
- 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. --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)