Template:Userbox CIT/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
(updating doc)
imported>Sekoia
m (applying wikitable class to table)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Takes 2 parameters
{{Documentation subpage}}
# Type of image. Must be spelled correctly or link will fail.
Takes 3 variables:
#* avatars
* Server name, not case sensitive.
#* signature
* Toonid from [http://cit.cohtitan.com/ City Info Tracker's] Avatar system.
# Toonid from City Info Tracker's [http://cit.cohtitan.com/manage/avatars Avatar] and [http://cit.cohtitan.com/manage/signatures Signature] system.
* The third is optional and specifies whether it's the Avatar or Signature version.


----
 
{|
{| class="wikitable"
! Generic code
! Generic code
! Example code
! Example code
! Result of code
! Result of code
|-
|-
|| <nowiki>{{Userbox CIT|</nowiki>''type''<nowiki>|</nowiki>''toonid''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|avatars|151913}}</nowiki>
|| <nowiki>{{Userbox CIT|Champion|7823}}</nowiki>
|| {{Userbox CIT|avatars|151913}}
|| {{Userbox CIT|Champion|7823}}
|-
|-
|| <nowiki>{{Userbox CIT|</nowiki>''type''<nowiki>|</nowiki>''toonid''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|</nowiki>''server''<nowiki>|</nowiki>''toonid''<nowiki>|</nowiki>''any_text''<nowiki>}}</nowiki>
|| <nowiki>{{Userbox CIT|signatures|151913}}</nowiki>
|| <nowiki>{{Userbox CIT|Champion|7823|yes}}</nowiki>
|| {{Userbox CIT|signatures|151913}}
|| {{Userbox CIT|Champion|7823|yes}}
|}
|}
<includeonly>
[[Category:Userbox Templates|CIT]]
[[Category:External Link Templates]]
</includeonly>

Latest revision as of 00:15, 1 September 2010

This is a documentation subpage for Template:Userbox CIT (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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