Template:Book: Difference between revisions
Template page
More actions
Created page with "{{Infobox book | italic title = <!-- (see above) --> | name = | image = | image_size = | border = | alt = | caption = | author = | audio_read_by = | title_orig = | orig_lang_code = | title_working = | translator = | illustrator = | cover_artist = | country = | language = | series = | release_number = | s..." |
No edit summary |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{ | {|class="infobox book" | ||
| | |- | ||
| | | style="flex-grow:1; text-align:center" |'''{{{bookname}}}''' | ||
| | |- | ||
| | |'''Author''' || [[{{{authorname}}}]] | ||
| | |- | ||
| | {{!}}'''Link''' {{!}}{{!}} [{{{booklink_url}}} {{{booklink_label}}}] | ||
| | |- | ||
| | |} | ||
| | <noinclude> | ||
| | <templatedata> | ||
{ | |||
"params": { | |||
"bookname": { | |||
"label": "Book Name", | |||
"description": "Name of the book", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"authorname": { | |||
"label": "Name of author", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"booklink_url": { | |||
"label": "Book URL", | |||
"type": "string", | |||
"default": "https://wiki.mechsploit.me" | |||
}, | |||
"booklink_label": { | |||
"label": "Book URL Label", | |||
"description": "What do you want the link to say?", | |||
"type": "string", | |||
"default": "N/A" | |||
} | |||
}, | |||
"description": "A lightweight info box for book descriptions!" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
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 |