Module:SB/doc: Difference between revisions

From Teopedia
mNo edit summary
mNo edit summary
Line 15: Line 15:


<pre>
<pre>
{{#invoke: footnote  
{{#invoke: SB | footnote  
  | title=
  | title=
  | author=
  | author=

Revision as of 02:20, 6 December 2022

Lua functions for HPB Scrapbooks.

Functions

item_id

Called from {{HPB-SB-item}} for setting semantic property [[HPB SB item ID]].

{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}

footnote

Called from {{HPB-SB-item}}.

{{#invoke: SB | 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"}}


Module code