Note – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}") |
(Fixed note timestamp being shown as CEST instead of UTC) |
||
Line 1: | Line 1: | ||
<includeonly><dl class="command_description{{#if:{{{game|}}}|<nowiki/> usernote_{{{game}}}}}"> | <includeonly><dl class="command_description{{#if:{{{game|}}}|<nowiki/> usernote_{{{game}}}}}"> | ||
<dt><dt><dd class="notedate">{{#if:{{{timestamp|}}}|Posted on {{#time: M d, Y - H:i|{{{timestamp}}}}} ( | <dt><dt><dd class="notedate">{{#if:{{{timestamp|}}}|Posted on {{#time: M d, Y - H:i|{{{timestamp}}}}} (UTC)|Date unknown}}</dd> | ||
<dt class="note">{{#if:{{{user|}}}|{{User|{{{user}}}}}|Unknown author}}</dt> | <dt class="note">{{#if:{{{user|}}}|{{User|{{{user}}}}}|Unknown author}}</dt> | ||
<dd class="note">{{#if:{{{game|}}}|<div style="float: right; margin: 0 0 0.5em 1.5em">{{GVI|{{{game}}}|{{{version|1.00}}}|size= 1}}</div>}}{{{text|-no text defined-}}}</dd> | <dd class="note">{{#if:{{{game|}}}|<div style="float: right; margin: 0 0 0.5em 1.5em">{{GVI|{{{game}}}|{{{version|1.00}}}|size= 1}}</div>}}{{{text|-no text defined-}}}</dd> | ||
Line 8: | Line 8: | ||
|descr1= author's username | |descr1= author's username | ||
|param2= timestamp | |param2= timestamp | ||
|descr2= comment timestamp in format {{hl|{{<nowiki/>CURRENTTIMESTAMP}}}} | |descr2= comment timestamp in the format of {{hl|{{<nowiki/>CURRENTTIMESTAMP}}}} (i.e. YYYYMMDDHHmmss), e.g. {{CURRENTTIMESTAMP}} | ||
|param3= text | |param3= text | ||
|descr3= comment's content | |descr3= comment's content | ||
|param4= game | |param4= game | ||
|descr4= (Optional) game (in [[Template:Name|id format]], e.g {{hl|arma2}}) and (optional too) version (e.g {{hl|1.00}}) | |descr4= (Optional) game (in [[Template:Name|id format]], e.g. {{hl|arma2}}) and (optional too) version (e.g. {{hl|1.00}}) | ||
|param5= version | |param5= version | ||
|descr5= (Optional) game version (e.g {{hl|1.00}}) | |descr5= (Optional) game version (e.g. {{hl|1.00}}) | ||
|example1= <pre>{{Note}}</pre> | |example1= <pre>{{Note}}</pre> |
Revision as of 11:53, 4 December 2021
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. 20241123003012
- 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}} |
|