Template:Asbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon
simplify logic
Ookami (talk | contribs)
m 103 revisions imported
 
(43 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks asbox" {{#if|{{{id|}}}|id="stub-{{{id}}}" }} style="clear:left; margin: 0em 0em; background: transparent;"><tr>
<includeonly>{{#invoke:Asbox|main}}</includeonly><noinclude>
{{#if: {{{icon|}}}{{{image|}}} |<td class="mbox-image" style="padding: 0em;">{{#if:{{{icon|}}}|{{{icon}}}&nbsp;|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px]]&nbsp;|}}}}</td>}}
<td class="mbox-text" style="font-style: italic; padding: 0em; width: auto;">This {{{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><!--
 
*** Stub article category sorted by DEFAULTSORT or PAGENAME. ***
 
-->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category}}}]]}}<!--
 
*** Template category - sorted by " tempsort". ***
 
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:{{{category}}}| {{{tempsort|}}}]]|}}<!--
 
*** 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|}}}]]|}}<!--
 
-->}}<!--
 
*** 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}}
{{documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 00:00, 2 September 2020