Difference between revisions of "Template:Draft"

From Nottinghack Wiki
Jump to navigation Jump to search
(show template - separate documentation - add date)
Line 1: Line 1:
<includeonly>{{Ambox
+
{{Ambox
 
| type  = notice
 
| type  = notice
| text  = This page is a '''draft''' and is probably being actively worked on. Feel free to contribute, but be aware that details are subject to change.<br />This page was last edited '''{{#time: j F Y @ H:i "GMT" | {{REVISIONTIMESTAMP}} + 4 hours}}'''
+
| text  = This page is a '''draft''' and is probably being actively worked on. Feel free to contribute, but be aware that details are subject to change.<br />This page was last edited '''{{#time: j F Y @ H:i "GMT" | {{REVISIONTIMESTAMP}} + 4 hours}}''' {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}</includeonly>
+
}}
 
 
<includeonly>[[Category:Drafts]]</includeonly><noinclude>[[Category:Page Action Templates]]
 
  
 +
<includeonly>[[Category:Drafts]]</includeonly><!--
 +
--><noinclude>
 +
==Documentation==
 
To indicate that a page is a draft, add this wiki-text near the top of the page:
 
To indicate that a page is a draft, add this wiki-text near the top of the page:
  
 
<pre>
 
<pre>
{{draft}}
+
{{draft|date=December 2018}}
 
</pre>
 
</pre>
  
 
Then the page will be automatically added to the [[:Category:Drafts|list of draft pages]].
 
Then the page will be automatically added to the [[:Category:Drafts|list of draft pages]].
 +
[[Category:Page Action Templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 17:12, 18 December 2018


Documentation

To indicate that a page is a draft, add this wiki-text near the top of the page:

{{draft|date=December 2018}}

Then the page will be automatically added to the list of draft pages.