Template:Forum message: Difference between revisions

From Hattrick
Jump to navigationJump to search
No edit summary
Para Para (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="margin: 2em 0;">
<noinclude>{{documentation}}[[Category:Forum templates|Forum message]]</noinclude>
Keywords: '''{{{keywords}}}'''
{| width="{{{width|90%}}}" style="background-color: #738C73; border-collapse: collapse; font-size:92%; border:2px solid #738C73; padding: 0 1em 1em 1em;"
{| border="0" style="width: 90%; border-collapse: collapse; border: 1px solid #C8D8C8; background-color: #EAFFEF; color:#FFFFFF"
|+ {{#if:{{{keywords|}}}|Keywords: '''{{{keywords}}}'''|'''Forum message'''}}
| align="left" style="padding: 0.1em 0.5em; color:#FFFFFF" | 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" style="padding: 0.1em 0.5em; color:#FFFFFF" | '''{{{msgid}}}''' as reply to {{{prevmsgid}}}
| align="right" style="padding: 0.1em 0.5em; color:white" | '''{{messageid|{{{msgid}}}}}''' as reply to {{messageid|{{{prevmsgid}}}}}
|-
|-
| align="left" style="padding: 0.1em 0.5em; color:#FFFFFF" | To: '''{{{to}}}'''
| colspan="3" style="padding: 0.1em 0.5em; color:white" | {{#if:{{{to|}}}| To: '''{{{to}}}'''|}}
| align="right" style="padding: 0.1em 0.5em; color:#FFFFFF" | '''{{{datetime}}}'''
| align="right" style="padding: 0.1em 0.5em; color:white" | {{{datetime}}}
|-
| colspan="2" style="padding: 0.5em 0.5em; background-color: white; border-top: 1px solid #C8D8C8;" | {{{text}}}
|-
|-
| colspan="4" style="padding: 0.5em 0.5em; background-color: #f9f9f9; border-top: 1px solid #C8D8C8;" | {{{text|''Insert text''}}}
|}
|}
</div>
<noinclude>[[Category:Templates]]</noinclude>

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