Difference between revisions of "Template:Table of Contents/Doc"

From ISFDB
Jump to navigation Jump to search
m (→‎Usage: {{AngleBracketDoc}})
Line 33: Line 33:
 
|Title=<publication title> <br />
 
|Title=<publication title> <br />
 
<nowiki>}}</nowiki></code>
 
<nowiki>}}</nowiki></code>
 +
 +
{{AngleBracketDoc}}
  
 
==Parameters==
 
==Parameters==

Revision as of 20:22, 7 September 2009



Documentation for the template: Table of Contents (transcluded from Template:Table of Contents/Doc).

Purpose

This template is to be placed on the image description page of a Table of Contents of front page image used to document a webzine under fair use.

Usage

Call this template as:

{{Table of Contents
|Id=<TAG>
}}

or as:

{{Table of Contents|<TAG>}}

or as:

{{Table of Contents|<TAG>|<publication title>}}

or as:

{{Table of Contents
|Id=<TAG>
|Title=<publication title>
}}

Note: In all the above examples, when a parameter is shown in angle brackets, like:

<Parameter>

then the parameter, and the angle brackets, should be replaced by the value of the parameter. For example: Title=<TITLE> should become Title=The Name of the Book (or whatever the name might be).

Parameters

  • Id must specify a publication record tag or record number, an acceptable argument to Template:P (which see). If the "Id=" parameter is not present, the first unnamed parameter is used. One or the other must be present and valid for the template to work correctly
  • Title is used to specify the title of the publication, for display. If an unnamed parameter is used for Id, a 2nd unnamed parameter may be used for title.

Alias

To reduce typing, the alias {{TOC}} has been created for this template. So this template can also be called as

{{TOC
|Id=<TAG>
}}

or as:

{{TOC|<TAG>}}

Categories

This template puts all pages that transclude (call) it into the following categories: