Module:SB/doc: Difference between revisions

From Teopedia
No edit summary
(+footnote)
Line 1: Line 1:
Functions for [[HPB-SB|HPB Scrapbooks]]
{{TOC right}}
Lua functions for [[HPB-SB|HPB Scrapbooks]].


== Usage ==
== Functions ==


* '''item_id'''
=== 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 01: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"}}


Module code