Difference between revisions of "Module:SB/doc"
Jump to navigation
Jump to search
(+footnote) |
|||
Line 1: | Line 1: | ||
− | + | {{TOC right}} | |
+ | Lua functions for [[HPB-SB|HPB Scrapbooks]]. | ||
− | == | + | == Functions == |
− | + | === item_id === | |
− | <pre>{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }} | + | <pre> |
+ | {{#invoke: SB | item_id | volume=1 | page=17 | item=4 }} | ||
+ | </pre> | ||
+ | |||
+ | === footnote === | ||
+ | Called from {{t|HPB-SB-item}}. | ||
+ | |||
+ | <pre> | ||
+ | {{#invoke: footnote | ||
+ | | title= | ||
+ | | author= | ||
+ | | author_signed= | ||
+ | | type= | ||
+ | | source_title= | ||
+ | | source_details= | ||
+ | | notes= | ||
+ | | archivist_notes= | ||
+ | }} | ||
</pre> | </pre> | ||
Revision as of 04:35, 6 December 2022
Lua functions for HPB Scrapbooks.
Functions
item_id
{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}
footnote
Called from {{HPB-SB-item}}.
{{#invoke: footnote | title= | author= | author_signed= | type= | source_title= | source_details= | notes= | archivist_notes= }}
Debug example
=p.item_id{args={["volume"]="1",["page"]="17.2",["item"]="3"}}