Template:Construction: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
m fix cat
Sylphoid (talk | contribs)
add docs
 
Line 5: Line 5:
  | notice = This page is under construction. To avoid [[Wikipedia:Edit conflict|edit conflicts]], please consult the <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} edit history]</span> and the [[{{TALKPAGENAME}}|talk page]].
  | notice = This page is under construction. To avoid [[Wikipedia:Edit conflict|edit conflicts]], please consult the <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} edit history]</span> and the [[{{TALKPAGENAME}}|talk page]].
  | notes = {{{1|}}}
  | notes = {{{1|}}}
}}<includeonly>[[Category:Pages under construction]]</includeonly><noinclude>
}}<includeonly>[[Category:Pages under construction]]</includeonly><noinclude>{{Documentation}}</noinclude>
==Description==
This template should be used in pages that are actively undergoing an edit and should be put at the top of the page. Do not use the template if you're not going to actively edit the page and remove it once the edit is done.
 
==Usage==
Directly using <code><nowiki>{{Construction}}</nowiki></code> at the top of the page is going to display the [[Template:Message box|message box]] below:
{{Message box
| bgcolor = #f8f7f5
| bdcolor = #e1d2b3
| image = Consume Black.png
| notice = This page is under construction. To avoid [[Wikipedia:Edit conflict|edit conflicts]], please <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} edit history]</span> and the [[{{TALKPAGENAME}}|talk page]].
| notes = {{{1|}}}
}}
 
Using the optional parameter will add a note to the message box:
 
Code:
<nowiki>{{Construction|This is a note.}}</nowiki>
Result:
{{Message box
| bgcolor = #f8f7f5
| bdcolor = #e1d2b3
| image = Consume Black.png
| notice = This page is under construction. To avoid [[Wikipedia:Edit conflict|edit conflicts]], please <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} edit history]</span> and the [[{{TALKPAGENAME}}|talk page]].
| notes = This is a note.
}}
 
[[Category:Message box templates]]</noinclude>

Latest revision as of 23:21, 7 November 2024

This page is under construction. To avoid edit conflicts, please consult the edit history and the talk page.
Template documentation [view] [edit] [history] [purge]

Description[edit source]

This message box template should be used in pages that are actively undergoing an edit and should be put at the top of the page. Do not use the template if you are not going to actively edit the page and remove it once the edit is done.

Usage[edit source]

Directly using {{Construction}} at the top of the page is going to display the message box below:

This page is under construction. To avoid edit conflicts, please edit history and the talk page.

Using the optional parameter will add a note to the message box:

Code:

{{Construction|This is a note.}}

Result:

This page is under construction. To avoid edit conflicts, please edit history and the talk page.
Notes: This is a note.