Module:SB/doc: Difference between revisions

no edit summary
(Created page with "Functions for HPB Scrapbooks * '''item_id''' <pre>{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }} </pre>")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Functions for [[HPB-SB|HPB Scrapbooks]]
<div style="float: right; border: 1px solid black; padding: 0 5px; font-size: 80%;">[[Module:SB/doc|doc]]</div>


* '''item_id'''
{{TOC right}}
<pre>{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}
Lua functions for [[HPB-SB|HPB Scrapbooks]].
 
== Functions ==
 
=== item_id ===
Called from {{t|HPB-SB-item}} for setting semantic property {{p|HPB SB item ID}}.
 
<pre>
{{#invoke: SB | item_id | volume=1 | page=17 | item=4 }}
</pre>
</pre>
=== footnote ===
Called from {{t|HPB-SB-item}}.
<pre>
{{#invoke: SB | footnote
| title=
| author=
| author_signed=
| type=
| source_title=
| source_details=
| notes=
| archivist_notes=
| language =
| translator =
}}
</pre>
== [https://www.mediawiki.org/wiki/Extension:Scribunto/Debug_console Debug] example ==
<pre>=p.item_id{args={["volume"]="1",["page"]="17.2",["item"]="3"}}</pre>
[[t-ru-lib:Module:SB]]
== Module code ==