Template:Forum message: Difference between revisions

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