Template talk:Forum message

From Hattrick
Revision as of 16:16, 27 November 2005 by Catalyst2950 (talk | contribs)


Parameter explanation

  | from      = nickname of the poster
  | to        = nickname of the destinator
  | msgid     = full id of the message (xxxxx.y)
  | prevmsgid = full id of the previous message (zzzzz.a)
  | datetime  = date and time of the post

Please check HT's on Global/How to win for an example.

Empty syntax

  | from      = 
  | to        = 
  | msgid     = 
  | prevmsgid = 
  | datetime  = 

Features in Testing stage

Be careful: this feature is not fully tested. Another parameter can be used currently on this template:

  | text     = the post text itself

However, some issues have to be test when using the post text as a parameter, you might need to modify the text so no special wiki characters are on it. If anyone can test it and (even better) solve it, it would be nice.


  • This template is to be used when quoting a message from the Hattrick forums.


Whoa, that's one ugly colour! ;) I suggest a mild pastel colour, either green or blue. What do you think? --Catalyst2950 14:16, 27 November 2005 (UTC)

it was my first attemp at picking a red-ish colour, but i was thinking of green too. Please make some changes to it until it looks nice! --duno7 14:20, 27 November 2005 (UTC)

I wouldn't go for red. It draws too much attention. Perhaps a slightly orangeish color? I'll go test now. --Catalyst2950 14:25, 27 November 2005 (UTC)

It would be great if the template could be modified to accept the message text somehow... Hmm... And I suggest a parameter that accepts some keywords, like "match engine" or "attendance". --Catalyst2950 14:41, 27 November 2005 (UTC)

I'm not sure if light orange is the correct colour anymore... How about light green, like on the main page, since it's the Hattrick team's forum posts? Or a milder approach using neutral light gray? Ugh :( Template:Disambig could be orangeish (in fact, I'll go change it right now)... What do you guys think? --Catalyst2950 14:52, 27 November 2005 (UTC)

Yes, perhaps it would make more sense if we redefine the "wiki system messages" as red-coloured, and use the green for this and similar Templates (and probably a lot of tables around the pages). Good work, it looks much nicer now! --duno7 14:59, 27 November 2005 (UTC)

Green it is, then, and the disambig page is orangeish. --Catalyst2950 15:03, 27 November 2005 (UTC)

Slightly tweaked the CSS and limited the width for easier reading. Feel free to remove the width CSS property for the table if you don't think it's necessary. --Catalyst2950 15:14, 27 November 2005 (UTC)

BTW: what's the datetime format? mm-dd-yyyy or dd-mm-yyyy? --Catalyst2950 15:16, 27 November 2005 (UTC)