Template:Stub master

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(whoops... fix)
(Remove the "external link" icon from "expanding it" link. See http://www.mediawiki.org/wiki/Help:Links)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="boilerplate metadata" id="stub" style="{{stub style}}"
+
<div class="boilerplate metadata" id="stub" style="padding: 0 1em; clear: both; border-bottom: 1px solid #ccf; background: #eef; font-size: 90%">''This {{if|
| ''This {{if|
+
 
  test={{{1|}}}|
 
  test={{{1|}}}|
  then=[[{{{1}}}]]-related&#160;article|
+
  then={{{1}}}-related&#160;article|
 
  else=article}} is a [[:Category:{{if|
 
  else=article}} is a [[:Category:{{if|
 
  test={{{1|}}}|
 
  test={{{1|}}}|
 
  then={{{1}}} stubs|
 
  then={{{1}}} stubs|
  else=Stubs}}|stub]]. You can help out by '''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]'''.''
+
  else=Stubs}}|stub]]. You can help out by '''<span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]</span>'''.''
|}<includeonly>[[Category:{{if|
+
</div><includeonly>
 +
[[Category:{{if|
 
  test={{{1|}}}|
 
  test={{{1|}}}|
 
  then={{{1}}} stubs|
 
  then={{{1}}} stubs|
  else=Stubs}}]]</includeonly><noinclude>
+
  else=Stubs}}]]
----
+
</includeonly><noinclude>{{doc}}
This "master" template is used to construct stub templates on different topics. '''It should not be used in articles.''' See [[:Category:Stub templates]] for templates that can be used in articles.
+
[[Category:Templates|Stub master]]
 
+
[[Category:Box templates|Stub master]]
; Usage
+
[[Category:Master templates|Stub master]]
: <tt><nowiki>{{Stub master}}</nowiki></tt>
+
[[Category:Stub templates| Stub master]]
:: stub templates using this form will categorize articles in [[:Category:Stubs]]
+
</noinclude>
: <tt><nowiki>{{Stub master|</nowiki>''topic''}}</tt>
+
:: stub templates using this form will categorize articles in the appropriate subcategory of [[:Category:Stubs]] named by <tt>''topic''</tt> (e.g., [[:Category:Religion stubs]])
+
 
+
; Examples
+
: <tt><nowiki>{{Stub master}}</nowiki></tt>
+
:: &rarr; ''This article is a [[:Category:Stubs|stub]]. You can help out by '''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]'''.''
+
: <tt><nowiki>{{Stub master|religion}}</nowiki></tt>
+
:: &rarr; ''This [[religion]]-related article is a [[:Category:Religion stubs|stub]]. You can help out by '''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]'''.''
+
: <tt><nowiki>{{Stub master|Bible}}</nowiki></tt>
+
:: &rarr; ''This [[Bible]]-related article is a [[:Category:Bible stubs|stub]]. You can help out by '''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]'''.''
+
Note that <tt>''topic''</tt>, if provided, is used as-is in the template text; the capitalization is not changed.
+
 
+
[[Category:Utility templates]]</noinclude>
+

Latest revision as of 11:40, 9 March 2012

The documentation for this template is transcluded from Template:Stub master/doc. Please edit that page if you want to change something in the documentation. Do not edit this page unless you know what you're doing.
Purpose
This "master" template is used to construct stub templates on different topics. It should not be used in articles. See Category:Stub templates for templates that can be used in articles.
Usage
{{Stub master}}
Stub templates using this form will categorize articles in Category:Stubs.
{{Stub master|topic}}
Stub templates using this form will categorize articles in the appropriate subcategory of Category:Stubs named by topic (e.g., Category:Religion stubs).
Examples
{{Stub master}}
This article is a stub. You can help out by expanding it.
{{Stub master|religion}}
This religion-related article is a stub. You can help out by expanding it.
{{Stub master|Bible}}
This Bible-related article is a stub. You can help out by expanding it.
Note
If provided, topic is used as-is in the template text; the capitalization is not changed. Also, the related category, named Category:Topic stubs, is not automatically created.
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox