Difference between revisions of "Template:WIP box"

From SME Server
Jump to navigationJump to search
(Automatically add a category Category:Work in progress to pages including this template.)
 
(4 intermediate revisions by 2 users not shown)
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 may be a complete mess.}} }}}
+
|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 list of 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}}
 +
== Data ==
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "User responsible of this page",
 +
"example": "Username",
 +
"suggested": true
 +
}
 +
        }
 +
 
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 10:58, 21 February 2019

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 list of 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 list of 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 list of changes.


Data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

User responsible of this page

Example
Username
Unknownsuggested