Template:Forum message: Difference between revisions

From Hattrick
Jump to navigationJump to search
Duno7 (talk | contribs)
created the template
 
Para Para (talk | contribs)
mNo edit summary
 
(35 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| border="0" cellpadding="0" cellspacing="0" width="100%"
<noinclude>{{documentation}}[[Category:Forum templates|Forum message]]</noinclude>
|
{| width="{{{width|90%}}}" style="background-color: #738C73; border-collapse: collapse; font-size:92%; border:2px solid #738C73; padding: 0 1em 1em 1em;"
{| border="0" width="100%" style="background-color:#ffbf9f;"
|+ {{#if:{{{keywords|}}}|Keywords: '''{{{keywords}}}'''|'''Forum message'''}}
| align="left" | By: '''{{{from}}}'''
| border="0" width="24px" style="padding: 0.1em 0.5em; color:white" | From: || style="background-color: white; border-radius:9px;" | '''{{{from}}}''' ||
| align="right" | ''{{{msgid}}} as reply to {{{prevmsgid}}}''
| align="right" style="padding: 0.1em 0.5em; color:white" | '''{{messageid|{{{msgid}}}}}''' as reply to {{messageid|{{{prevmsgid}}}}}
|-
|-
| align="left" | To: '''{{{to}}}'''
| colspan="3" style="padding: 0.1em 0.5em; color:white" | {{#if:{{{to|}}}| To: '''{{{to}}}'''|}}
| align="right" | {{{datehour}}}
| align="right" style="padding: 0.1em 0.5em; color:white" | {{{datetime}}}
|}
|-
| colspan="4" style="padding: 0.5em 0.5em; background-color: #f9f9f9; border-top: 1px solid #C8D8C8;" | {{{text|''Insert text''}}}
|}
|}

Latest revision as of 18:42, 28 August 2020

[edit] Template documentation

This template can be used to quote forum messages

Usage:

{{Forum message
|keywords=
|from=
|to=
|msgid=
|prevmsgid=
|datetime=
|text=
}}
Forum message
From: {{{from}}} ({{{msgid}}}) as reply to ({{{prevmsgid}}})
{{{datetime}}}
Insert text