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



YumeWiki
3,035Articles

Template:MissingInfo/doc: Difference between revisions

mNo edit summary
mNo edit summary
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==
Line 6: Line 5:
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 unfinished 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?
<div class="mw-collapsible mw-collapsed">
- What can the template NOT do? (limitations)
'''Usage with [[Template:Claim|Claim]]'''
- What are some potential issues that should be kept in mind? (troubleshooting)
<div class="mw-collapsible-content">
It may be helpful to give examples in this section instead of waiting until "Sample".-->
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></div></div>
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": "","params": {
Line 46: Line 42:
<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>
<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:
''Though in actuality the template was substituted to avoid placing the category.''
||
 
<!--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}}.-->
{{#ifeq:{{#expr:1>24}}|1|ERROR: Cannot claim for more than 1 day|{{#if:
|ERROR: must [https://www.mediawiki.org/wiki/Help:Substitution substitute] the template|{{#if:{{{2}}}|{{#ifeq:{{#expr: {{CURRENTTIMESTAMP}} <
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
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}}}}}}
<!--Code from the "claim" template ends here. Remember to delete these comments if the template is deleted or re-used!-->
}}|}}
<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>
<includeonly>__NOEDITSECTION__</includeonly>

Revision as of 18:41, 17 July 2023

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 unfinished pages to be found easily.

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

Usage with Claim

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. You could just use the claim template alone...

Parameters

Template parameters

ParameterDescriptionTypeStatus
Details1

Additional details on what info the page is missing. Can be instructions on what to do in the future.

Example
Add images to this article.
Contentsuggested
Username2

If you wish to place a claim of 1 hour, specify your username here. Only works if you substitute the template.

Example
Masada
Lineoptional

Sample

The following input:

{{MissingInfo|abc}}

Produces:

SHOVEL FLOWER.png  This page is missing information and is in need of editing or expansion. You can help YumeWiki by inserting the needed information via editing.
To do: abc

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