Difference between revisions of "Template:Userbox CIT"

From Ouroboros Portal
Jump to: navigation, search
m (playing with #if)
m
 
(33 intermediate revisions by 5 users not shown)
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://cit.cohtitan.com/character/{{{2}}} http://avatars.cohtitan.com/{{#if: {{{3|}}} | avatars | signatures}}/cit/{{{2}}}.png]<noinclude>
 
----
 
----
 
Takes 3 variables:
 
Takes 3 variables:
 
* Server name, not case sensitive.
 
* Server name, not case sensitive.
* Toonid from City Info Terminal's [http://www.cityinfoterminal.com/badgetracking/btpages/avatarsystem.aspx Avatar system].
+
* Toonid from [http://cit.cohtitan.com/ City Info Tracker's] Avatar system.
* The third is optional and specifies wether it's the Avatar or Signature version.
+
* The third is optional and specifies whether it's the Avatar or Signature version.
 
----
 
----
 
{|
 
{|
!! Generic code
+
! Generic code
!! Example code
+
! Example code
!! Result of code
+
! Result of code
 
|-
 
|-
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=<nowiki>}}</nowiki>
+
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=}}</nowiki>
+
|| <nowiki>{{Userbox CIT|Champion|7823}}</nowiki>
|| {{Userbox CIT|server=Champion|toonid=7823}}
+
|| {{Userbox CIT|Champion|7823}}
 
|-
 
|-
|| <nowiki>{{Userbox CIT|</nowiki>server=''server''<nowiki>|</nowiki>toonid=''toonid''<nowiki>|</nowiki>avatar=a<nowiki>}}</nowiki>
+
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>|</nowiki>''any_text''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|server=Champion|toonid=7823|avatar=a}}</nowiki>
+
|| <nowiki>{{Userbox CIT|Champion|7823|yes}}</nowiki>
|| {{Userbox CIT|server=Champion|toonid=7823|avatar=a}}
+
|| {{Userbox CIT|Champion|7823|yes}}
 
|}
 
|}
  
[[Category:Userbox Templates]]</noinclude>
+
[[Category:Userbox Templates|CIT]]</noinclude>

Latest revision as of 18:27, 12 August 2009

http://avatars.cohtitan.com/signatures/cit/{{{2}}}.png


Takes 3 variables:

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

Generic code Example code Result of code
{{Userbox CIT|server|toonid}} {{Userbox CIT|Champion|7823}} 7823.png
{{Userbox CIT|server|toonid|any_text}} {{Userbox CIT|Champion|7823|yes}} 7823.png