Preload/Note – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Upgrade attempt)
(Change date collection format)
Line 1: Line 1:
<includeonly>{{Note
<includeonly>{{Note
|user= {{subst:REVISIONUSER}}
|user= {{subst:REVISIONUSER}}
|date= {{subst:CURRENTMONTHNAME}} {{subst:CURRENTDAY}}, {{subst:CURRENTYEAR}}
|timestamp= {{subst:CURRENTTIMESTAMP}}
|time= {{subst:CURRENTTIME}}
|text= {{{1|}}}
|text= {{{1|}}}
}}</includeonly><noinclude>{{Doc/Template
}}</includeonly><noinclude>{{Doc/Template
Line 11: Line 10:
|result1= {{Note
|result1= {{Note
|user= Current User
|user= Current User
|date= January 01, 2001
|timestamp= 20010101000000
|time= 00:00
}}
}}
|example2= <nowiki>{{Preload/Note|Hello There!}}</nowiki>
|example2= <nowiki>{{Preload/Note|Hello There!}}</nowiki>
|result2= {{Note
|result2= {{Note
|user= Current User
|user= Current User
|date= January 01, 2001
|timestamp= 20010101000000
|time= 00:00
|text= Hello There!
|text= Hello There!
}}
}}
}}</noinclude>
}}</noinclude>

Revision as of 23:10, 27 August 2021

Used by the Add Note button - not to be used directly (use the {{Note}} template)

This template is used on these pages.

Usage

{{Preload/Note|noteText}}

  • noteText: user note text
Examples
Code Result
{{Preload/Note}}
Current User - c
Posted on Jan 01, 2001 - 00:00 (UTC)
-no text defined-
{{Preload/Note|Hello There!}}
Current User - c
Posted on Jan 01, 2001 - 00:00 (UTC)
Hello There!