Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Book: Difference between revisions

Template page
No edit summary
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
{|class="infobox book"
| italic title      = <!-- (see above) -->
|-
| name              =  
| style="flex-grow:1; text-align:center" |'''{{{bookname}}}'''
| image            =
|-
| image_size        =
|'''Author''' || [[{{{authorname}}}]]
| border            =
|-
| alt              =
{{!}}'''Link''' {{!}}{{!}} [{{{booklink_url}}} {{{booklink_label}}}]
| caption          =
|-
| author            =
| audio_read_by    =
| title_orig        =
| orig_lang_code    =
| title_working    =
| translator        =
| illustrator      =
| cover_artist      =
| country          =
| language          =
| series            =
| release_number    =
| subject          =
| genre            =
| set_in            =
| publisher        =
| publisher2        =
| pub_date          =
| english_pub_date  =
| published        =
| media_type        =
| pages            =
| awards            =
| isbn              =
| isbn_note        =
| oclc              =
| dewey            =
| congress          =
| preceded_by      = <!-- for books in a series -->
| followed_by      = <!-- for books in a series -->
| native_wikisource =
| wikisource        =
| notes            =
| exclude_cover    =
| website          =
| module            =
|}
|}
<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!

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Book Namebookname

Name of the book

Stringrequired
Name of authorauthorname

no description

Page namerequired
Book URLbooklink_url

no description

Default
https://wiki.mechsploit.me
Stringoptional
Book URL Labelbooklink_label

What do you want the link to say?

Default
N/A
Stringoptional