Difference between revisions of "Template:GetPropertyValues"
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>| | + | * <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>|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 15: | Line 15: | ||
-->|mainlabel=-<!-- | -->|mainlabel=-<!-- | ||
-->|headers=hide<!-- | -->|headers=hide<!-- | ||
− | -->|{{ | + | -->|link={{{link|}}}<!-- |
-->|?{{{property|}}}<!-- | -->|?{{{property|}}}<!-- | ||
-->|limit=10000<!-- | -->|limit=10000<!-- |
Revision as of 21:25, 18 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.|link=
- 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.|pretty=
- if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).