Template:Book: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|'''Author''' || [[{{{authorname}}}]] | |'''Author''' || [[{{{authorname}}}]] | ||
|- | |- | ||
| | {{#if:{{{booklink_url|}}}|{{!}}'''Link''' {{!}}{{!}} [{{{booklink_url}}} {{{booklink_label}}}] | }} | ||
|'''Link''' | |||
|- | |- | ||
|} | |} | ||
Line 25: | Line 24: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "booklink_url": { | ||
"type": " | "label": "Book URL" | ||
}, | |||
"booklink_label": { | |||
"label": "Book URL Label", | |||
"description": "What do you want the link to say?", | |||
"type": "string", | |||
"default": "Link" | |||
} | } | ||
}, | }, |
Revision as of 13:59, 26 August 2025
{{#if:||Link || [{{{booklink_url}}} {{{booklink_label}}}] | }}
{{{bookname}}} | |
Author | [[{{{authorname}}}]] |
A lightweight info box for book descriptions!
Parameter | Description | Type | Status | |
---|---|---|---|---|
Book Name | bookname | Name of the book | String | required |
Name of author | authorname | no description | Page name | required |
Book URL | booklink_url | no description | Unknown | optional |
Book URL Label | booklink_label | What do you want the link to say?
| String | optional |