Hattrick Markup Language
Hattrick Markup Language or HT-ML is Hattrick's version of the so-called BBCode. At the beginning it could only be used in Hattrick's forums. It's main purpose is to provide additional effects such as bold, italic, underlined, links and others.
With the transition of the site to .NET, it was also made available for HT mail. Since the update of the supporter package on the 17th of March 2009, it can also be used in guestbooks and press announcements, which originally only Foxtrick or Firehat users could do.
HT-ML tags have remained the same for a long time, only the addition of the Youth Academy to the game in 2007 and the redesign of 2008 brought changes in terms of available tags. Additional changes were made with the introduction of the so-called Forum v1.1 at the beginning of 2009, where quoting was eased up a little
Current HT-ML code
This table shows the known markups and their usage. Note that the first four requires an ending tag as well.
|q or quote||I [q]quote[/q] you!||I
|The text between the two tags is put into a separate block written in italic and with a gray background. Interlacing this tag makes the background become darker and darker. Writing [q=alias] or [quote=alias] will write the alias of the quoted user in the text box.||Available from the start, the possibility to add an argument was added with Forum v1.1 in 2009.|
|b||I make [b]this[/b] appear in bold.||I make this appear in bold.||Bold text||Available from the start.|
|i||I make [i]this[/i] appear in italic.||I make this appear in italic.||Italic text||Available from the start.|
|u||I make [u]this[/u] appear underlined.||I make this appear underlined.||Underlined text||Available from the start.|
|br||First line.[br]Second line.||First line
|Takes the text to a new line. Note that no end tag is needed.||Available from the start.|
|hr||First line.[hr]Second line.||First line.
|Inserts a HTML ruler. No end tag is needed.||Available from the start, deleted for standard skin with the redesign of 2008.|
|userid||[userid=1836]||Inserts a direct link to a user.||Available after the redesign of 2008.|
|playerid||[playerid=182390841]||Inserts a direct link to a player.||Available from the start.|
|youthplayerid||[youthplayerid=31508440]||(31508440)||Inserts a direct link to a youth player.||Available shortly after the addition of the Youth Academy in 2007.|
|teamid||[teamid=102541]||Inserts a direct link to a team.||Available from the start.|
|youthteamid||[youthteamid=518]||(518)||Inserts a direct link to a youth team.||Available shortly after the addition of the Youth Academy in 2007.|
|matchid||[matchid=13151551]||Inserts a direct link to a match.||Available from the start.|
|youthmatchid||[youthmatchid=316658]||(316658)||Inserts a direct link to a youth match.||Available after the redesign of 2008.|
|leagueid||[leagueid=1]||(1)||Inserts a direct link to a specific series, not to a league (country)||Available from the start.|
|youthleagueid||[youthleagueid=108]||(108)||Inserts a direct link to a specific youth league||Available after the redesign of 2008.|
|federationid||[federationid=81554]||(81554)||Inserts a direct link to a federation.||Available from the start. Was changed from allianceid to federationid with the redesign of 2008.|
|message||[message=6072888.1]||(6072888.1)||Inserts a direct link to a forum message.||Available from the start.|
|link (1)||[link=/Help/]||(http://www.hattrick.org/Help/)||Inserts a link to some place within Hattrick, the part http://wwwXX.hattrick.org has to be cut off to make the link work.||Available from the start.|
|link (2)||[link=http://alltid.org/index.php]||(http://www.alltid.org)||Inserts a link to some place outside of Hattrick.||Available from the start.|
|articleid||[articleid=2792]||(2792)||Inserts a link to a Hattrick Press article.||Available after the redesign of 2008.|