Difference between revisions of "Template:Web"

From Pearl Language
Jump to navigation Jump to search
(Added usage.)
(#arraymap person list)
Line 1: Line 1:
[{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}|||&nbsp;» {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||[[category:{{{person}}}]]}}</includeonly>
[{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}|||&nbsp;» {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||{{#arraymap:{{{person|}}}|,|x|[[category:x| ]]|}}}}</includeonly>
<noinclude>
<noinclude>
Parameters:
Parameters:

Revision as of 08:08, 19 February 2014

[{{{url}}} {{{site}}} » {{{title}}}]

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.
  • 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.