Difference between revisions of "Template:TableBodyOntology"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
+
This template produces the body for ontology tables agnostic towards communities. See [https://www.semantic-mediawiki.org/wiki/Help:Use_templates_to_create_tabular_output] for details.
This template produces the body for ontology tables. See [https://www.semantic-mediawiki.org/wiki/Help:Use_templates_to_create_tabular_output] for details.
 
  
 
'''Parameters (Anonymous):'''
 
'''Parameters (Anonymous):'''
Line 8: Line 7:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  {{!}} [[{{{1}}}]] {{!}}{{!}} style="text-align: left" {{!}} {{PrintCommunityTermCurrentDefinition|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} style="text-align: center" {{!}} {{#show: {{{1}}}|?Metaclass}} {{!}}{{!}} {{#switch: {{#show: {{{1}}}|?Metaclass}}
+
  {{!}} [[{{{1}}}]] {{!}}{{!}} style="text-align: center" {{!}} [[{{{2}}}|{{PAGENAME|{{{2}}}}}]] {{!}}{{!}} style="text-align: left" {{!}} {{PrintCommunityTermCurrentDefinition|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} style="text-align: center" {{!}} {{#show: {{{1}}}|?Metaclass}} {{!}}{{!}} {{#switch: {{#show: {{{1}}}|?Metaclass}}
 
|Quality= style="background: #FF9999" {{!}}  
 
|Quality= style="background: #FF9999" {{!}}  
 
|#default= style="text-align: center" {{!}} {{PrintCommunityTermCurrentExistence|community={{{2}}}|term={{{1}}}|}} }} {{!}}{{!}} style="text-align: center" {{!}} {{PrintCommunityTermCurrentSubtypes|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} style="text-align: center" {{!}} {{PrintCommunityTermCurrentSupertypes|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} {{#switch: {{#show: {{{1}}}|?Metaclass}}
 
|#default= style="text-align: center" {{!}} {{PrintCommunityTermCurrentExistence|community={{{2}}}|term={{{1}}}|}} }} {{!}}{{!}} style="text-align: center" {{!}} {{PrintCommunityTermCurrentSubtypes|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} style="text-align: center" {{!}} {{PrintCommunityTermCurrentSupertypes|community={{{2}}}|term={{{1}}}|}} {{!}}{{!}} {{#switch: {{#show: {{{1}}}|?Metaclass}}

Revision as of 08:03, 30 June 2024

This template produces the body for ontology tables agnostic towards communities. See [1] for details.

Parameters (Anonymous):

  • {{{1}}} - the term for which the respective columns are to be printed.
  • {{{2}}} - the community's full page name.