Template:Charstub: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Rosicrucian (talk | contribs) Try at a subcat stub. |
Attempting to add "what's missing" functionality without breaking something |
||
| (18 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{messagebox | <noinclude> | ||
|header= | __NOTOC__ | ||
|message_text=''This character article is a [[:Category:Character | ==Description== | ||
|image_name= | Use this template to mark a character article as a [[:Category:Character stubs|stub]]. Place the template at the bottom of the article. The article will then be automatically added to the character stub category. If the article isn't about a character, do not use this stub template. | ||
| | |||
As well, there are several subcategories of the character stub category: | |||
*If the article is only missing information on [[:Category:Character stubs missing fiction|fictional appearances]], use the [[Template:Charstubfiction|<nowiki>{{charstubfiction}}</nowiki>]] template. | |||
*If the article is only missing information on [[:Category:Character stubs missing toys|toys and merchandise]], use the [[Template:Charstubtoys|<nowiki>{{charstubtoys}}</nowiki>]] template. | |||
==Usage== | |||
===Parameters=== | |||
This template does not have parameters. | |||
===Code=== | |||
<pre> | |||
{{Charstub}} | |||
</pre> | |||
==Examples== | |||
===Code=== | |||
<pre> | |||
{{charstub}} | |||
</pre> | |||
===Result=== | |||
{{charstub|nocategory=true}} | |||
[[Category:Character article templates|Charstub]] | |||
[[Category:Stub templates|Charstub]] | |||
</noinclude> | |||
<includeonly> | |||
<br clear="all" />{{messagebox | |||
|header=I cannot remain in this unacceptable operational status! | |||
|message_text=''This character article is a [[:Category:Character stubs|stub]] and is missing information. You can help '''{{SITENAME}}''' by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it].'' | |||
|image_name=AniMegsHeadStub.jpg | |||
|mouseover=You will be whole again. I promise. | |||
|width = 90% | |width = 90% | ||
}} | |image_width=75px | ||
|bottomtext={{#if: {{{1|}}}|'''What's needed:''' {{{1|}}} |}} | |||
|categories=[[Category:Character stubs]] | |||
}} | |||
</includeonly> | |||
Latest revision as of 15:39, 30 June 2022
Description
[edit]Use this template to mark a character article as a stub. Place the template at the bottom of the article. The article will then be automatically added to the character stub category. If the article isn't about a character, do not use this stub template.
As well, there are several subcategories of the character stub category:
- If the article is only missing information on fictional appearances, use the {{charstubfiction}} template.
- If the article is only missing information on toys and merchandise, use the {{charstubtoys}} template.
Usage
[edit]Parameters
[edit]This template does not have parameters.
Code
[edit]{{Charstub}}
Examples
[edit]Code
[edit]{{charstub}}
Result
[edit]


