Module wikitrek-DTBase

Return a URL for the external IDentifier

Functions

p.SemanticToEntity (frame) Set the semantic property for the linked DataTrek entity on the current page
p.SemanticToItem (frame) Set the semantic property for the linked DataTrek entity on the current page to be used as a plain text string
p.LabelOrLink (QItem[, SMWProperty=nil[, AddSemantic=false[, ForcedLabel=""[, ForceString=false]]]]) Return a label ora wikilink or a link to the special Placeholder page for a given Property Return string containing label or link
p.MakeNavTable (Item[, Title="Navigatore"]) Three dashes indicate the beginning of a function or field documented using the LDoc format
p.ListBackReferences (frame) generates a list of backlink using SMW query.
p.PropertyList (PName, SMWPrefix) Writes a gneric UL list from property, adding SMW link if specified


Functions

p.SemanticToEntity (frame)
Set the semantic property for the linked DataTrek entity on the current page

Parameters:

  • frame The frame of the page
p.SemanticToItem (frame)
Set the semantic property for the linked DataTrek entity on the current page to be used as a plain text string

Parameters:

  • frame The frame of the page
p.LabelOrLink (QItem[, SMWProperty=nil[, AddSemantic=false[, ForcedLabel=""[, ForceString=false]]]])
Return a label ora wikilink or a link to the special Placeholder page for a given Property Return string containing label or link

Parameters:

  • QItem The item identifier in the from 'Q0'
  • SMWProperty Name of the semantic property to add (default nil)
  • AddSemantic Wether to add sematinc or not (default false)
  • ForcedLabel Specific label to show regardless DataTrek values (default "")
  • ForceString Force to return string even in case of Page that should return link (default false)

Returns:

    string String containing label or wikilink
p.MakeNavTable (Item[, Title="Navigatore"])
Three dashes indicate the beginning of a function or field documented using the LDoc format

Parameters:

  • Item Father of Previous and Next
  • Title (default "Navigatore")

Returns:

    Table
p.ListBackReferences (frame)
generates a list of backlink using SMW query.

Parameters:

  • frame Info from MW session

Returns:

    A bullet list of backlinks
p.PropertyList (PName, SMWPrefix)
Writes a gneric UL list from property, adding SMW link if specified

Parameters:

  • PName Info from MW session
  • SMWPrefix

Returns:

    A bullet list of backlinks
generated by LDoc 1.0 Last updated 2025-03-21 22:04:18