Note – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Change username location) |
Lou Montana (talk | contribs) m (Fix newline issue e.g {{Note|text= \ntest\ntest\ntest\ntest}}) |
||
Line 3: | Line 3: | ||
<dd class="notedate">{{#if:{{{timestamp|}}}|Posted on {{#time: M d, Y - H:i|{{{timestamp}}}}} (UTC)|Date unknown}}</dd> | <dd class="notedate">{{#if:{{{timestamp|}}}|Posted on {{#time: M d, Y - H:i|{{{timestamp}}}}} (UTC)|Date unknown}}</dd> | ||
<dt></dt> | <dt></dt> | ||
<dd class="note">{{#if:{{{game|}}}|<div | <dd class="note">{{#if:{{{game|}}}|<div class="float-right">{{GVI|{{{game}}}|{{{version|1.00}}}|size= 1}}</div>}} | ||
{{Trim|{{{text|-no text defined-}}}}} | |||
</dd> | |||
</dl></includeonly><noinclude>{{Doc/Template | </dl></includeonly><noinclude>{{Doc/Template | ||
|descr= Creates a user note. | |descr= Creates a user note. |
Revision as of 16:07, 24 May 2023
Creates a user note.
This template is used on these pages.
Usage
{{Note|user|timestamp|text|game|version}}
- user: author's username
- timestamp: comment timestamp in the format of {{CURRENTTIMESTAMP}} (i.e. YYYYMMDDHHmmss), e.g. 20241129112459
- text: comment's content
- game: (Optional) game (in id format, e.g. arma2) and (optional too) version (e.g. 1.00)
- version: (Optional) game version (e.g. 1.00)
Code | Result |
---|---|
{{Note}} |
|
{{Note |user= Lou Montana |timestamp= 20210826230000 }} |
|
{{Note |user= Lou Montana |timestamp= 20210826230000 |text= Hello there! }} |
|
{{Note |user= Lou Montana |timestamp= 20210826230000 |text= Hello there! |game= tkoh }} |
|
{{Note|user= Lou Montana|timestamp= 20010622000000|text= Hello there!|game= ofp|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20110623000000|text= Hello there!|game= arma0|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20061110000000|text= Hello there!|game= arma1|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20090617000000|text= Hello there!|game= arma2|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20100629000000|text= Hello there!|game= arma2oa|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20130912000000|text= Hello there!|game= arma3|version= 1.00}} {{Note|user= Lou Montana|timestamp= 20111027000000|text= Hello there!|game= tkoh|version= 1.00}} |
|