Difference between revisions of "Template:Stub"
Jump to navigation
Jump to search
en>CambridgeBayWeather m (Changed protection level of Template:Stub: Allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(Removed stub image) |
||
Line 1: | Line 1: | ||
− | + | <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> | |
− | | article | + | |
− | | | + | Syntax for use: |
− | | | + | <pre><nowiki> |
− | | | + | {{Stub |
− | | | + | |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 topbox--stub">''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> |
Revision as of 21:27, 28 December 2018
Usage
The sentence will appear as following (if "article" is not specified, it will just print the word article):
This "subject" "article" "qualifier" is lacking important information and/or too short.
Syntax for use:
{{Stub |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 }}
Real world example:
{{Stub |subject=[[:Category:Games|game]] |qualifier=about a Swedish larp |category=Game Stubs }}
Result
This article is lacking important information and/or is too short. You can help Nordic Larp Wiki by expanding it.