ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:EdNote"

From ModEnc
Jump to: navigation, search
(Creating, let's see if hack works)
 
m (un-f-believable...)
 
Line 1: Line 1:
<onlyinclude><div class="ednote">
+
<div class="ednote">
  <div class="edtext">{{{1|Note text goes here}}}</div>
+
<div class="edhead">{{{header|Note header goes here}}}</div>
  <div class="edsig">~~<noinclude></noinclude>~~</div>
+
  <div class="edtext">{{{text|{{{1|Note text goes here}}}}}}</div>
</div></onlyinclude>
+
  <div class="edsig"> {{{sig|~<includeonly>~</includeonly>~~}}} </div>
 
+
</div>
 +
<noinclude>
 
Creates a 'note' for editors. Use for quick editor communication/notification.
 
Creates a 'note' for editors. Use for quick editor communication/notification.
  
 
== Usage ==
 
== Usage ==
  
<pre>{{EdNote|Don't touch the [[Cerberus]] page for now.}}</pre>
+
Note: either use the {{Tt|sig}} argument to add a manual signature, or {{Tt|subst}} the template.
 +
 
 +
<pre>{{subst:EdNote|text=Don't touch the [[Cerberus]] page for now.}}
 +
 
 +
{{EdNote|header=Don't touch|text=Don't touch the [[Cerberus]] page for now.|sig=~~~~}}</pre>
  
 
Yields:
 
Yields:
  
{{EdNote|Don't touch the [[Cerberus]] page for now.}}
+
(This example looks wrong, it's a wiki issue, ignore it.)
 +
<div class="ednote">
 +
<div class="edtext">Don't touch the [[Cerberus]] page for now.</div>
 +
<div class="edsig"> [[User:DCoder|DCoder]] 16:46, 8 June 2008 (UTC) </div>
 +
</div>
 +
 
 +
{{EdNote|Don't touch the [[Cerberus]] page for now.|sig=[[User:DCoder|DCoder]] 16:46, 8 June 2008 (UTC)}}
 +
 
 +
</noinclude>

Latest revision as of 18:56, 8 June 2008

Note header goes here
Note text goes here
~~~

Creates a 'note' for editors. Use for quick editor communication/notification.

Usage

Note: either use the sig argument to add a manual signature, or subst the template.

{{subst:EdNote|text=Don't touch the [[Cerberus]] page for now.}} 

{{EdNote|header=Don't touch|text=Don't touch the [[Cerberus]] page for now.|sig=~~~~}}

Yields:

(This example looks wrong, it's a wiki issue, ignore it.)

Don't touch the Cerberus page for now.
DCoder 16:46, 8 June 2008 (UTC)
Note header goes here
Don't touch the Cerberus page for now.
DCoder 16:46, 8 June 2008 (UTC)