×
Create a new article
Write your page title here:
We currently have 3,033 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,033Articles

Template:MissingInfo/doc: Difference between revisions

mNo edit summary
(specify format)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
==Description==
<!--Short summary of what the main function of the template is-->
Places a box that warns of missing/wanted information on the page.
Places a box that warns of missing/wanted information on the page.
==Syntax==
==Syntax==
Type <code>{{t|MissingInfo}}</code> at the start or end of an article.<br>
Type <code>{{t|MissingInfo}}</code> at the start or end of an article.
 
To specify details, type <code>{{t|MissingInfo|details}}</code>, where <code><details></code> is to be replaced with the details of what information must be added.
To specify details, type <code>{{t|MissingInfo|details}}</code>, where <code><details></code> is to be replaced with the details of what information must be added.
==Usage==
==Usage==
<!--How to use. Attempt to answer:
Use this template on pages that aren't short or unfinished enough to be [[Template:Stub|stubs]], but are missing some needed or wanted information. This automatically places the article in [[:Category:Needs Information]], allowing these pages to be found easily.
- What does it present to the reader?
 
- Why would an editor choose to use it?
It is recommended to add some details on what information is needed using the first parameter.
- What is the recommended use?
 
- What does the template require in order to function?
- What can the template NOT do? (limitations)
- What are some potential issues that should be kept in mind? (troubleshooting)
It may be helpful to give examples in this section instead of waiting until "Sample".-->
Use this template on pages that aren't short or unfinished enough to be [[Template:Stub|stubs]], but are missing some needed or wanted information. This automatically places the article in [[:Category:Needs Information]], allowing these unfinished pages to be found easily.<br>
It is recommended to add some details on what information is needed using the first parameter.<br>
If you substitute this template ''AND'' add your username as a second parameter, it will automatically place [[Template:Claim]] using your username (and with the default time of 1 hour). This is rather unideal since it leaves all the template code on the page, but it can be useful when you want to add the missing information yourself within the hour. You can place this template and save the page before beginning your actual edit, then delete all text related to this template after finishing your edit. <span class="spoiler">You could just use the claim template alone...</span>
==Parameters==
==Parameters==
<templatedata>{ "description": "","params": {
<templatedata>{
"description": "Mark a page as missing some important information.",
"format": "\n{{_|_=_}}\n",
"params": {
"1": {
"1": {
"label": "Details",
"label": "Details",
"description": "Additional details on what info the page is missing. Can be instructions on what to do in the future.",
"description": "Additional details on what info the page is missing. Can be instructions on what to write.",
"example": "Add images to this article.",
"example": "Add event details.",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
},
}
"2": {
}
"label": "Username",
}</templatedata>
"description": "If you wish to place a claim of 1 hour, specify your username here. Only works if you substitute the template.",
"example": "Masada",
"type": "line"
}}}</templatedata>
==Sample==
==Sample==
<!--You can use this structure:
The following input:
<pre>{{Example|param=value|pa..}}<∕pre>
Produces:
{{Example|param=value|pa..}}
Here, copy the exact template call from the preformatted section and use that. If the template is heavy when loading you may want to copy the expected output instead, however this has risk of becoming outdated and should be avoided.
DO NOT COPY THAT <∕pre> YOU SEE IN THIS EXAMPLE, IT WILL NOT WORK
You may want to format the example across multiple lines like in Template:Locationbox/doc-->
The following input:
The following input:
<pre>{{MissingInfo|abc}}</pre>
 
<pre>{{MissingInfo|Add so-and-so to the page, please!}}</pre>
 
Produces:
Produces:
<div style="border: 1px #A2C5AC solid; padding: 0.5em; -webkit-border-radius:10px;">[[File:SHOVEL FLOWER.png|50px]]&nbsp;&nbsp;This page is missing information and is in need of editing or expansion. You can help {{SITENAME}} by inserting the needed information via [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} editing].{{#if:abc|<br><span style="padding-left: 5%; font-weight: bold;">''To do: abc''</span>|}}</div>
{{#if:|{{#if:
||


<!--This is where a "claim" template is. If it's gone or not needed, delete it. If you want to update or replace it, do {{subst:claim|YourUsername}}.-->
{{CustomNotice
{{#ifeq:{{#expr:1>24}}|1|ERROR: Cannot claim for more than 1 day|{{#if:
|border_color = #303030
|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{2}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} <
|image = Notice_MissingInfo.png
20230708075455}}|1|<div style="border: 1px #967255 solid; padding: 0.5em; -webkit-border-radius:10px;">[[File:MoaiStatue(badgeYN).png|50px]]&nbsp;&nbsp;Planned to be edited by [[User:{{{2}}}]] until
|imagewidth = 48
07:54 UTC. Editing now could cause an [[wikipedia:Help:Edit_conflict|edit conflict]]. If you still wish to edit, it's best to [[User talk:{{{2}}}|speak with them]] first. ''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=purge}} Refresh]''</div>|}}|ERROR: Did not specify a user}}}}}}
|description = This page is [[:Category:Needs Information|missing information]]. You can help {{SITENAME}} by [https://yume.wiki/{{FULLPAGENAMEE}}/edit expanding it].
<!--Code from the "claim" template ends here. Remember to delete these comments if the template is deleted or re-used!-->
|details = '''Details:''' <i>Add so-and-so to the page, please!</i>
}}|}}
}}


''Though in actuality the template was substituted to avoid placing the category.''


<br>''Though in actuality the template is being substituted to avoid placing the category.''
<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude>
<noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude>
<includeonly>__NOEDITSECTION__
<includeonly>__NOEDITSECTION__</includeonly>
[[Category:Article management templates]]
[[Category:Notice templates]]
</includeonly>

Latest revision as of 22:28, 29 August 2024

Description

Places a box that warns of missing/wanted information on the page.

Syntax

Type {{MissingInfo}} at the start or end of an article.

To specify details, type {{MissingInfo|<details>}}, where <details> is to be replaced with the details of what information must be added.

Usage

Use this template on pages that aren't short or unfinished enough to be stubs, but are missing some needed or wanted information. This automatically places the article in Category:Needs Information, allowing these pages to be found easily.

It is recommended to add some details on what information is needed using the first parameter.

Parameters

Mark a page as missing some important information.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Details1

Additional details on what info the page is missing. Can be instructions on what to write.

Example
Add event details.
Contentsuggested

Sample

The following input:

{{MissingInfo|Add so-and-so to the page, please!}}

Produces:

Though in actuality the template was substituted to avoid placing the category.