Template

Inuse: Difference between revisions

From Joomla! Documentation

CirTap (talk | contribs)
mNo edit summary
CirTap (talk | contribs)
mNo edit summary
Line 2: Line 2:
| type  = notice
| type  = notice
| image = notice
| image = notice
| text  = '''This {{#switch:{{NAMESPACE}}
| text  = '''This {{thingamabob}} is actively undergoing a [[Project:Edit lock|major edit]] for {{{1|a short while}}}.'''<br/><small>As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} page history]. This message is intended to help reduce [[Help:Edit conflict|edit conflicts]]; '''please remove it between editing sessions''' to [[Project:Ownership of articles|allow others]] to edit the page.
|=article
If this page has not been edited {{#if: {{{1|}}}|within the given timeframe or date|for several hours}}, please remove this template, or replace it with {{[[Template:Underconstruction|underconstruction]]}}.</small>
|Talk=[[Help:Talk page|talk page]]
<includeonly>{{#ifeq:{{{category}}}|no||[[Category:{{thingamabob}}s actively undergoing a major edit|{{PAGENAME}}]]}}</includeonly>
|Category=[[:Category|category page]]
|Help=[[Help:Contents|help page]]
|Portal=[[:Portal|portal page]]
|Template=[[:Template messages|template page]]
|User=[[:User page|user page]]
|User talk=[[:User page|user talk page]]
|Wikipedia=[[:Project namespace|project page]]
|Wikipedia talk=[[:Project namespace|project talk page]]
}} is actively undergoing a [[:Edit lock|major edit]] for {{{1|a short while}}}.'''<br/><span style="font-size: 88%">As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} page history]. If this page has not been edited for several hours, please remove this template, or replace it with {{[[Template:Underconstruction|underconstruction]]}}. This message is intended to help reduce [[Help:Edit conflict|edit conflicts]]; please remove it between editing sessions to [[JDOC:Ownership of articles|allow others]] to edit the page.</span>
<includeonly>{{#ifeq:{{{category}}}|no||[[Category:Articles actively undergoing a major edit|{{PAGENAME}}]]}}</includeonly>
}}
}}
<noinclude>{{documentation}} {{wikipedia template}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 13:40, 11 May 2008

[view] [edit] [history]

Template documentation

Adds the depicted message box to prevent edit conflicts.

The template should not be misused to "lock" drafts from being edited by others. New pages that are known to need editing for a long time are better created first as a user subpage, and if useable or ready for {{review}}, copied to the designated page.

Usage

  • {{inuse}} for the default template
  • {{inuse|end of April}} to include a timeframe
  • {{inuse|category=no}} to ommit the category

Parameters

Parameter Parameter description req./opt.
{{{1}}} to replace "… a short while" in the caption with an estimate how long the page is "in use" required

Notes

The page type of the category name is based on the result of Template:Thingamabob (edit|talk|history|links|watch|logs)



Inuse is based on: Wikipedia:Inuse (edit|talk|history|links|watch|logs)