Jump to content

Template:Asbox: Difference between revisions

From IdeaWazaWiki
wikademia>Rich Farmbrough
add second category.
wikademia>Wikademia
m 1 revision
 
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="stub"><table cellpadding="0" cellspacing="0" style="background-color: transparent;"><tr ><td > </td ><td >''&nbsp; {{#if:{{{icon|}}}|{{{{{icon}}}}}|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40}}px]]|}}}} This {{{subject|}}} article {{{qualifier|}}} is a [[Wikipedia:Perfect stub article|stub]].  You can [[Wikipedia:Find or fix a stub|help]] Wikipedia by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]''.</td ></tr ></table ></div ><includeonly><!--
<table class="boilerplate metadata plainlinks" id="stub" cellpadding="0" cellspacing="0" style="background-color: transparent;"><tr><td> {{#if:{{{icon|}}}|{{{icon}}}&nbsp;|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px]]&nbsp;|}}}}</td><td>''This {{{subject|}}} article {{{qualifier|}}} is a [[Wikipedia:stub|stub]].  You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]''.<br><small>{{{note|}}}</small></td></tr></table><includeonly><!--


  *** Stub article category sorted by first default parameter. ***
  *** Stub article category sorted by DEFAULTSORT or PAGENAME. ***


-->{{#ifeq:{{NAMESPACE}}||{{#if:{{{1|}}}|[[Category:{{{category}}}{{!}}{{{1|}}}]]|[[Category:{{{category}}}]]}}}}<!--
-->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category}}}]]}}<!--


  *** Template category - sorted by " <code>tempsort1</code>". ***
  *** Template category - sorted by " tempsort". ***


-->{{#ifeq:{{NAMESPACE}}|Template|{{#if:{{{tempsort|}}}|[[Category:{{{category}}}| {{{tempsort}}}]]||}}|}}</includeonly><!--
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:{{{category}}}| {{{tempsort|}}}]]|}}<!--


-->{{#if:{{{category1|}}}|<--
*** Is there a second stub category? ***


*** Stub article second category sorted by first default parameter. ***
-->{{#if:{{{category1|}}}|<!--


-->{{#ifeq:{{NAMESPACE}}||{{#if:{{{1|}}}|[[Category:{{{category1}}}{{!}}{{{1|}}}]]|[[Category:{{{category1}}}]]}}}}<!--
  *** Stub article second category sorted by DEFAULTSORT or PAGENAME. ***


*** Template second category - sorted by " <code>tempsort1</code>". ***
  -->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category1}}}]]}}<!--


-->{{#ifeq:{{NAMESPACE}}|Template|{{#if:{{{tempsort1|}}}|[[Category:{{{category1}}}| {{{tempsort1}}}]]||}}|}}</includeonly><!--
  *** Template second category - sorted by " tempsort1". ***
 
  -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:{{{category1}}}| {{{tempsort1|}}}]]|}}<!--


-->}}<!--
-->}}<!--
*** Is there a third stub category? ***
-->{{#if:{{{category2|}}}|<!--
  *** Stub article third category sorted by DEFAULTSORT or PAGENAME. ***
  -->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category2}}}]]}}<!--
  *** Template third category - sorted by " tempsort2". ***
  -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:{{{category2}}}| {{{tempsort2|}}}]]|}}<!--
-->}} <!-- *** Is there a date specified? ***
-->{{#if:{{{date|}}}|<!--
  *** Put it in the appropriate dated category ***
--  ->{{#ifeq:{{NAMESPACE}}||[[Category:Stubs from {{{date|}}}]]}}|<!--
  *** Stub in undated category - this drives the dating agents. ***
--  ->{{#ifeq:{{NAMESPACE}}||[[Category:Stubs undated]]}}<!--
-->}}<!--
*** Whatlinkshere marker and exclude in print category***
-->{{#ifeq:{{NAMESPACE}}|Template|[[Template:Asbox/whatlinkshere|<s/>]][[Category:Exclude in print]]|}}<!--
--></includeonly><noinclude><!--


  *** Documentation ***
  *** Documentation ***


--><noinclude>
-->
{{template doc}}
{{documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 19:37, 26 April 2009

[create] Template documentation