Template:Incomplete/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
{{incomplete|nocat=yes}}
{{incomplete|nocat=yes}}


To replace ''page'' with something else (such as ''section'' or ''list''), use <code>&#123;{incomplete|''text''}}</code>
To replace ''page'' with something else (such as ''section'' or ''list''), use <code>&#123;{incomplete|''text''}}</code>.
 
No page is ever truly complete. This template should only be used if the page is very short or missing crucial information.


=== Template data ===
=== Template data ===
Line 14: Line 16:
"example": "section, list",
"example": "section, list",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"default": "page"
},
},
"nocat": {
"nocat": {
Line 21: Line 24:
}
}
},
},
"description": "Adds a hatnote containing \"This page is incomplete, you can help by expanding it!\""
"description": "Adds a hatnote containing \"This page is incomplete, you can help by expanding it!\" and adds the page to the Incomplete category. Because no page is ever truly complete, this template should only be used if the page is very short or missing crucial information."
}
}
</templatedata>
</templatedata>

Latest revision as of 09:08, 20 July 2023

Usage: {{incomplete}} which outputs:

To replace page with something else (such as section or list), use {{incomplete|text}}.

No page is ever truly complete. This template should only be used if the page is very short or missing crucial information.

Template data[edit source]

Adds a hatnote containing "This page is incomplete, you can help by expanding it!" and adds the page to the Incomplete category. Because no page is ever truly complete, this template should only be used if the page is very short or missing crucial information.

Template parameters

ParameterDescriptionTypeStatus
This ___ is incomplete1

Text to replace "page" with

Default
page
Example
section, list
Stringsuggested
nocatnocat

If set to "yes", then the page is excluded from the Incomplete category. This should not be used in most circumstances.

Stringoptional