Difference between revisions of "Template:Web"

From Pearl Language
Jump to navigation Jump to search
m (-= {{#ifeq:{{{about|}}}|||, {{{about}}}.}})
m (] shift left)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
*<code>title=</code>''Title of resource.''
*<code>title=</code>''Title of resource.''
*<code>subtitle=</code>''Subtitle of resource.'' [optional] Subtitle shows right after title.
*<code>subtitle=</code>''Subtitle of resource.'' [optional] Subtitle shows right after title.
*<code>about=</code>''Short description about the essence.'' [optional] About shows right after title [subtitle].
*<code>about=</code>''Terse summary.'' [optional] About shows right after subtitle.
*<code>about=</code>''Terse summary.'' [optional] About shows right after subtitle.
*<code>type=</code>''Resource type; e.g. PDF, PPT, JPG, etc.'' Currently not in use.
*<code>type=</code>''Resource type; e.g. PDF, PPT, JPG, etc.'' Currently not in use.
*<code>kind=</code>''Kind of resource. Allowed values: article, book, essay, exercise. (Not used.)'' Currently not in use.</noinclude>[{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}|||&nbsp;» {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||{{#arraymap:{{{person|}}}|,|x|[[category:x| ]]|}}}}</includeonly>
*<code>kind=</code>''Kind of resource. Allowed values: article, book, essay, exercise. (Not used.)'' Currently not in use.</noinclude>[{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}|||&nbsp;» {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]{{#ifeq:{{{about|}}}|||, {{{about}}}.}}<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||{{#arraymap:{{{person|}}}|,|x|[[category:x| ]]|}}}}</includeonly>

Latest revision as of 10:01, 19 July 2014

Parameters:

  • url=URL to web page; can be HTML, PDF, image, anything.
  • site=Name of web site. Adds the page to the site's category.
  • person=Comma separated list of authors. [optional] Adds the page to the author's category.
  • title=Title of resource.
  • subtitle=Subtitle of resource. [optional] Subtitle shows right after title.
  • about=Terse summary. [optional] About shows right after subtitle.
  • type=Resource type; e.g. PDF, PPT, JPG, etc. Currently not in use.
  • kind=Kind of resource. Allowed values: article, book, essay, exercise. (Not used.) Currently not in use.[{{{url}}} {{{site}}} » {{{title}}}]