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
Line 5: Line 5:
|'''Author''' || [[{{{authorname}}}]]
|'''Author''' || [[{{{authorname}}}]]
|-
|-
|-
{{#if:{{{booklink_url|}}}|{{!}}'''Link''' {{!}}{{!}} [{{{booklink_url}}} {{{booklink_label}}}] | }}
|'''Link''' || [{{{booklink_url}}} {{{booklink_label}}}]
|-
|-
|}
|}
Line 25: Line 24:
"required": true
"required": true
},
},
"booklink": {
"booklink_url": {
"type": "url"
"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!

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

Unknownoptional
Book URL Labelbooklink_label

What do you want the link to say?

Default
Link
Stringoptional