Preload/Note – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Note dupe fix?)
Line 4: Line 4:
<dd class="notedate">Posted on {{subst:CURRENTMONTHNAME}} {{subst:CURRENTDAY}}, {{subst:CURRENTYEAR}} - {{subst:CURRENTTIME}} (UTC)</dd>
<dd class="notedate">Posted on {{subst:CURRENTMONTHNAME}} {{subst:CURRENTDAY}}, {{subst:CURRENTYEAR}} - {{subst:CURRENTTIME}} (UTC)</dd>
<dt class="note">[[User:{{subst:REVISIONUSER}}|{{subst:REVISIONUSER}}]]</dt>
<dt class="note">[[User:{{subst:REVISIONUSER}}|{{subst:REVISIONUSER}}]]</dt>
<dd class="note">{{#if:{{{1|}}}|{{{1}}}|-no text provided-}}</dd>
<dd class="note">{{{1|-no text provided-}}}</dd>
</dl></includeonly><noinclude>{{Doc/Template
</dl></includeonly><noinclude>{{Doc/Template
|descr= Used by the <tt>'''Add Note'''</tt> button - '''not''' to be used directly (use <tt>{{<nowiki/>subst:Preload/Note|-your note text here-}}</tt>)
|descr= Used by the <tt>'''Add Note'''</tt> button - '''not''' to be used directly (use <tt>{{<nowiki/>subst:Preload/Note|-your note text here-}}</tt>)

Revision as of 20:13, 1 May 2021

Used by the Add Note button - not to be used directly (use {{subst:Preload/Note|-your note text here-}})

This template is used on these pages.

Usage

{{Preload/Note|noteText}}

  • noteText: user note text
Examples
Code Result
{{Preload/Note}}
Posted on January 01, 2001 - 00:00 (UTC)
User
-no text provided-
{{Preload/Note|Hello There!}}
Posted on May 15, 2005 - 57:12 (UTC)
General Kenobi
Hello there!