Difference between revisions of "Template:WIP box"

From SME Server
Jump to navigation Jump to search
(Improved text off the box (DRY) and reformatted page to be conform other Ibox related templates)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{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. | 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 list of changes. }}}
 
|type={{{type|Work in Progress:}}}
 
|type={{{type|Work in Progress:}}}
 
|color=#FFFFD9
 
|color=#FFFFD9
Line 15: Line 15:
 
which will result in:
 
which will result in:
 
{{WIP box|Username}}
 
{{WIP box|Username}}
 +
== Data ==
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "User responsible of this page",
 +
"example": "Username",
 +
"suggested": true
 +
}
 +
        }
 +
 +
}
 +
</templatedata>
 
</noinclude>
 
</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