Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (Working on template "Work in progress" putting in original code)
m (Coding and testing)
Line 1: Line 1:
;Description
+
; Description
:This template is marks pages that are currently being worked on to avoid edit conflicts, etc. It also provides a convenient link to the talk/discussion section of the currently viewed page.
+
: This template marks pages that are currently being worked on to avoid edit conflicts, etc. <!-- It also provides a convenient link to the talk/discussion section of the currently viewed page. -->
 +
: Generally, it should be removed once the page is not actively being worked on. It should be removed from pages that have been tagged as works in progress for a long time since there is no work in progress on the page. This tag might discourage others from improving the page.
 +
: For cleanup issues, use a {{T|Cleanup}} template instead, with an edit summary indicating what needs cleanup.
  
:Generally, it should be removed once the page is not actively being worked on. It should be removed from pages that have been tagged as works in progress for a long time since there is no work in progress on the page. This tag might discourage others from improving the page.
+
; Dependencies
 +
: Uses:
 +
:: {{T|Banner}}
  
:For cleanup issues, use a {{t|Cleanup}} template instead, with an edit summary indicating what needs cleanup.
+
;Syntax
 +
: {{T|Work in progress|description}}</code>
 +
:: description (optional) - A description of the work being done. Can include a link to a draft page.
 +
 
 +
; Sample output<!--
 +
 
 +
Use code instead of  actual template because that would put the template and doc page in the Work in process category
 +
 
 +
-->
 +
: <code><nowiki>{{Work in progress}}</nowiki></code>
 +
:: gives...
 +
{{Banner|color= #2B3856|border= orange
 +
|'''This page is a work in progress.''' {{#if: {{{1|}}}|<br>Notes: ''{{{1}}}''}}
  
;Syntax
+
This article or section '''is in the process of an expansion or major restructuring'''. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
:Add <code>{{t|Work in progress}}</code> to the top of the page you are working on.
+
}}
;Sample output
+
 
:<code><nowiki>{{Work in progress}}</nowiki></code>
+
: <code><nowiki>{{Work in progress|Reformatting tables}}</nowiki></code>
::gives...
+
:: gives...
{{Work in progress}}
+
{{Banner|color= #2B3856|border= orange
 +
|'''This page is a work in progress.'''<br>Notes: ''Reformatting tables''
  
;Optional descriptor
+
This article or section '''is in the process of an expansion or major restructuring'''. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
:Type <code>{{t|Work in progress|Example reason given}}</code> at the top of the page.
+
}}
:<code><nowiki>{{Work in progress|Reformatting tables}}</nowiki></code>
 
::gives...
 
{{Work in progress|Reformatting tables}}
 
  
;See also:<!-- delete if N/A -->
+
; See also:
 
:* [[Template:Cleanup]]
 
:* [[Template:Cleanup]]
  
<includeonly>[[Category:Maintenance templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Maintenance templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 11:56, 25 October 2021

Description
This template marks pages that are currently being worked on to avoid edit conflicts, etc.
Generally, it should be removed once the page is not actively being worked on. It should be removed from pages that have been tagged as works in progress for a long time since there is no work in progress on the page. This tag might discourage others from improving the page.
For cleanup issues, use a {{Cleanup}} template instead, with an edit summary indicating what needs cleanup.
Dependencies
Uses:
{{Banner}}
Syntax
{{Work in progress|<description>}}
description (optional) - A description of the work being done. Can include a link to a draft page.
Sample output
{{Work in progress}}
gives...
This page is a work in progress.

This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.


{{Work in progress|Reformatting tables}}
gives...
This page is a work in progress.
Notes: Reformatting tables

This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.


See also