Difference between revisions of "Template:Stub"

From Yugipedia
Jump to: navigation, search
(Undo revision 1348570 by 79.170.44.156 (talk) - changes the sense of the sentence)
(much simpler version that actually displays correctly)
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}}|discussion]] on the topic.
+
<td>''This article is a stub. You can help the ''Yu-Gi-Oh!'' Wikia by [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} expanding it].''</td></tr></table><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:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
</noinclude>
 
[[Category:Stubs|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]
 
[[Category:Stubs|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]

Revision as of 19:50, 18 February 2011

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

Usage

{{stub}}