Template

Difference between revisions of "Stub"

From Joomla! Documentation

m
m (found and removing another inclusion of parent category)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{ambox
 
{{ambox
|image = {{#ifeq: {{{1|}}}|section|blank|serious}}
+
|image = {{#ifeq: {{{1|}}}|section|jdoc|content}}
 
|type = content
 
|type = content
 
|text=
 
|text=
'''This {{{1|article}}} is a stub and needs to be expanded.'''
+
'''This {{{1|article}}} is a stub and needs to be expanded.'''{{#if:{{{explain|}}}| {{{explain|}}}||}}
{{{explain|}}}
+
<span style="display:inline-block; padding:6px; margin:0 30px; font-size:.85em;">If you can provide information or finish this {{{1|article}}} you're welcome to do so. Please remove this message afterwards{{#if: {{{1|}}}|.|&nbsp;or replace with {{tl|inuse}} while making major edits.}} - Thank you.</span>}}<includeonly>{{CatInclude|Needs more content,Needs improvement}}{{#ifeq: {{{1|}}}|section|{{CatInclude|Section needs content}}|}}
If you can provide information or finish this {{{1|article}}} you're welcome to do so. Please remove this message afterwards{{#if: {{{1|}}}|.|&nbsp;or replace with {{tl|inuse}} while making major edits.}}
+
{{#if:{{{jdoc|}}}|[[Category:Needs more content|{{PAGENAME}}]]{{#ifeq: {{{1|}}}|section|[[Category:Section needs content|{{PAGENAME}}]]|}}|}}
:Thank you.}}<includeonly>{{#ifeq: {{SUBJECTSPACE}}|{{ns:template}}| |[[Category:Articles that could be improved]]}}</includeonly><noinclude>
+
</includeonly><noinclude>
 
----
 
----
 
Parameters:
 
Parameters:
Line 14: Line 14:
 
:supplemental wikitext, why expansion is needed/recommended.
 
:supplemental wikitext, why expansion is needed/recommended.
 
Example:
 
Example:
{{evd|stub|template documentation|3=explain=The <nowiki>{{documentation}}</nowiki> template should be used instead.}}
+
<pre>{{stub|template documentation|explain=The {{tl|documentation}} template should be used instead.}}</pre>
 +
{{stub|template documentation|explain=The {{tl|documentation}} template should be used instead.}}
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:52, 22 June 2013


Parameters:

{{{1}}}
a noun to replace article in the default message, e.g. section
{{{explain}}}
supplemental wikitext, why expansion is needed/recommended.

Example:

{{stub|template documentation|explain=The {{tl|documentation}} template should be used instead.}}


[view] [edit] [history]

Template-info.pngTemplate documentation
Template:Stub/doc