Difference between revisions of "Template:GetPropertyValues"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 22: Line 22:
 
-->}}<!--
 
-->}}<!--
 
--><!--
 
--><!--
-->{{#if: {{{pretty|}}}<!--
+
-->{{#if: {{{print|}}}<!--
 
  -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 
  -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 
  -->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--
 
  -->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--

Revision as of 16:19, 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 set, then the values will be links to the respective pages (where available).
  • |print= - 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.