Difference between revisions of "Template:PrintTopicCurrentlyAcceptedInCommunitiesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
 
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
 
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
 
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
* <code><nowiki>|link=</nowiki></code> - determines whether the values are to be printer as links to the respective pages (where available); possible values are ''none'', ''subject'', ''all''. If not given ''all'' is the default.
+
* <code><nowiki>|link=</nowiki></code> - determines whether the values are to be printed as links to the respective pages (where available); possible values are ''none'', ''subject'', ''all''. If not given ''all'' is the default.
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
  
Line 16: Line 16:
 
  -->|{{#ask:<!--
 
  -->|{{#ask:<!--
 
   -->[[SubObjectCategory::Acceptance Record]]<!--  
 
   -->[[SubObjectCategory::Acceptance Record]]<!--  
   -->[[Theory::{{{topic|}}}]]<!--  
+
   -->[[Element::{{{topic|}}}]]<!--  
 
   -->[[Still Accepted::true]]<!--  
 
   -->[[Still Accepted::true]]<!--  
 
   -->|?Community<!--
 
   -->|?Community<!--
 
   -->|mainlabel=-<!--
 
   -->|mainlabel=-<!--
 
   -->|headers=hide<!--
 
   -->|headers=hide<!--
   -->|link=none<!--
+
   -->|link={{{link|}}}<!--
 
   -->|limit=10000<!--
 
   -->|limit=10000<!--
 
   -->}}<!--
 
   -->}}<!--

Latest revision as of 21:15, 21 December 2022

This template is used to print the list of communities where the topic is currently accepted as legitimate.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |topic= - the topic.
  • |intro= - initial text that precedes the output, if at least some results exist.
  • |outro= - text that is appended to the output, if at least some results exist.
  • |default= - if, for any reason, the query returns no results, this will be printed instead.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |pretty= - if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).