Difference between revisions of "Template:PrintModificationAuthors"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
'''Parameters:'''
 
'''Parameters:'''
 
* <code><nowiki>|modification=</nowiki></code> - the fullpagename of the modification.
 
* <code><nowiki>|modification=</nowiki></code> - the fullpagename of the modification.
* <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>|intro=</nowiki></code> - initial text that prepends 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>|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).
  
</noinclude><includeonly>{{GetPropertyValues|object={{{modification|}}}|property=Has Author|link={{{link|}}}|pretty={{{pretty|}}}|}}</includeonly>
+
</noinclude><includeonly>{{GetPropertyValues|object={{{modification|}}}|property=Has Author|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|pretty={{{pretty|}}}|}}</includeonly>

Latest revision as of 20:08, 24 August 2016

This template is used to return the list of the author of the modification one line with an option to add links and/or print it pretty.

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

Parameters:

  • |modification= - the fullpagename of the modification.
  • |intro= - initial text that prepends 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).