Difference between revisions of "Template:Stub"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Re-made the stub with reasons display.)
 
(18 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
! [[File:Axe.png|center]]
 
! [[File:Axe.png|center]]
| <span class="header">Article Stub</span>
+
| <span class="header">{{#if:{{{section|}}}|Section|Article}} Stub</span>
{{#if: {{{1|}}}|'''This 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!]''}}
+
{{#if: {{{1|}}}|This {{#if:{{{section|}}}|section|article}} is marked as a stub for the following reason:
|}[[Category:Article stubs]]</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
*''{{{1}}}''|This {{#if:{{{section|}}}|section|article}} is a stub and is missing information. You can help {{SITENAME}} by  ''[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it!]''}}
 +
|}{{#ifeq:{{FULLPAGENAME}}|Template:Stub||{{#ifeq:{{FULLPAGENAME}}|Template:Stub/doc||[[Category:Article stubs]]}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 05:06, 15 February 2023

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:

Axe.png
Article Stub

This article is a stub and is missing information. You can help Stardew Valley Wiki by expanding it!

{{Stub|Needs pricing info for horses}}

Results in:

Axe.png
Article Stub

This article is marked as a stub for the following reason:

  • Needs pricing info for horses