Difference between revisions of "Template:Wip"

From Paradise Station Wiki
Jump to navigation Jump to search
(converts this template into using the new {{Header}} template)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;">
<includeonly>{{Header
<div style="background: #DBBA27; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>'''This article or section is a Work in Progress.<br>'''Assigned to:''' [[User:{{{assign|None}}}|{{{assign|None}}}]]</center></div>
|PrimaryColor = #DBBA27
<div style="padding: 1em; background: #DBBA274e"><center>Please discuss changes with assigned users. If no one is assigned, or if the user is inactive, [{{fullurl:{{FULLPAGENAME}}|action=edit}} feel free to edit].</center></div></div><includeonly>[[Category:Work in Progress]]</includeonly><noinclude>
|SecondaryColor = #DBBA274e
==Usage==
|HeaderContent = '''This article or section is a Work in Progress. <br>Assigned to:'''[[User:{{{assign|None}}}|{{{assign|None}}}]]
|Image = Sloth_construction.png
|SubContent = Please discuss changes with assigned users. If no one is assigned, or if the user is inactive, [{{fullurl:{{FULLPAGENAME}}|action=edit}} feel free to edit].
|Category1 = Work in Progress
|NoCategory = {{{NoCategory|}}}
}}</includeonly><noinclude>
Adding this template adds the page to the following category: [[:Category:Work in Progress]]
Adding this template adds the page to the following category: [[:Category:Work in Progress]]


Line 8: Line 13:


{| style="background-color:#EEEEEE"
{| style="background-color:#EEEEEE"
| <code><nowiki>{{wip</nowiki><br><nowiki>|assign = ExampleUser}}</nowiki></code>
| <code><nowiki>{{wip|assign = ExampleUser}}</nowiki></code>
|}
|}


This will give the following result:
This will give the following result:


{{wip
{{wip|assign = ExampleUser|NoCategory=True}}
|assign = ExampleUser}}


[[Category:Templates]]
[[Category:Maintenance Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:19, 16 May 2022

Adding this template adds the page to the following category: Category:Work in Progress

To add the template to a page simply write:

{{wip|assign = ExampleUser}}

This will give the following result:

Sloth construction.png
Sloth construction.png
This article or section is a Work in Progress.
Assigned to:
ExampleUser
Please discuss changes with assigned users. If no one is assigned, or if the user is inactive, feel free to edit.