Template:Needs work/tok: Difference between revisions

From sona pona, the Toki Pona wiki
Content deleted Content added
Updating to match new version of source page
Updating to match new version of source page
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Issue|1=[[File:Under construction icon-orange.svg|14x14px|baseline|<span lang="en" dir="ltr" class="mw-content-ltr">Under construction</span>]] {{{2|lipu}}} ni li '''wile e pali'''{{#if:{{{1|}}}|<nowiki />:<blockquote style="border-color:#d33;">{{{1}}}</blockquote>|. <nowiki />}}sina sona e ijo pi lipu ni la, o pana e pali o <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} ante e lipu]</span>. ([[:Category:{{#ifeq:{{{2|}}}|section|Sections|Pages}} needing work|lipu ale pi wile pali]])}}<includeonly>[[Category:{{#ifeq:{{{2|}}}|section|Sections|Pages}} needing work]]</includeonly><noinclude>
{{Issue|background=#fbeadd|border=#b96300|1=[[File:Under construction icon-orange.svg|14x14px|baseline|<span lang="en" dir="ltr" class="mw-content-ltr">Under construction</span>]] {{#switch:{{NAMESPACE}}|#default=<span class="mw-translate-fuzzy">{{{2|lipu}}} ni li '''wile e pali'''</span>|User=<span lang="en" dir="ltr" class="mw-content-ltr">This {{{scope|{{{2|user page}}}}}} '''needs work'''. The owner plans on making changes later</span>}}{{#if:{{{1|}}}|<nowiki />:<blockquote style="border-color:#b96300;">{{{1}}}</blockquote>|. <nowiki />}}{{#switch:{{NAMESPACE}}|User=|#default=sina sona e ijo pi lipu ni la, o pana e pali o <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} ante e lipu]</span>.}} ([[:Category:{{#switch:{{NAMESPACE}}|User=User pages|#default={{#if:{{{scope|{{{2|}}}}}}|Sections|Articles}}}} needing work|lipu ale pi wile pali]])}}<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>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 10: Line 10:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
All pages with this template appear in [[:Category:Pages needing work]].
All articles with this template appear in [[:Category:Articles needing work]].
</div>
</div>


Line 18: Line 18:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
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>
</div>
</div>


Line 27: Line 27:
"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 38: Line 41:
"section"
"section"
],
],
"default": "page"
"default": "article"
}
}
},
},
Line 44: Line 47:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2"
"scope"
],
],
"format": "inline"
"format": "inline"

Latest revision as of 15:42, 26 March 2024

Under construction lipu ni li wile e pali. sina sona e ijo pi lipu ni la, o pana e pali o ante e lipu. (lipu ale pi wile pali)

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/tok|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/tok|Describe the issue here|section}} or {{Needs work/tok|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