Difference between revisions of "Template:InfoWorld/doc"

From Terminals
Jump to: navigation, search
m (Fix magazine name)
m (Update docs)
Line 4: Line 4:
  
 
;<code>id</code>
 
;<code>id</code>
:'''Required'''  This is the id of the google books publication.  It will identify a particular issue of InfoWorld.
+
:'''Required'''  This is the id of the google books publication.  It will identify a particular issue of the magazine.
 
;<code>page</code> or <code>pg</code>
 
;<code>page</code> or <code>pg</code>
 
:This is the page number of the article.  This is used to form the google books URL, so it must match what is in the URL.
 
:This is the page number of the article.  This is used to form the google books URL, so it must match what is in the URL.
 
;<code>page_prefix</code>
 
;<code>page_prefix</code>
:Sometimes google books uses a prefix before "<code>PA</code>" in the page argument portion of the URL. Supply anything between the <code>lpg=</code> and the <code>PA</code> in the URL here.
+
:Sometimes google books uses a prefix other than "<code>PA</code>" in the page argument portion of the URL. Supply anything between the <code>lpg=</code> and the page number in the URL here. '''Default:''' <code>PA</code>
 
;<code>author</code>
 
;<code>author</code>
 
:The name of the author of the article, if any.
 
:The name of the author of the article, if any.
 
;<code>date</code>
 
;<code>date</code>
:The publication date of the issue of InfoWorld.
+
:The publication date of the issue of the magazine.
 
;<code>title</code>
 
;<code>title</code>
 
:The title of the article.  Use double-quotes if it is an article and not just a section header, i.e <code>title="HP Introduces New Terminals"</code> and <code>title=New Products</code>.
 
:The title of the article.  Use double-quotes if it is an article and not just a section header, i.e <code>title="HP Introduces New Terminals"</code> and <code>title=New Products</code>.
.
 

Revision as of 04:48, 4 April 2012

This is the template for citing articles from InfoWorld via google books.

The parameters are as follows:

id
Required This is the id of the google books publication. It will identify a particular issue of the magazine.
page or pg
This is the page number of the article. This is used to form the google books URL, so it must match what is in the URL.
page_prefix
Sometimes google books uses a prefix other than "PA" in the page argument portion of the URL. Supply anything between the lpg= and the page number in the URL here. Default: PA
author
The name of the author of the article, if any.
date
The publication date of the issue of the magazine.
title
The title of the article. Use double-quotes if it is an article and not just a section header, i.e title="HP Introduces New Terminals" and title=New Products.