Difference between revisions of "Template:Cover Image Data2/Doc"
DESiegel60 (talk | contribs) (→Parameters: Pub) |
DESiegel60 (talk | contribs) (→Usage: Pub) |
||
Line 10: | Line 10: | ||
==Usage== | ==Usage== | ||
Call this template as: | Call this template as: | ||
+ | |||
+ | <code> | ||
+ | <nowiki>{{</nowiki>Cover Image Data2 <br> | ||
+ | |Pub=<TAG> <br /> | ||
+ | |Title=<Book Title> <br /> | ||
+ | <nowiki>}}</nowiki></code> | ||
+ | |||
+ | or as: | ||
<code> | <code> | ||
Line 21: | Line 29: | ||
<code> | <code> | ||
<nowiki>{{Cover Image Data2 </nowiki> <br /> | <nowiki>{{Cover Image Data2 </nowiki> <br /> | ||
− | | | + | |Pub=<TAG> <br /> |
<nowiki>}}</nowiki></code> | <nowiki>}}</nowiki></code> | ||
Revision as of 18:51, 30 August 2010
Documentation for the template: Cover Image Data2 (transcluded from Template:Cover Image Data2/Doc.
Purpose
This template is to be placed on the image description page of a book, magazine, or other publication cover image used under fair use. This template provides less information than does Template:Cover Image Data, but requires less user input.
Usage
Call this template as:
{{Cover Image Data2
|Pub=<TAG>
|Title=<Book Title>
}}
or as:
{{Cover Image Data2
|Id=<TAG>
|Title=<Book Title>
}}
or as:
{{Cover Image Data2
|Pub=<TAG>
}}
or as:
{{Cover Image Data2|<TAG>|<Book Title>}}
or as:
{{Cover Image Data2|<TAG>}}
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
- Pub must specify a publication record tag or record number, an acceptable argument to Template:P (which see). Id may be used instead. If neither the "Pub=" nor 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 may specify the title of the book. This will be used in formating the link to the publication record, as the optional name parameter to Template:P. If "Title=" is not present, the 2nd unnamed parameter is used instead. If neither is present, the tag is used in place of the title.
Alias
To reduce typing, the alias {{CID2}}
has been created for this template. So this template can also be called as
{{CID2
|Id=<TAG>
|Title=<Book Title>
}}
or as:
{{CID2
|Id=<TAG>
}}
or as:
{{CID2|<TAG>|<Book Title>}}
The alias {{C}}
is also available, and works exactly the same way.
Categories
This template puts all pages that transclude (call) it into the following categories: