Difference between revisions of "Template:Draft"

From Nottinghack Wiki
Jump to navigation Jump to search
(show template - separate documentation - add date)
(highlight talkpage)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{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}}''' {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
+
| text  = This page is a '''draft''' and is probably being actively worked on. Feel free to contribute, {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|or make suggestions on the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]].}} However, be aware that details are subject to change. ''<small>(This page was last edited '''{{#time: j F Y @ H:i "GMT" | {{REVISIONTIMESTAMP}} + 0 hours}}''''')</small>
}}
+
}}<!--
 +
 
 +
--><includeonly>[[Category:Drafts]]</includeonly><!--
  
<includeonly>[[Category:Drafts]]</includeonly><!--
 
 
--><noinclude>
 
--><noinclude>
 
==Documentation==
 
==Documentation==
Line 13: Line 14:
 
</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|draft page category]].
 
[[Category:Page Action Templates]]
 
[[Category:Page Action Templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 17:19, 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 draft page category.