Template:Userbox CIT: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
m (wow, that was a bad mistake. Link wouldn't have worked.)
imported>Konoko (historical)
(playing with #if)
Line 1: Line 1:
[http://www.cityinfoterminal.com/badgetracking/btpages/characterdetail.aspx?toonid={{{toonid}}} http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}{{{avatar}}}.png]<noinclude>
[http://www.cityinfoterminal.com/badgetracking/btpages/characterdetail.aspx?toonid={{{toonid}}} http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}{{#if {{{3|}}}|a}}.png]<noinclude>
----
----
Takes 3 variables:
Takes 3 variables:
Line 13: Line 13:
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=}}</nowiki>
|| {{Userbox CIT|server=Champion|toonid=7823|avatar=}}
|| {{Userbox CIT|server=Champion|toonid=7823}}
|-
|-
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=a<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=a<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=a}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=a}}</nowiki>
|| {{Userbox CIT|server=Champion|toonid=7823|avatar=a}}
|| {{Userbox CIT|server=Champion|toonid=7823|thingy}}
|}
|}


[[Category:Userbox Templates]]</noinclude>
[[Category:Userbox Templates]]</noinclude>

Revision as of 16:26, 22 February 2007

http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}{{#if |a}}.png


Takes 3 variables:

  • Server name, not case sensitive.
  • Toonid from City Info Terminal's Avatar system.
  • The third is optional and specifies wether it's the Avatar or Signature version.

Generic code Example code Result of code
{{Userbox CIT|server=server|toonid=toonid|avatar=}} {{Userbox CIT|server=Champion|toonid=7823|avatar=}} http://www.cityinfoterminal.com/fs/Champion/7823{{#if |a}}.png
{{Userbox CIT|server=server|toonid=toonid|avatar=a}} {{Userbox CIT|server=Champion|toonid=7823|avatar=a}} http://www.cityinfoterminal.com/fs/Champion/7823{{#if |a}}.png