Difference between revisions of "Template:URLsingle"

From Theatrum Paracelsicum
Line 17: Line 17:
</noinclude><includeonly>{{
</noinclude><includeonly>{{
#if:{{#pos:{{{1|}}}| $ }}
#if:{{#pos:{{{1|}}}| $ }}
   | [{{#sub:{{{1|}}}|0|{{#pos:{{{1|}}}| $ }}}} {{#sub:{{{1|}}}|{{#expr:{{#pos:{{{1|}}}| $ }}+2}}}}]{{CategoryCreate|Libraries - {{#sub:{{{1|}}}|{{#expr:{{#pos:{{{1|}}}| $ }}+2}}}}<!-- - Online Catalogue-->}}
   | [{{#explode:{{{1|}}}| $ |0}} {{#explode:{{{1|}}}| $ |1}}]{{
  | [{{{1|}}} Link to copy]{{CategoryCreate|Libraries - 00 - Online Catalogue}}
    #switch:{{{Category|}}}
      | none
      | None =
      | Collection
      | Collections = {{CategoryCreate|Collections - {{#explode:{{{1|}}}| $ |1}}}}
      | Library
      | Libraries
      | #default = {{CategoryCreate|Libraries - {{#explode:{{{1|}}}| $ |1}}}}
      }}
  | {{
    #switch:{{{Category|}}}
      | none
      | None = [{{{1|}}} {{{1|}}}]
      | Collection
      | Collections = [{{{1|}}} Link to object]{{CategoryCreate|Collections - 00 - Online Catalogue}}
      | Library
      | Libraries
      | #default = [{{{1|}}} Link to copy]{{CategoryCreate|Libraries - 00 - Online Catalogue}}
      }}
}}</includeonly>
}}</includeonly>

Revision as of 00:14, 2 October 2023



Usage:

{{URLsingle|https://opacplus.bsb-muenchen.de/title/BV009599623}}

{{URLsingle|https://opacplus.bsb-muenchen.de/title/BV009599623 $ Munich, State Library}}

Link to copy[[Category: Libraries - 00 - Online Catalogue]]

Munich, State Library[[Category: Libraries - Munich, State Library]]