Difference between revisions of "Template:Web"
Jump to navigation
Jump to search
(person category conditional) |
(Added usage.) |
||
Line 1: | Line 1: | ||
[{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}||| » {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||[[category:{{{person}}}]]}}</includeonly> | [{{{url}}} {{{site}}}{{#ifeq:{{{person|}}}||| » {{{person}}}}} » {{{title}}}{{#ifeq:{{{subtitle|}}}||| » {{{subtitle}}}}}]<includeonly>[[category:{{{site}}}]]{{#ifeq:{{{person|}}}|||[[category:{{{person}}}]]}}</includeonly> | ||
<noinclude> | |||
Parameters: | |||
*<code>url=</code>''URL to web page; can be HTML, PDF, image, anything.'' | |||
*<code>site=</code>''Name of web site.'' Adds the page to the site's category. | |||
*<code>person=</code>''Comma separated list of authors.'' [optional] Adds the page to the author's category. | |||
*<code>title=</code>''Title of resource.'' | |||
*<code>subtitle=</code>''Subtitle of resource.'' [optional] Subtitle shows right after title. | |||
*<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> |
Revision as of 19:02, 16 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.