Template:Asbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
transclude /templatepage, per discussion
Ookami (talk | contribs)
m 103 revisions imported
 
(28 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks stub" style="background: transparent;"><tr>
<includeonly>{{#invoke:Asbox|main}}</includeonly><noinclude>
{{#if: {{{icon|}}}{{{image|}}} |<td>{{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]}}}}</td>}}
{{documentation}}
<td>''This {{#if:{{{article|}}}|{{{article}}}|{{{subject|}}} 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><!--
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
 
*** Stub article category sorted by DEFAULTSORT or PAGENAME. ***
 
-->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category}}}]]}}<!--
 
*** Template category - sorted by " tempsort". ***
 
-->{{#ifeq:{{NAMESPACE}}|Template|[[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 ***
 
-->{{#ifeq:{{{name|}}}|{{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}}}
  }}
}}<!--
 
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Stub message boxes|{{PAGENAME}}]]<!--
 
*** Maintenance categories ***
 
-->{{#if:{{{image|}}}
|<!-- uses image= , no maintenance category required -->|{{#if:{{{icon|}}}
|[[Category:Stub message boxes using icon parameter]]
|[[Category:Stub message boxes without images]]}}
}}{{#if:{{{imagealt|}}}
|[[Category:Stub message boxes using imagealt parameter]]
}}{{#if:{{{category|}}}|<!-- has category= -->
|[[Category:Stub message boxes without category parameter]]
}}{{#if:{{{name|}}}|<!-- has name= -->
|[[Category:Stub message boxes without name parameter]]
}}{{#ifexist:{{FULLPAGENAME}}/doc|[[Category:Stub message boxes with documentation subpages]]
}}<!--
 
-->}}}}</includeonly><noinclude><!--
 
*** Documentation ***
 
-->{{documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 00:00, 2 September 2020