Difference between revisions of "Template:GetPropertyValues"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 7: Line 7:
 
* <code><nowiki>|object=</nowiki></code> - the fullpagename of the modification.
 
* <code><nowiki>|object=</nowiki></code> - the fullpagename of the modification.
 
* <code><nowiki>|property=</nowiki></code> - the property to return.
 
* <code><nowiki>|property=</nowiki></code> - the property to return.
* <code><nowiki>|links=</nowiki></code> - if set, then the values will be links to the respective pages (where available).
+
* <code><nowiki>|links=</nowiki></code> - if non empty, then the values will be links to the respective pages (where available).
* <code><nowiki>|print=</nowiki></code> - Pretty list output where the last two elements are chained with an ' and ' (or the local languages equivalent). Even though the delimiter parameter is empty, ', ' (or the languages equivalent) will be used since it wouldn't be pretty otherwise.
+
* <code><nowiki>|print=</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).
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--

Revision as of 16:20, 16 August 2016

This template is used to return all the values of a given object's property.

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

Parameters:

  • |object= - the fullpagename of the modification.
  • |property= - the property to return.
  • |links= - if non empty, then the values will be links to the respective pages (where available).
  • |print= - if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).