Template:Userbox CIT: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Bort13 (historical)
(URL has changed, attempting to fix it.)
imported>Sekoia (historical)
(+{{documentation}})
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[http://www.cityinfoterminal.com/live/addeditbadges.asp?charid={{{2}}} http://www.cityinfoterminal.com/fs/{{{1}}}/{{{2}}}{{#if: {{{3|}}}|a}}.png]<noinclude>
[http://cit.cohtitan.com/character/{{{2}}} http://avatars.cohtitan.com/{{#if: {{{3|}}} | avatars | signatures}}/cit/{{{2}}}.png]<noinclude>
 
{{documentation}}</noinclude>
----
Takes 3 variables:
* Server name, not case sensitive.
* Toonid from City Info Terminal's [http://www.cityinfoterminal.com/badgetracking/btpages/avatarsystem.aspx Avatar system].
* The third is optional and specifies whether it's the Avatar or Signature version.
----
{|
! Generic code
! Example code
! Result of code
|-
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|Champion|7823}}</nowiki>
|| {{Userbox CIT|Champion|7823}}
|-
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>|</nowiki>''any_text''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|Champion|7823|yes}}</nowiki>
|| {{Userbox CIT|Champion|7823|yes}}
|}
 
[[Category:Userbox Templates]][[Category:External Link Templates]]</noinclude>

Latest revision as of 00:13, 1 September 2010

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

[edit] [purge] Documentation

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}} http://avatars.cohtitan.com/signatures/cit/7823.png
{{Userbox CIT|server|toonid|any_text}} {{Userbox CIT|Champion|7823|yes}} http://avatars.cohtitan.com/avatars/cit/7823.png