Template:Needs work: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
No edit summary
mNo edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="background:#fee7e6;border:1px dashed #d33;color:#000;margin-bottom:16px;padding:12px 24px;">[[File:Under construction icon-orange.svg|14x14px|baseline|Under construction:]] This {{{2|page}}} needs work{{#if:{{{1|}}}|, namely: {{{1}}}}}. If you know about this topic, you can help us by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} editing it]</span>. ([[:Category:Pages needing work|See all]])</div><includeonly>[[Category:Pages needing work]]</includeonly><noinclude>
{{Issue|background=#fbeadd|border=#b96300|1=[[File:Under construction icon-orange.svg|14x14px|baseline|<translate><!--T:1--> Under construction</translate>]] {{#switch:{{NAMESPACE}}|#default=<translate><!--T:2--> This {{{scope|{{{2|article}}}}}} '''needs work'''</translate>|User=<translate><!--T:10--> This {{{scope|{{{2|user page}}}}}} '''needs work'''. The owner plans on making changes later</translate>}}{{#if:{{{1|}}}|<nowiki />:<blockquote style="border-color:#b96300;">{{{1}}}</blockquote>|. <nowiki />}}{{#switch:{{NAMESPACE}}|User=|#default=<translate><!--T:3--> If you know about this topic, you can help us by <span class="plainlinks">[<tvar name=ante>{{fullurl:{{FULLPAGENAME}}|action=edit}}</tvar> editing it]</span>.</translate>}} ([[:Category:{{#switch:{{NAMESPACE}}|User=User pages|#default={{#if:{{{scope|{{{2|}}}}}}|Sections|Articles}}}} needing work|<translate><!--T:4--> See all</translate>]])}}<includeonly>{{#switch:{{NAMESPACE}}|#default={{#if:{{{scope|{{{2|}}}}}}|[[Category:Sections needing work]]|[[Category:Articles needing work]]{{#if:{{{1|}}}||[[Category:Articles needing reasons to need work]]}}}}|User=[[Category:User pages needing work]]}}</includeonly><noinclude>


<translate>
==Documentation==
==Documentation== <!--T:5-->

<!--T:6-->
This template notes work that must be done to improve an article (thus making it ineligible for [[Project:lipu pona|{{tp|lipu pona}}]] designation). Remove the template when the issue has been resolved.
This template notes work that must be done to improve an article (thus making it ineligible for [[Project:lipu pona|{{tp|lipu pona}}]] designation). Remove the template when the issue has been resolved.


<!--T:7-->
All pages with this template appear in [[:Category:Pages needing work]].
All articles with this template appear in [[:Category:Articles needing work]].


<!--T:8-->
It is recommended to describe the specific issue in parameter 1: <code><nowiki>{{</nowiki>{{PAGENAME}}|''Describe the issue here''<nowiki>}}</nowiki></code>
It is recommended to describe the specific issue in parameter 1: <code><nowiki>{{</nowiki>{{PAGENAME}}|''Describe the issue here''<nowiki>}}</nowiki></code>


<!--T:9-->
Parameter 2 allows you to describe the scope of the issue. The template should also be placed at the start of this scope. For example, if it only applies to a section: <code><nowiki>{{</nowiki>{{PAGENAME}}|section<nowiki>}}</nowiki></code>
Parameter 2 allows you to describe the scope of the issue. The template should also be placed at the start of this scope. For example, if it only applies to a section: <code><nowiki>{{</nowiki>{{PAGENAME}}|''Describe the issue here''|section<nowiki>}}</nowiki></code> or <code><nowiki>{{</nowiki>{{PAGENAME}}|scope=section<nowiki>}}</nowiki></code>
</translate>


===TemplateData===
===Template data===
<templatedata>
<templatedata>
{
{
Line 16: Line 23:
"1": {
"1": {
"label": "Work needed",
"label": "Work needed",
"description": "What do you think this page lacks?",
"description": "What do you think this article lacks?",
"example": "history of the word, sitelen pona etymology",
"example": "history of the word, sitelen pona etymology",
"type": "string"
"type": "string"
},
},
"2": {
"scope": {
"aliases": [
"2"
],
"label": "Scope",
"label": "Scope",
"description": "Fills in the \"This ___ needs work\" string.",
"description": "Fills in the \"This ___ needs work\" string.",
Line 27: Line 37:
"section"
"section"
],
],
"default": "page"
"default": "article"
}
}
},
},
Line 33: Line 43:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2"
"scope"
],
],
"format": "inline"
"format": "inline"

Latest revision as of 15:24, 26 March 2024

Under construction This article needs work. If you know about this topic, you can help us by editing it. (See all)

Documentation[edit source]

This template notes work that must be done to improve an article (thus making it ineligible for lipu pona designation). Remove the template when the issue has been resolved.

All articles with this template appear in Category:Articles needing work.

It is recommended to describe the specific issue in parameter 1: {{Needs work|Describe the issue here}}

Parameter 2 allows you to describe the scope of the issue. The template should also be placed at the start of this scope. For example, if it only applies to a section: {{Needs work|Describe the issue here|section}} or {{Needs work|scope=section}}

Template data[edit source]

Message that notes issues with an article

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Work needed1

What do you think this article lacks?

Example
history of the word, sitelen pona etymology
Stringoptional
Scopescope 2

Fills in the "This ___ needs work" string.

Suggested values
section
Default
article
Stringoptional