Note – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add timestamp support, Remove date/time parameters)
m (Some wiki formatting)
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: Y-m-d H:i|{{{timestamp}}}}} (UTC)|Date unknown}}</dd>
<dt><dt><dd class="notedate">{{#if:{{{timestamp|}}}|Posted on {{#time: M d, Y - H:i|{{{timestamp}}}}} (CEST)|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 36: Line 36:
}}</pre>
}}</pre>
|result4= {{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= tkoh}}
|result4= {{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= tkoh}}
|example5= <pre>{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= ofp|version= 1.00}}
|example5= <pre>{{Note|user= Lou Montana|timestamp= 20010622000000|text= Hello there!|game= ofp|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma0|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20110623000000|text= Hello there!|game= arma0|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma1|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20061110000000|text= Hello there!|game= arma1|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma2|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20090617000000|text= Hello there!|game= arma2|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma2oa|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20100729000000|text= Hello there!|game= arma2oa|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma3|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20130912000000|text= Hello there!|game= arma3|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= tkoh|version= 1.00}}</pre>
{{Note|user= Lou Montana|timestamp= 20111027000000|text= Hello there!|game= tkoh|version= 1.00}}</pre>
|result5=
|result5=
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= ofp|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20010622000000|text= Hello there!|game= ofp|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma0|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20110623000000|text= Hello there!|game= arma0|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma1|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20061110000000|text= Hello there!|game= arma1|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma2|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20090617000000|text= Hello there!|game= arma2|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma2oa|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20100729000000|text= Hello there!|game= arma2oa|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= arma3|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20130912000000|text= Hello there!|game= arma3|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20210826230000|text= Hello there!|game= tkoh|version= 1.00}}
{{Note|user= Lou Montana|timestamp= 20111027000000|text= Hello there!|game= tkoh|version= 1.00}}
}}</noinclude>
}}</noinclude>

Revision as of 22:28, 27 August 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 format {{CURRENTTIMESTAMP}}, yyyymmddhhiiss, e.g 20241125191309
  • 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)
Examples
Code Result
{{Note}}
Date unknown
Unknown author
-no text defined-
{{Note
|user= Lou Montana
|timestamp= 20210826230000
}}
Posted on Aug 26, 2021 - 23:00 (CEST)
Lou Montana
-no text defined-
{{Note
|user= Lou Montana
|timestamp= 20210826230000
|text= Hello there!
}}
Posted on Aug 26, 2021 - 23:00 (CEST)
Lou Montana
Hello there!
{{Note
|user= Lou Montana
|timestamp= 20210826230000
|text= Hello there!
|game= tkoh
}}
Posted on Aug 26, 2021 - 23:00 (CEST)
Lou Montana
Hello there!
{{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= 20100729000000|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}}
Posted on Jun 22, 2001 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Jun 23, 2011 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Nov 10, 2006 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Jun 17, 2009 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Jul 29, 2010 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Sep 12, 2013 - 00:00 (CEST)
Lou Montana
Hello there!
Posted on Oct 27, 2011 - 00:00 (CEST)
Lou Montana
Hello there!