Difference between revisions of "Template:Userbox CIT"

From Ouroboros Portal
Jump to: navigation, search
m (playing with #if)
m (playing with #if)
Line 1: Line 1:
[http://www.cityinfoterminal.com/badgetracking/btpages/characterdetail.aspx?toonid={{{toonid}}} http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}{{#if {{{avatar|}}}|{{{avatar}}}}}.png]<noinclude>
+
[http://www.cityinfoterminal.com/badgetracking/btpages/characterdetail.aspx?toonid={{{toonid}}} http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}{{#if: {{{avatar|}}}|{{{avatar}}}}}.png]<noinclude>
 
----
 
----
 
Takes 3 variables:
 
Takes 3 variables:

Revision as of 16:28, 22 February 2007

http://www.cityinfoterminal.com/fs/{{{server}}}/{{{toonid}}}.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://avatars.cohtitan.com/signatures/cit/{{{2}}}.png
{{Userbox CIT|server=server|toonid=toonid|avatar=a}} {{Userbox CIT|server=Champion|toonid=7823|avatar=a}} http://avatars.cohtitan.com/signatures/cit/{{{2}}}.png