Difference between revisions of "Hattrick Markup Language"

From Hattrick
(Current HT-ML code)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Some [[Helper Applications|helper applications]] and [[Helper Applications#Web Sites|sites]] offer the option to post some relavant data from the application or the site on the [[hattrick]] [[conference]]s 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.
+
{{Interwiki/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 [[Forum|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 [[Guestbook|guestbooks]] and [[Press announcement|press announcements]], which originally only [[Foxtrick]] or [[Firehat]] users could do.
  
<div style="overflow:auto;height:1px;">
+
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 2008|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
Excuse for my post but I do not have money to buy meal to my children. Forgive me please.
+
 
[http://www.webpage24.de/host/casino/free_online_casino_games.html free online casino games]
+
Since the beginning of May 2009, the HT-ML has to be strictly nested. This means that any tag cannot exceed the scope of its enclosing tag.<br>An example: ''&#91;i&#93;&#91;b&#93;Hello&#91;/b&#93;&#91;/i&#93;'' is correct syntax, while ''&#91;i&#93;&#91;b&#93;Hello&#91;/i&#93;&#91;/b&#93;'' is not.
[http://www.webpage24.de/host/casino/gambling_casino_online.html gambling casino online]
+
 
[http://www.webpage24.de/host/casino/gettysburg_casino.html gettysburg casino]
+
== Current HT-ML code ==
[http://www.webpage24.de/host/casino/golden_palace_online_casino.html golden palace online casino]
+
This table shows the known markups and their usage.
[http://www.webpage24.de/host/casino/hampton_beach_casino.html hampton beach casino]
+
{| border=1 cellspacing=0 cellpadding=2 style="border-collapse:collapse" width="80%"
[http://www.webpage24.de/host/casino/hard_rock_casino_online.html hard rock casino online]
+
|- bgcolor=#dddddd
[http://www.webpage24.de/host/casino/how_to_cheat_casino_in_poker.html how to cheat casino in poker]
+
! Code !! Syntax !! Result !! Notes !! Addition
[http://www.webpage24.de/host/casino/internet_casino.html internet casino]
+
|-
[http://www.webpage24.de/host/casino/internet_casino_gambling.html internet casino gambling]
+
| '''b''' || I make &#91;b&#93;this&#91;/b&#93; appear in bold. || I make '''this''' appear in bold. End tag is required. || Bold text || Available from the start.
[http://www.webpage24.de/host/casino/las_vegas_casino.html las vegas casino]
+
|-
[http://www.webpage24.de/host/casino/las_vegas_casino_employment.html las vegas casino employment]
+
| '''i''' || I make &#91;i&#93;this&#91;/i&#93; appear in italic. || I make ''this'' appear in italic. End tag is required. || Italic text || Available from the start.
[http://www.webpage24.de/host/casino/las_vegas_casino_free_coupon.html las vegas casino free coupon]
+
|-
[http://www.webpage24.de/host/casino/laughlin_casino.html laughlin casino]
+
| '''u''' || I make &#91;u&#93;this&#91;/u&#93; appear underlined. || I make <u>this</u> appear underlined. End tag is required. || Underlined text || Available from the start.
[http://www.webpage24.de/host/casino/mandalay_bay_hotel_vs_casino.html mandalay bay hotel vs casino]
+
|-
[http://www.webpage24.de/host/casino/michigan_casino_packages.html michigan casino packages]
+
| '''q''' or '''quote''' || I &#91;q&#93;quote&#91;/q&#93; you! || I
[http://www.webpage24.de/host/casino/mohegan_sun_casino.html mohegan sun casino]
+
----
[http://www.webpage24.de/host/casino/mystic_lake_casino.html mystic lake casino]
+
''quote''
[http://www.webpage24.de/host/casino/mystic_lake_casino_minnesota.html mystic lake casino minnesota]
+
----
[http://www.webpage24.de/host/casino/new_casino_table_games.html new casino table games]
+
you!
[http://www.webpage24.de/host/casino/new_york_new_york_casino.html new york new york casino]
+
| 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 &#91;q=alias&#93; or &#91;quote=alias&#93; will write the alias of the quoted user in the text box. End tag is required. || Available from the start, the possibility to add an argument was added with ''Forum v1.1'' in 2009.
[http://www.webpage24.de/host/casino/no_deposit_casino_codes.html no deposit casino codes]
+
|-
[http://www.webpage24.de/host/casino/online_casino.html online casino]
+
| '''br''' || First line.&#91;br&#93;Second line. || First line<br>Second line.
[http://www.webpage24.de/host/casino/online_casino_blackjack.html online casino blackjack]
+
| Takes the text to a new line. No end tag is needed. || Available from the start.
[http://www.webpage24.de/host/casino/online_casino_gambling.html online casino gambling]
+
|-
[http://www.webpage24.de/host/casino/online_casino_partycasino_review.html online casino partycasino review]
+
| '''hr''' || First line.&#91;hr&#93;Second line. || First line.
[http://www.webpage24.de/host/casino/online_casino_reviews.html online casino reviews]
+
----
[http://www.webpage24.de/host/casino/online_casino_roller.html online casino roller]
+
Second line.
[http://www.webpage24.de/host/casino/online_casino_sportsbook.html online casino sportsbook]
+
| Inserts a HTML ruler. No end tag is needed. || Available from the start, deleted for standard skin with the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/online_gambling_casino.html online gambling casino]
+
|-
[http://www.webpage24.de/host/casino/online_sports_casino.html online sports casino]
+
| '''userid''' || &#91;userid=1836&#93; || {{userid|1836}} || Inserts a direct link to a user. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/pala_casino.html pala casino]
+
|-
[http://www.webpage24.de/host/casino/peppermill_hotel_casino_reno.html peppermill hotel casino reno]
+
| '''playerid''' || &#91;playerid=182390841&#93; || {{playerid|182390841}} || Inserts a direct link to a player. || Available from the start.
[http://www.webpage24.de/host/casino/play_casino_games_for_free.html play casino games for free]
+
|-
[http://www.webpage24.de/host/casino/red_rock_casino.html red rock casino]
+
| '''youthplayerid''' || &#91;youthplayerid=31508440&#93; || (31508440) || Inserts a direct link to a youth player. || Available shortly after the addition of the [[Youth Academy]] in 2007.
[http://www.webpage24.de/host/casino/red_rock_casino_and_spa.html red rock casino and spa]
+
|-
[http://www.webpage24.de/host/casino/royal_oasis_golf_resort_and_casino.html royal oasis golf resort and casino]
+
| '''teamid''' || &#91;teamid=102541&#93; || {{teamid|102541}} || Inserts a direct link to a team. || Available from the start.
[http://www.webpage24.de/host/casino/san_manuel_casino.html san manuel casino]
+
|-
[http://www.webpage24.de/host/casino/sandia_casino.html sandia casino]
+
| '''youthteamid''' || &#91;youthteamid=518&#93; || (518) || Inserts a direct link to a youth team. || Available shortly after the addition of the [[Youth Academy]] in 2007.
[http://www.webpage24.de/host/casino/soaring_eagle_casino.html soaring eagle casino]
+
|-
[http://www.webpage24.de/host/casino/south_carolina_casino.html south carolina casino]
+
| '''matchid''' || &#91;matchid=13151551&#93; || {{matchid|13151551}} || Inserts a direct link to a match. || Available from the start.
[http://www.webpage24.de/host/casino/south_coast_casino.html south coast casino]
+
|-
[http://www.webpage24.de/host/casino/sterling_casino_ship.html sterling casino ship]
+
| '''youthmatchid''' || &#91;youthmatchid=316658&#93; || (316658) || Inserts a direct link to a youth match. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/turning_stone_casino.html turning stone casino]
+
|-
[http://www.webpage24.de/host/casino/uk_casino.html uk casino]
+
| '''leagueid''' || &#91;leagueid=1&#93; || {{leagueid|1}} || Inserts a direct link to a specific series, not to a league (country) || Available from the start.
[http://www.webpage24.de/host/casino/virtual_casino.html virtual casino]
+
|-
[http://www.webpage24.de/host/casino/ashinko_pokie_casino_game.html ashinko pokie casino game]
+
| '''youthleagueid''' || &#91;youthleagueid=108&#93; || (108) || Inserts a direct link to a specific youth league || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/best_casino.html best casino]
+
|-
[http://www.webpage24.de/host/casino/best_online_casino.html best online casino]
+
| '''federationid''' || &#91;federationid=81554&#93; || (81554) || Inserts a direct link to a federation. || Available from the start. Was changed from ''allianceid'' to ''federationid'' with the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/best_online_casino_gambling.html best online casino gambling]
+
|-
[http://www.webpage24.de/host/casino/big_m_casino.html big m casino]
+
| message || &#91;message=6072888.1&#93; || (6072888.1) || Inserts a direct link to a forum message. || Deprecated, see '''post''' below.
[http://www.webpage24.de/host/casino/boomtown_hotel_casino_reno.html boomtown hotel casino reno]
+
|-
[http://www.webpage24.de/host/casino/casino.html casino]
+
| '''link''' (1) || &#91;link=/Help/&#93; || (http://www.hattrick.org/Help/) || Inserts a link to some place within Hattrick, the part ''<nowiki>http://wwwXX.hattrick.org</nowiki>'' has to be cut off to make the link work. || Available from the start.
[http://www.webpage24.de/host/casino/casino_affiliate_program.html casino affiliate program]
+
|-
[http://www.webpage24.de/host/casino/casino_beltegoed.html casino beltegoed]
+
| '''link''' (2) || &#91;link=http&#58;//alltid.org/index.php&#93; || (http://www.alltid.org) || Inserts a link to some place outside of Hattrick. || Available from the start.
[http://www.webpage24.de/host/casino/casino_bonus.html casino bonus]
+
|-
[http://www.webpage24.de/host/casino/casino_bonuses.html casino bonuses]
+
| '''articleid''' || &#91;articleid=2792&#93; || (2792) || Inserts a link to a [[Hattrick Press]] article. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/casino_canandaigua_ny.html casino canandaigua ny]
+
|-
[http://www.webpage24.de/host/casino/casino_chips.html casino chips]
+
| '''table''' || &#91;table ''attribute=value''&#93;&#91;/table&#93; || n/a || Begins a formatted HTML table. {{ref|ref-1}} End tag is required. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/casino_cruise_ship_for_sale.html casino cruise ship for sale]
+
|-
[http://www.webpage24.de/host/casino/casino_directory.html casino directory]
+
| '''tr''' || &#91;tr&#93;&#91;/tr&#93; || n/a || Add a new table row. End tag is required. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/casino_free_cash.html casino free cash]
+
|-
[http://www.webpage24.de/host/casino/casino_fundraisers.html casino fundraisers]
+
| '''th''' || &#91;th ''attribute=value''&#93;&#91;/th&#93;{{ref|ref-2}}|| n/a || Add a new table heading cell. This is by default in bold text with gray background. End tag is required. || Added some time during 2009 in the Forum v1.2 project.
[http://www.webpage24.de/host/casino/casino_gambling.html casino gambling]
+
|-
[http://www.webpage24.de/host/casino/casino_games.html casino games]
+
| '''td''' || &#91;td ''attribute=value''&#93;&#91;/td&#93;{{ref|ref-3}}|| n/a || Add a new table cell. End tag is required. || Available after the [[Redesign 2008|redesign of 2008]].
[http://www.webpage24.de/host/casino/casino_in_benalmadena.html casino in benalmadena]
+
|-
[http://www.webpage24.de/host/casino/casino_internet_online_poker.html casino internet online poker]
+
| '''post''' || &#91;post=6072888.1&#93; || (6072888.1) || Inserts a direct link to a forum message. || Available from the start. Was changed from message to post with the Forum v1.2 project.
[http://www.webpage24.de/host/casino/casino_jobs.html casino jobs]
+
|-
[http://www.webpage24.de/host/casino/casino_nsw.html casino nsw]
+
| '''spoiler''' || &#91;spoiler&#93;hidden text&#91;/spoiler&#93; || n/a || Hides ''hidden text'' which the reader can see by clicking a button. End tag required. || Added some time during 2009 in the Forum v1.2 project.
[http://www.webpage24.de/host/casino/casino_on_net.html casino on net]
+
|}
[http://www.webpage24.de/host/casino/casino_online.html casino online]
+
 
[http://www.webpage24.de/host/casino/casino_online_games_to_play.html casino online games to play]
+
 
[http://www.webpage24.de/host/casino/casino_overzicht.html casino overzicht]
+
 
[http://www.webpage24.de/host/casino/casino_playing_cards.html casino playing cards]
+
1. {{note|ref-1}} Tables must be strictly nested. The minimum table is: &#91;table&#93;&#91;tr&#93;&#91;td&#93;Single cell&#91;/td&#93;&#91;/tr&#93;&#91;/table&#93;. Example of a 2 row, 3 column table:
[http://www.webpage24.de/host/casino/casino_poker_chips.html casino poker chips]
+
<br>&#91;table&#93;
[http://www.webpage24.de/host/casino/casino_rama.html casino rama]
+
<br>&#91;tr&#93;&#91;th&#93;H1&#91;/th&#93;&#91;th&#93;H2&#91;/th&#93;&#91;th&#93;H3&#91;/th&#93;&#91;/tr&#93;
[http://www.webpage24.de/host/casino/casino_roulette.html casino roulette]
+
<br>&#91;tr&#93;&#91;td&#93;A1&#91;/td&#93;&#91;td&#93;A2&#91;/td&#93;&#91;td&#93;A3&#91;/td&#93;&#91;/tr&#93;
[http://biggame.ho.com.ua/free_online_casino_games.html free online casino games]
+
<br>&#91;tr&#93;&#91;td&#93;B1&#91;/td&#93;&#91;td&#93;B2&#91;/td&#93;&#91;td&#93;B3&#91;/td&#93;&#91;/tr&#93;
[http://biggame.ho.com.ua/gambling_casino_online.html gambling casino online]
+
<br>&#91;/table&#93;
[http://biggame.ho.com.ua/gettysburg_casino.html gettysburg casino]
+
 
[http://biggame.ho.com.ua/golden_palace_online_casino.html golden palace online casino]
+
This will result in (note that Hattricks forum has another design for their tables):
[http://biggame.ho.com.ua/hampton_beach_casino.html hampton beach casino]
+
 
[http://biggame.ho.com.ua/hard_rock_casino_online.html hard rock casino online]
+
<table border="1" cell-spacing="0">
[http://biggame.ho.com.ua/how_to_cheat_casino_in_poker.html how to cheat casino in poker]
+
<tr><th>H1</th><th>H2</th><th>H3</th></tr>
[http://biggame.ho.com.ua/internet_casino.html internet casino]
+
<tr><td>A1</td><td>A2</td><td>A3</td></tr>
[http://biggame.ho.com.ua/internet_casino_gambling.html internet casino gambling]
+
<tr><td>B1</td><td>B2</td><td>B3</td></tr>
[http://biggame.ho.com.ua/las_vegas_casino.html las vegas casino]
+
</table>
[http://biggame.ho.com.ua/las_vegas_casino_employment.html las vegas casino employment]
+
 
[http://biggame.ho.com.ua/las_vegas_casino_free_coupon.html las vegas casino free coupon]
+
2. {{note|ref-2}} Valid attributes/values for TDs and THs are:
[http://biggame.ho.com.ua/laughlin_casino.html laughlin casino]
+
* colspan={1..N} - This particular td will span over N columns.
[http://biggame.ho.com.ua/mandalay_bay_hotel_vs_casino.html mandalay bay hotel vs casino]
+
* rowspan={1..N} - This particular td will span over N rows
[http://biggame.ho.com.ua/michigan_casino_packages.html michigan casino packages]
+
* align={left|right|center} - The textual alignment within the cell.
[http://biggame.ho.com.ua/mohegan_sun_casino.html mohegan sun casino]
+
* valign={top|bottom|middle} - The vertical alignment within the cell.
[http://biggame.ho.com.ua/mystic_lake_casino.html mystic lake casino]
+
 
[http://biggame.ho.com.ua/mystic_lake_casino_minnesota.html mystic lake casino minnesota]
+
3. {{note|ref-3}} See 2 above.
[http://biggame.ho.com.ua/new_casino_table_games.html new casino table games]
+
 
[http://biggame.ho.com.ua/new_york_new_york_casino.html new york new york casino]
+
== See also ==
[http://biggame.ho.com.ua/no_deposit_casino_codes.html no deposit casino codes]
+
=== External links ===
[http://biggame.ho.com.ua/online_casino.html online casino]
+
* [http://en.wikipedia.org/wiki/BBCode Wikipedia article on BBCode]
[http://biggame.ho.com.ua/online_casino_blackjack.html online casino blackjack]
+
 
[http://biggame.ho.com.ua/online_casino_gambling.html online casino gambling]
+
[[Category: Game Concepts]]
[http://biggame.ho.com.ua/online_casino_partycasino_review.html online casino partycasino review]
 
[http://biggame.ho.com.ua/online_casino_reviews.html online casino reviews]
 
[http://biggame.ho.com.ua/online_casino_roller.html online casino roller]
 
[http://biggame.ho.com.ua/online_casino_sportsbook.html online casino sportsbook]
 
[http://biggame.ho.com.ua/online_gambling_casino.html online gambling casino]
 
[http://biggame.ho.com.ua/online_sports_casino.html online sports casino]
 
[http://biggame.ho.com.ua/pala_casino.html pala casino]
 
[http://biggame.ho.com.ua/peppermill_hotel_casino_reno.html peppermill hotel casino reno]
 
[http://biggame.ho.com.ua/play_casino_games_for_free.html play casino games for free]
 
[http://biggame.ho.com.ua/red_rock_casino.html red rock casino]
 
[http://biggame.ho.com.ua/red_rock_casino_and_spa.html red rock casino and spa]
 
[http://biggame.ho.com.ua/royal_oasis_golf_resort_and_casino.html royal oasis golf resort and casino]
 
[http://biggame.ho.com.ua/san_manuel_casino.html san manuel casino]
 
[http://biggame.ho.com.ua/sandia_casino.html sandia casino]
 
[http://biggame.ho.com.ua/soaring_eagle_casino.html soaring eagle casino]
 
[http://biggame.ho.com.ua/south_carolina_casino.html south carolina casino]
 
[http://biggame.ho.com.ua/south_coast_casino.html south coast casino]
 
[http://biggame.ho.com.ua/sterling_casino_ship.html sterling casino ship]
 
[http://biggame.ho.com.ua/turning_stone_casino.html turning stone casino]
 
[http://biggame.ho.com.ua/uk_casino.html uk casino]
 
[http://biggame.ho.com.ua/virtual_casino.html virtual casino]
 
[http://biggame.ho.com.ua/ashinko_pokie_casino_game.html ashinko pokie casino game]
 
[http://biggame.ho.com.ua/best_casino.html best casino]
 
[http://biggame.ho.com.ua/best_online_casino.html best online casino]
 
[http://biggame.ho.com.ua/best_online_casino_gambling.html best online casino gambling]
 
[http://biggame.ho.com.ua/big_m_casino.html big m casino]
 
[http://biggame.ho.com.ua/boomtown_hotel_casino_reno.html boomtown hotel casino reno]
 
[http://biggame.ho.com.ua/casino.html casino]
 
[http://biggame.ho.com.ua/casino_affiliate_program.html casino affiliate program]
 
[http://biggame.ho.com.ua/casino_beltegoed.html casino beltegoed]
 
[http://biggame.ho.com.ua/casino_bonus.html casino bonus]
 
[http://biggame.ho.com.ua/casino_bonuses.html casino bonuses]
 
[http://biggame.ho.com.ua/casino_canandaigua_ny.html casino canandaigua ny]
 
[http://biggame.ho.com.ua/casino_chips.html casino chips]
 
[http://biggame.ho.com.ua/casino_cruise_ship_for_sale.html casino cruise ship for sale]
 
[http://biggame.ho.com.ua/casino_directory.html casino directory]
 
[http://biggame.ho.com.ua/casino_free_cash.html casino free cash]
 
[http://biggame.ho.com.ua/casino_fundraisers.html casino fundraisers]
 
[http://biggame.ho.com.ua/casino_gambling.html casino gambling]
 
[http://biggame.ho.com.ua/casino_games.html casino games]
 
[http://biggame.ho.com.ua/casino_in_benalmadena.html casino in benalmadena]
 
[http://biggame.ho.com.ua/casino_internet_online_poker.html casino internet online poker]
 
[http://biggame.ho.com.ua/casino_jobs.html casino jobs]
 
[http://biggame.ho.com.ua/casino_nsw.html casino nsw]
 
[http://biggame.ho.com.ua/casino_on_net.html casino on net]
 
[http://biggame.ho.com.ua/casino_online.html casino online]
 
[http://biggame.ho.com.ua/casino_online_games_to_play.html casino online games to play]
 
[http://biggame.ho.com.ua/casino_overzicht.html casino overzicht]
 
[http://biggame.ho.com.ua/casino_playing_cards.html casino playing cards]
 
[http://biggame.ho.com.ua/casino_poker_chips.html casino poker chips]
 
[http://biggame.ho.com.ua/casino_rama.html casino rama]
 
[http://biggame.ho.com.ua/casino_roulette.html casino roulette]
 
[http://biggame.ho.com.ua/casino_royale.html casino royale]
 
[http://biggame.ho.com.ua/casino_ship_for_sale.html casino ship for sale]
 
[http://biggame.ho.com.ua/casino_supplies.html casino supplies]
 
[http://biggame.ho.com.ua/casino_texas_holdem.html casino texas holdem]
 
[http://biggame.ho.com.ua/casino_traffic.html casino traffic]
 
[http://biggame.ho.com.ua/casino_uniforms.html casino uniforms]
 
[http://biggame.ho.com.ua/casino_vergelijker.html casino vergelijker]
 
[http://biggame.ho.com.ua/casino_vergelijking.html casino vergelijking]
 
[http://biggame.ho.com.ua/casino_web_site.html casino web site]
 
[http://biggame.ho.com.ua/computer_casino_games.html computer casino games]
 
[http://biggame.ho.com.ua/fast_fredies_casino.html fast fredies casino]
 
[http://biggame.ho.com.ua/foxwoods_casino.html foxwoods casino]
 
[http://biggame.ho.com.ua/foxwoods_casino_bus_tours_ma.html foxwoods casino bus tours ma]
 
[http://biggame.ho.com.ua/free_casino.html free casino]
 
[http://biggame.ho.com.ua/free_casino_bonuses.html free casino bonuses]
 
[http://biggame.ho.com.ua/free_casino_game.html free casino game]
 
[http://biggame.ho.com.ua/free_casino_games.html free casino games]
 
[http://biggame.ho.com.ua/free_casino_money_doenload_game.html free casino money doenload game]
 
[http://biggame.ho.com.ua/free_casino_online.html free casino online]
 
[http://biggame.ho.com.ua/free_casino_website_template.html free casino website template]
 
[http://biggame.ho.com.ua/free_fun_casino_slots.html free fun casino slots]
 
[http://biggame.ho.com.ua/free_money_at_casino_poker.html free money at casino poker]
 
[http://biggame.ho.com.ua/free_online_casino.html free online casino]
 
[http://biggame.ho.com.ua/free_online_casino_game.html free online casino game]
 
</div>
 

Latest revision as of 12:32, 11 January 2010

INTERWIKI

· English · Español · Magyar ·

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

Since the beginning of May 2009, the HT-ML has to be strictly nested. This means that any tag cannot exceed the scope of its enclosing tag.
An example: [i][b]Hello[/b][/i] is correct syntax, while [i][b]Hello[/i][/b] is not.

Current HT-ML code[edit]

This table shows the known markups and their usage.

Code Syntax Result Notes Addition
b I make [b]this[/b] appear in bold. I make this appear in bold. End tag is required. Bold text Available from the start.
i I make [i]this[/i] appear in italic. I make this appear in italic. End tag is required. Italic text Available from the start.
u I make [u]this[/u] appear underlined. I make this appear underlined. End tag is required. Underlined text Available from the start.
q or quote I [q]quote[/q] you! I

quote


you!

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. End tag is required. Available from the start, the possibility to add an argument was added with Forum v1.1 in 2009.
br First line.[br]Second line. First line
Second line.
Takes the text to a new line. No end tag is needed. Available from the start.
hr First line.[hr]Second line. First line.

Second 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] (1836) Inserts a direct link to a user. Available after the redesign of 2008.
playerid [playerid=182390841] (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] (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] (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. Deprecated, see post below.
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.
table [table attribute=value][/table] n/a Begins a formatted HTML table. [1] End tag is required. Available after the redesign of 2008.
tr [tr][/tr] n/a Add a new table row. End tag is required. Available after the redesign of 2008.
th [th attribute=value][/th][2] n/a Add a new table heading cell. This is by default in bold text with gray background. End tag is required. Added some time during 2009 in the Forum v1.2 project.
td [td attribute=value][/td][3] n/a Add a new table cell. End tag is required. Available after the redesign of 2008.
post [post=6072888.1] (6072888.1) Inserts a direct link to a forum message. Available from the start. Was changed from message to post with the Forum v1.2 project.
spoiler [spoiler]hidden text[/spoiler] n/a Hides hidden text which the reader can see by clicking a button. End tag required. Added some time during 2009 in the Forum v1.2 project.


1. ^  Tables must be strictly nested. The minimum table is: [table][tr][td]Single cell[/td][/tr][/table]. Example of a 2 row, 3 column table:
[table]
[tr][th]H1[/th][th]H2[/th][th]H3[/th][/tr]
[tr][td]A1[/td][td]A2[/td][td]A3[/td][/tr]
[tr][td]B1[/td][td]B2[/td][td]B3[/td][/tr]
[/table]

This will result in (note that Hattricks forum has another design for their tables):

H1H2H3
A1A2A3
B1B2B3

2. ^  Valid attributes/values for TDs and THs are:

  • colspan={1..N} - This particular td will span over N columns.
  • rowspan={1..N} - This particular td will span over N rows
  • align={left|right|center} - The textual alignment within the cell.
  • valign={top|bottom|middle} - The vertical alignment within the cell.

3. ^  See 2 above.

See also[edit]

External links[edit]