Difference between revisions of "Template:Metaclass"

From AtlasWiki
Jump to: navigation, search
(Switched to xcsgwidetable css, won't add space for the subkinds table if the result of calling the subkinds template is empty.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="xcsgwidetable"
+
{| class="xcsgwidetable" style="width:100%"
 
! align="left"|Metaclass
 
! align="left"|Metaclass
 
| {{PAGENAME}}
 
| {{PAGENAME}}
Line 5: Line 5:
 
   {{!}}-
 
   {{!}}-
 
   ! Extends
 
   ! Extends
   {{!}}  {{#arraymap:{{{extends|}}} | , | extended | [[extends::extended]] | ,  }}
+
   {{!}}  {{#arraymap:{{{extends|}}} | , | extended | [[extends::{{EnsureNamespace|extended}}| ]] | ,  }}{{#arraymap:{{{extends|}}} | , | extended | {{NameTrick|{{EnsureNamespace|extended}}}}| ,  }}
 
}}
 
}}
 
|-
 
|-
Line 15: Line 15:
 
   {{!}} {{{references}}}
 
   {{!}} {{{references}}}
 
}}
 
}}
|}{{#if{{Subkinds}}|
+
|}{{#if:{{Subkinds}}|
  
{{Subkinds}}}}
+
{{Subkinds}}}}{{#if:{{{parents|}}}|
 +
 
 +
{{{!}} class="xcsgwidetable"
 +
{{!}}-
 +
! All Superkinds
 +
{{!}} {{#arraydefine:parents|{{{parents}}}|,|}}{{#arrayprint:parents|, |@@@@|{{NameTrick|{{EnsureNamespace|@@@@}}}}|}}
 +
{{!}}} }}<noinclude>[[Category:XCSG Templates]]</noinclude>

Latest revision as of 15:46, 26 October 2015

Metaclass Metaclass
Description {{{description}}}