Difference between revisions of "Template:WIP box"

From SME Server
Jump to navigationJump to search
(Modify the text off the box and provide a link to the history of the page this template is on.)
(Improved text off the box (DRY) and reformatted page to be conform other Ibox related templates)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
===Usage===
+
===Example===</noinclude>
<pre>{{WIP box|Add your User ID here}}</pre>
 
 
 
Your User ID is optional. If given a link to your Talk page will appear in the box.
 
 
 
===Example===
 
</noinclude>
 
 
{{ibox
 
{{ibox
 
|img={{{img|Warning.png}}}
 
|img={{{img|Warning.png}}}
|msg={{{msg|{{#if: {{{1|}}}|[[User_talk:{{{1}}}|{{{1}}}]] has marked this page as a Work in Progress. The contents may be a complete mess.|This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page [{{fullurl:{{FULLPAGENAME}}|action=history}} history] the to see latest changes.}} }}}
+
|msg={{{msg|{{#if: {{{1|}}}|[[User_talk:{{{1}}}|{{{1}}}]] has marked this page as a Work in Progress. | This page is a Work in Progress.}} The contents off this page may be in flux, please have a look at this page [{{fullurl:{{FULLPAGENAME}}|action=history}} history] the to see latest changes. }}}
 
|type={{{type|Work in Progress:}}}
 
|type={{{type|Work in Progress:}}}
 
|color=#FFFFD9
 
|color=#FFFFD9
}}<includeonly>{{{nocat|[[Category:Work in progress]]}}}</includeonly>
+
}}<includeonly>{{{nocat|[[Category:Work in progress]]}}}</includeonly><noinclude>
 +
===Usage===
 +
<pre>{{WIP box}}</pre>
 +
will result in:
 +
{{WIP box}}
 +
or
 +
<pre>{{WIP box|Username}}</pre>
 +
which will result in:
 +
{{WIP box|Username}}
 +
</noinclude>

Revision as of 10:57, 14 February 2013

Example

Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see latest changes.


Usage

{{WIP box}}

will result in:

Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see latest changes.


or

{{WIP box|Username}}

which will result in:

Warning.png Work in Progress:
Username has marked this page as a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see latest changes.