Preload/Note – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix newline) |
Lou Montana (talk | contribs) m (Fix missing dt for W3C validation, add examples) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | |||
<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">{{{1}}}</dd> | <dd class="note">{{#if:{{{1|}}}|{{{1}}}|-no text provided-}}</dd> | ||
</dl></includeonly><noinclude>{{Doc/Template | </dl></includeonly><noinclude>{{Doc/Template | ||
|descr= Used by <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>) | ||
|param1= noteText | |param1= noteText | ||
|descr1= user note text | |descr1= user note text | ||
|example1= <nowiki>{{Preload/Note}}</nowiki> | |||
|result1= <dl class="command_description"> | |||
<dd class="notedate">Posted on January 01, 2001 - 00:00 (UTC)</dd> | |||
<dt class="note"><span title="User:User" style="color: blue">User</span></dt> | |||
<dd class="note">-no text provided-</dd> | |||
</dl> | |||
|example2= <nowiki>{{Preload/Note|Hello There!}}</nowiki> | |||
|result2= <dl class="command_description"> | |||
<dd class="notedate">Posted on May 15, 2005 - 57:12 (UTC)</dd> | |||
<dt class="note"><span title="User:General Kenobi" style="color: blue">General Kenobi</span></dt> | |||
<dd class="note">Hello there!</dd> | |||
</dl> | |||
}}</noinclude> | }}</noinclude> |
Revision as of 01:12, 2 March 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
Code | Result |
---|---|
{{Preload/Note}} |
|
{{Preload/Note|Hello There!}} |
|