catalog help wip

This commit is contained in:
GRiker 2012-09-02 06:13:06 -06:00
parent 0ff236f71f
commit 58d31f0316

View File

@ -29,6 +29,16 @@ h3 {
font-family: "Courier New", Courier, monospace; font-family: "Courier New", Courier, monospace;
font-size: 90%; font-size: 90%;
} }
.code_header {
text-indent: 2em;
}
.code_body {
font-family: "Lucida Console", Monaco, monospace;
background-color: #EEE;
font-size: .9em;
margin-left: 2em;
margin-top: 0px;
}
</style> </style>
</head> </head>
@ -157,25 +167,45 @@ h3 {
</li> </li>
</ul> </ul>
<p>Example: Changing year of publication in Description header<br /> <p>Example: Changing year of publication in Description header<br />
Default: &lt;td class=&quot;date&quot;&gt;{pubyear}&lt;/td&gt;<br /> </p>
Removed: &lt;td class=&quot;date&quot;&gt;&lt;/td&gt;<br /> <ul>
Augmented: &lt;td class=&quot;date&quot;&gt;Year of publication: {pubyear}&lt;/td&gt;<br /> <li>Default: &lt;td class=&quot;date&quot;&gt;{pubyear}&lt;/td&gt;<br />
Modified: &lt;td class=&quot;date&quot;&gt;{pubmonth} {pubyear}&lt;/td&gt;</p> </li>
<li>Removed: &lt;td class=&quot;date&quot;&gt;&lt;/td&gt;<br />
</li>
<li>Augmented: &lt;td class=&quot;date&quot;&gt;Year of publication: {pubyear}&lt;/td&gt;<br />
</li>
<li>Modified: &lt;td class=&quot;date&quot;&gt;{pubmonth} {pubyear}&lt;/td&gt;</li>
</ul>
<p>Customizing the Section lists. Templates controlling the display of book titles in the various Section lists (Books by Author, Books by Title, etc) may be edited to taste. <br /> <p>Customizing the Section lists. Templates controlling the display of book titles in the various Section lists (Books by Author, Books by Title, etc) may be edited to taste. <br />
Available fields in section_list_templates.py:<br /> Available fields in <span class="user-input">section_list_templates.py</span>:<br />
{title} - Title of the book<br /> </p>
{series} - Series name<br /> <ul>
{series_index} - Number of the book in the series<br /> <li>{title} - Title of the book<br />
{rating} - 0-5 stars<br /> </li>
{rating_parens} - (0-5 stars)<br /> <li>{series} - Series name<br />
{pubyear} - Year the book was published<br /> </li>
{pubyear_parens} - (Year the book was published)<br /> <li>{series_index} - Number of the book in the series<br />
Example: Changing Books by Author to remove year of publication:<br /> </li>
Default:</p> <li>{rating} - 0-5 stars<br />
<p>Code:<br /> </li>
by_authors_normal_title_template = '{title} {pubyear_parens}'<br /> <li>{rating_parens} - (0-5 stars)<br />
by_authors_series_title_template = '[{series_index}] {title} {pubyear_parens}'<br /> </li>
Year of publication removed:</p> <li>{pubyear} - Year the book was published<br />
</li>
<li>{pubyear_parens} - (Year the book was published)<br />
</li>
</ul>
<p>Example: Changing Books by Author to remove year of publication:<br />
Default:</p>
<p>&lt;img&gt; </p>
<p class="code_header">Code:<br />
</p>
<p class="code_body">by_authors_normal_title_template = '{title} {pubyear_parens}'<br />
</p>
<p class="code_body">by_authors_series_title_template = '[{series_index}] {title} {pubyear_parens}'<br />
</p>
<p>Year of publication removed:</p>
<p>Code:<br /> <p>Code:<br />
by_authors_normal_title_template = '{title}'<br /> by_authors_normal_title_template = '{title}'<br />
by_authors_series_title_template = '[{series_index}] {title}'<br /> by_authors_series_title_template = '[{series_index}] {title}'<br />