44 lines
1.0 KiB
HTML
44 lines
1.0 KiB
HTML
{{/*
|
||
|
||
A template for citing books inspired by the "cite book" template of Wikipedia.
|
||
<https://en.wikipedia.org/wiki/Template:Cite_book>
|
||
|
||
### Example
|
||
|
||
```md
|
||
{{< cite_book
|
||
chapter = "1.2 How We Will Get There"
|
||
pages = "2-6"
|
||
|
||
title = "Introduction to Computing Systems – from Bits & Gates to C & Beyond"
|
||
url = "https://web.archive.org/web/20170421220229/http://www.mhhe.com/engcs/compsci/patt/"
|
||
edition = "1"
|
||
date = "2001"
|
||
publisher = "McGraw-Hill Higher Education"
|
||
isbn = "9780072376906"
|
||
|
||
author = "Patt, Yale N."
|
||
author2 = "Patel, Sanjay J."
|
||
|
||
original_url = "http://www.mhhe.com/patt/"
|
||
archive_date = "2017-04-21"
|
||
>}}
|
||
```
|
||
|
||
*/}}
|
||
|
||
{{ partial "cite_book.html" (dict
|
||
"chapter" (.Get "chapter")
|
||
"pages" (.Get "pages")
|
||
"title" (.Get "title")
|
||
"edition" (.Get "edition")
|
||
"url" (.Get "url")
|
||
"date" (.Get "date")
|
||
"publisher" (.Get "publisher")
|
||
"isbn" (.Get "isbn")
|
||
"author" (.Get "author")
|
||
"author2" (.Get "author2")
|
||
"original_url" (.Get "original_url")
|
||
"archive_date" (.Get "archive_date")
|
||
) }}
|