Difference between revisions of "Template:Stub"

From Yugipedia
Jump to: navigation, search
(add a word)
(Yugipedia, tweak category)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{TagSyncPage}}
+
<table class="metadata plainlinks stub" style="background: transparent;"><tr>
</noinclude>{| class="box {{#switch:{{Stub/location}}|top|head|headnote=headnote|footnote}}"
+
{{#if:{{{image|}}}
|-
+
|<td>[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]</td>
{{#ifexist:Image:Stub.svg|{{!}}[[Image:Stub.svg|{{#ifexist:Template:Stub/size|{{Stub/size}}|48px}}|Stub|link=]]|{{#ifexist:Image:Stub.png|{{!}}[[Image:Stub.png|{{#ifexist:Template:Stub/size|{{Stub/size}}|48px}}|Stub|link=]]| }}}}
+
}}
|| This article is a stub. You can help the [[Project:About|{{ACGNetwork|{{MediaWiki:Siteid}}|name}}]] by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>, or perhaps you could contribute to [[{{TALKPAGENAME}}|a discussion]] on the topic.
+
<td>''This article is a stub. You can help Yugipedia by [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} expanding it].''</td></tr></table><includeonly>[[Category:Stubs]]</includeonly><noinclude>
|}<noinclude>{{Tlx|stub}} is used at the bottom of small pages which need much more content.
 
  
==[[{{ACGNetwork|anime|interwiki}}Project:Control Codes|Control Codes]]==
+
{{Tlx|stub}} is used at the bottom of small pages which need more content.
* '''location''': Setting this to top, head, or headnote will make the stub used the headnote class instead of the footnote class.
 
* '''size''': Set this to a size parameter which would be accepted inside of an <nowiki>[[Image:]]</nowiki> embed. Defaults to 48px.
 
  
 
==Usage==
 
==Usage==
 
  {{Tlx|stub}}
 
  {{Tlx|stub}}
  
{{TagSync|include: *|exclude: bleach}}
+
[[Category:Message box templates]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
</noinclude>
[[Category:Stubs|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]
 

Revision as of 08:22, 7 December 2017

{{stub}} is used at the bottom of small pages which need more content.

Usage

{{stub}}