Difference between revisions of "Template:Stub"

From Stardew Valley Wiki
Jump to navigation Jump to search
(add parameter for section)
Line 6: Line 6:
 
{{#if: {{{1|}}}|This {{#if:{{{section|}}}|section|article}} is marked as a stub for the following reason:
 
{{#if: {{{1|}}}|This {{#if:{{{section|}}}|section|article}} is marked as a stub for the following reason:
 
*''{{{1}}}''|This article is a stub and is missing information. You can help {{SITENAME}} by  ''[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it!]''}}
 
*''{{{1}}}''|This article is a stub and is missing information. You can help {{SITENAME}} by  ''[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it!]''}}
|}[[Category:Article stubs]]</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
|}{{#ifeq:{{FULLPAGENAME}}|Template:Stub||[[Category:Article stubs]]}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 19:36, 16 December 2018

Description

This template is used to mark a page as a stub. This template automatically adds Category:Article stubs to the page.

Use

This template can be used by entering the following onto a relevant page.

{{Stub|''reason''}}

reason

This parameter accepts the reason the article is a stub. It is completely optional.

Samples

{{Stub}}

Results in:

{{Stub|Needs pricing info for horses}}

Results in: