Changes

Jump to navigation Jump to search
Created page with "<noinclude> ==Usage== The sentence will appear as following (if "article" is not specified, it will just print the word '''article'''): <blockquote>This ''"subject"'' ''"artic..."
<noinclude>
==Usage==
The sentence will appear as following (if "article" is not specified, it will just print the word '''article'''):
<blockquote>This ''"subject"'' ''"article"'' ''"qualifier"'' is lacking important information and/or too short.</blockquote>

Syntax for use:
<pre><nowiki>
{{Stub
|image=Icon image to show next to message, will be resized to 40x32px and defaults to "NordicLarpWiki.png"
|iamgealt=Alternate text for image, will default to "Stub image"
|article=Article type, will default to "article"
|subject=Subject, will default to an empty string
|qualifier=Qualifier, will default to an empty string
|category=Stub Category, will default to "Stub"
|category1=Second Stub Category, will default to none
|category2=Third Stub Category, will default to none
}}
</nowiki></pre>

Real world example:
<pre><nowiki>
{{Stub
|subject=[[:Category:Games|game]]
|qualifier=about a Swedish larp
|category=Game Stubs
}}
</nowiki></pre>
==Result==
[[Category:Templates]]
</noinclude>
<div class="topbox stub">[[File:{{{image|NordicLarpWiki.png}}}|40x32px|alt={{{imagealt|Stub icon}}}]]
''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is lacking important information and/or is too short. You can help '''Nordic Larp Wiki''' by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''
</div>
<includeonly>
<!--
*** Stub category ***
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]|[[Category:Stubs]]}}<!--

*** Optional second stub category ***
-->{{#if:{{{category1|}}}|[[Category:{{{category1}}}]]}}<!--

*** Optional third stub category ***
-->{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}<!--
-->}}<!--
</includeonly>

Navigation menu