Difference between revisions of "Template:Asbox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(how to fix)
m (106 revisions imported)
 
(47 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks stub" style="background: transparent;"><tr>
+
<includeonly>{{#invoke:Asbox/sandbox|main}}</includeonly><noinclude>
{{#if:{{{icon|}}}{{{image|}}}
 
|<td>{{#if:{{{icon|}}}
 
  |{{{icon}}}
 
  |[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]
 
}}</td>
 
}}
 
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[Wikipedia:stub|stub]].  You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{note|}}}|<br /><span style="font-style: normal; font-size: smaller;">{{{note|}}} }}</td></tr></table><includeonly><!--
 
 
 
*** Stub article category sorted by DEFAULTSORT or PAGENAME. ***
 
 
 
-->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category}}}]]}}<!--
 
 
 
*** Template category - sorted by " tempsort". ***
 
 
 
-->{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{{tempsort|}}}|no||[[Category:{{{category}}}| {{{tempsort|{{PAGENAME}}}}}]]}}|}}<!--
 
 
 
*** Is there a second stub category? ***
 
 
 
-->{{#if:{{{category1|}}}|<!--
 
 
 
  *** Stub article second category sorted by DEFAULTSORT or PAGENAME. ***
 
 
 
  -->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category1}}}]]}}<!--
 
 
 
  *** Template second category - sorted by " tempsort1". ***
 
 
 
  -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:{{{category1}}}| {{{tempsort1|{{PAGENAME}}}}}]]|}}<!--
 
 
 
-->}}<!--
 
 
 
*** 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|{{PAGENAME}}}}}]]|}}<!--
 
 
 
-->}}<!--
 
 
 
*** exclude in print category ***
 
 
 
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Exclude in print]]|}}<!--
 
 
 
 
 
--></includeonly><!--
 
 
 
*** transclude /templatepage on template page ***
 
 
 
-->{{#switch:{{FULLPAGENAME:{{{name|<noinclude>Template:Asbox</noinclude>}}}}}
 
  |{{FULLPAGENAME}}={{Asbox/templatepage
 
    |image    = {{{image|¬}}}
 
    |pix      = {{{pix|¬}}}
 
    |subject  = {{{subject|¬}}}
 
    |qualifier = {{{qualifier|¬}}}
 
    |category  = {{{category|¬}}}
 
    |tempsort  = {{{tempsort|¬}}}
 
    |category1 = {{{category1|¬}}}
 
    |tempsort1 = {{{tempsort1|¬}}}
 
    |category2 = {{{category2|¬}}}
 
    |tempsort2 = {{{tempsort2|¬}}}
 
    |note      = {{{note|¬}}}
 
    |name      = {{{name}}}
 
  }}
 
  |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate-->
 
  |Template:Asbox=<!--Is asbox itself-->
 
  |#default={{#ifeq:{{NAMESPACE}}|Template
 
    |{{mbox
 
      |type=content
 
      |text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}}.
 
    }}[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}
 
      |E
 
      |W
 
    }}{{PAGENAME}}]]
 
  }}
 
}}<!--
 
 
 
--><noinclude><!--
 
 
 
*** Documentation ***
 
 
 
-->{{documentation}}
 
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 15:24, 28 October 2020