Template:Book: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
|'''Author''' || [[{{{authorname}}}]] | |'''Author''' || [[{{{authorname}}}]] | ||
|- | |- | ||
{{!}}'''Link''' {{!}}{{!}} [{{{booklink_url}}} {{{booklink_label}}}] | |||
|- | |- | ||
|} | |} | ||
Line 25: | Line 25: | ||
}, | }, | ||
"booklink_url": { | "booklink_url": { | ||
"label": "Book URL" | "label": "Book URL", | ||
"type": "string", | |||
"default": "https://wiki.mechsploit.me" | |||
}, | }, | ||
"booklink_label": { | "booklink_label": { | ||
Line 31: | Line 33: | ||
"description": "What do you want the link to say?", | "description": "What do you want the link to say?", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "N/A" | ||
} | } | ||
}, | }, |
Latest revision as of 16:33, 26 August 2025
{{{bookname}}} | |
Author | [[{{{authorname}}}]] |
Link | [{{{booklink_url}}} {{{booklink_label}}}] |
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
| String | optional |
Book URL Label | booklink_label | What do you want the link to say?
| String | optional |