Difference between revisions of "Template:Qualified-stub"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Reduced image size)
(Added usage instructions, caused template to remove {{{subject}}}-related when no subject is supplied)
Line 1: Line 1:
 +
This template is a meta-template, used to produce other stub templates. To use, simply copy the code shown below:
 +
 +
<nowiki>
 +
{{qualified-stub
 +
| image link = 
 +
| subject =
 +
}}
 +
</nowiki>
 +
 +
An example of proper usage (from [[Template:Balloon-stub]]) is shown below:
 +
 +
<nowiki>
 +
{{qualified-stub
 +
| image link = File:balloonIcon.png
 +
| subject = balloons
 +
}}
 +
</nowiki>
 +
 
<onlyinclude>
 
<onlyinclude>
{{#if:{{{image link|}}} | [[{{{image link}}} {{pipe}} 25px]]}}''This {{{subject}}}-related article is a [//en.wikipedia.org/wiki/Wikipedia:Stub stub]. You can help SSI by expanding it.''
+
{{#if:{{{image link|}}} | [[{{{image link}}} {{pipe}} 25px]]}}''This {{#if:{{{subject|}}} | {{{subject}}}-related }}article is a [//en.wikipedia.org/wiki/Wikipedia:Stub stub]. You can help SSI by expanding it.''
 
</onlyinclude>
 
</onlyinclude>
 
[[Category: Templates]]
 
[[Category: Templates]]

Revision as of 22:06, 29 December 2015

This template is a meta-template, used to produce other stub templates. To use, simply copy the code shown below:

{{qualified-stub 
| image link =  
| subject = 
}}

An example of proper usage (from Template:Balloon-stub) is shown below:

{{qualified-stub 
| image link = File:balloonIcon.png
| subject = balloons
}}


This article is a stub. You can help SSI by expanding it.