×
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
m (trim)
Line 9: Line 9:
It is recommended to add some details on what information is needed using the first parameter.
It is recommended to add some details on what information is needed using the first parameter.


<div class="mw-collapsible mw-collapsed">
'''Usage with [[Template:Claim|Claim]]'''
<div class="mw-collapsible-content">
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>
==Parameters==
==Parameters==
<templatedata>{ "description": "","params": {
<templatedata>{"description": "","params": {
"1": {
"1": {
"label": "Details",
"label": "Details",
Line 21: Line 17:
"type": "content",
"type": "content",
"suggested": true
"suggested": true
},
"2": {
"label": "Username",
"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>
}}}</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>
<div style="margin:2rem 0; border:1px #A2C5AC solid; border-radius:10px; padding:.5rem; width:fit-content;" class="plainlinks">[[File:SHOVEL FLOWER.png|link=]]&numsp;This page is [[:Category:Needs Information|missing information]]. You can help YumeWiki by [{{fullurl:{{FULLPAGENAME}}/edit}} adding it].{{#if:Add so-and-so to the page, please!|<br>&emsp;&emsp;&numsp;'''''Add so-and-so to the page, please!'''''}}</div>


''Though in actuality the template was substituted to avoid placing the category.''
''Though in actuality the template was 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 06:38, 5 May 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 unfinished pages to be found easily.

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

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

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.