Difference between revisions of "Template:Subproperty-table"

From Free Software Directory
Jump to: navigation, search
(the title is now a link to the corresponding category page, if the template is called from a non Cateogory/ page.)
(now results shouldn't be displayed if no argument was passed to this template)
Line 3: Line 3:
 
   <span style="float:right">{{Query link|Query_{{{1}}} }}</span>
 
   <span style="float:right">{{Query link|Query_{{{1}}} }}</span>
 
   </h2><nowiki/>
 
   </h2><nowiki/>
<DIV style="column-count:3;-moz-column-count:3;-webkit-column-count:3;margin:2px 2px 2px 2px;"><nowiki/>
+
{{#if {{{1}}}
 +
|<DIV style="column-count:3;-moz-column-count:3;-webkit-column-count:3;margin:2px 2px 2px 2px;"><nowiki/>
 
{{#arraydefine:@allowedvalues|{{#ask:[[:Property:{{{1}}}]]|?Allows value=|sep=,}}}}
 
{{#arraydefine:@allowedvalues|{{#ask:[[:Property:{{{1}}}]]|?Allows value=|sep=,}}}}
 
{{#arraysort:@allowedvalues|asce}}<nowiki/>
 
{{#arraysort:@allowedvalues|asce}}<nowiki/>
Line 9: Line 10:
 
{{#arrayprint:@allowedvalues||xvarx|<li>[[category/{{{1}}}/xvarx|xvarx]]</li>}}
 
{{#arrayprint:@allowedvalues||xvarx|<li>[[category/{{{1}}}/xvarx|xvarx]]</li>}}
 
</ul>
 
</ul>
 +
|<div style="no display">}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 12:37, 30 November 2011



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.