Difference between revisions of "Template:Books"
Jump to navigation
Jump to search
(Created page with "wip") |
(add TemplateStyles) |
||
| (9 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- --> | |||
<templatestyles src="Template:Books/styles.css" /> | |||
<table class="books"> | |||
<tr><th colspan="2" style="text-align: center; font-size:140%;">'''{{PAGENAME}}'''</th></tr> | |||
<tr><td colspan="2">[[File:{{{file|}}}{{!}}250px{{!}}center]]</td></tr> | |||
<tr> | |||
<td class="books-data-title">Date</td> | |||
<td class="books-data">{{{bk-date}}}</td> | |||
</tr> | |||
<tr> | |||
<td class="books-data-title">Publisher</td> | |||
<td class="books-data">{{{bk-pub}}}</td> | |||
</tr> | |||
<tr> | |||
<td class="books-data-title">Genre</td> | |||
<td class="books-data">{{{bk-genre}}}</td> | |||
</tr> | |||
<tr> | |||
<td class="books-data-title">Rating</td> | |||
<td class="books-data">{{{bk-rating}}}</td> | |||
</tr> | |||
</table></includeonly> | |||
<noinclude> | |||
This template is designed for books outside the setting of the Temple of the White Rat | |||
To use, copy the following code and fill in the appropriate fields. | |||
<pre><nowiki> | |||
{{books | |||
| title = | |||
| file = [e.g. "Example.jpg"] | |||
| bk-date = | |||
| bk-pub = | |||
| bk-genre = | |||
| bk-rating = | |||
}} | |||
</nowiki></pre> | |||
<p>The table class still needs to be styled</p> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"file": {}, | |||
"bk-date": {}, | |||
"bk-pub": {}, | |||
"bk-genre": {}, | |||
"bk-rating": {} | |||
} | |||
} | |||
</templatedata></noinclude> | |||
Latest revision as of 23:32, 11 February 2022
This template is designed for books outside the setting of the Temple of the White Rat
To use, copy the following code and fill in the appropriate fields.
{{books
| title =
| file = [e.g. "Example.jpg"]
| bk-date =
| bk-pub =
| bk-genre =
| bk-rating =
}}
The table class still needs to be styled
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| file | file | no description | Unknown | optional |
| bk-date | bk-date | no description | Unknown | optional |
| bk-pub | bk-pub | no description | Unknown | optional |
| bk-genre | bk-genre | no description | Unknown | optional |
| bk-rating | bk-rating | no description | Unknown | optional |