Changes

Jump to navigation Jump to search
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]]
767

edits

Navigation menu