Hattrick Markup Language

From Hattrick
Revision as of 14:52, 21 September 2008 by Mod-Karlthegreat (talk | contribs) (not to a league...)

Some helper applications and sites offer the option to post some relavant data from the application or the site on the hattrick conferences in an orderly and nice looking way. To achieve this, the so called Hattrick Markup Language (HT-ML) is used to provide effects such as bolding, italic, underline, links, among others. The resulting text is ready to be copy-pasted into the post. Most applications and sites offer further information on how to use this properly.

This table shows the known markups and their usage. Note that the first four requires an ending tag as well.

Markup Syntax Result Notes
quote q I [q]quote[/q] you! I

quote


you!

Put what is inside the quotations in a separate block with italic text
bold b I make [b]this[/b] appear in bold. I make this appear in bold. Bold text.
italic i I make [i]this[/i] appear in italic. I make this appear in italic. Italic text.
underline u I make [u]this[/u] appear underlined. I make this appear underlined. Underlined text.
break br First line.[br]Second line. First line.

Second line.

Inserts a HTML newline. Note that no end tag is needed.
html ruler hr First line.[hr]Second line. First line.

Second line.

Inserts a HTML ruler. Note that no end tag is needed.
playerid [playerid=1098817] (1098817) Inserts a link directly to a player.
teamid [teamid=102541] (102541) Inserts a link directly to a team.
matchid [matchid=13151551] (13151551) Inserts a link directly to a match.
allianceid [allianceid=53] (53) Inserts a link directly to an alliance.
message [message=109345.1] (109345.1) Inserts a link directly to a conference message.
leagueid [leagueid=842] (842) Inserts a link directly to a specific series.
link (1) [link=/common/myHattrick.asp] (http://wwwXX.hattrick.org/common/myHattrick.asp) Inserts a link to some place within Hattrick.
link (2) [link=http://alltid.org/index.php] (http://www.alltid.org) Inserts a link to some place outside of Hattrick.