Module:SB/doc: Difference between revisions

From Teopedia
(+footnote)
mNo edit summary
Line 5: Line 5:


=== item_id ===
=== item_id ===
Called from {{t|HPB-SB-item}} for setting semantic property {{p|HPB SB item ID}}.
<pre>
<pre>
{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}
{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}

Revision as of 02:18, 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: 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