Difference between revisions of "Template:ALO/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Pigsonthewing
({{Underused external link template|1=XXXX}})
blackwiki>Pigsonthewing
(translate into English)
Line 9: Line 9:
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|<ID>}}
 
{{ALO|<ID>}}
{{ALO|ID=<ID>}}
+
{{ALO|id=<ID>}}
{{ALO|<ID>|KeinText=Ja}}
+
{{ALO|<ID>|notext=yes}}
{{ALO|ID=<ID>|KeinText=Ja}}
+
{{ALO|id=<ID>|notext=yes}}
  
{{ALO|<ID>|<Seite>}}
+
{{ALO|<ID>|<Page>}}
{{ALO|ID=<ID>|Seite=<Seite>}}
+
{{ALO|id=<ID>|page=<Page>}}
{{ALO|<ID>|<Seite>|KeinText=Ja}}
+
{{ALO|<ID>|<Page>|notext=yes}}
{{ALO|ID=<ID>|Seite=<Seite>|KeinText=Ja}}
+
{{ALO|id=<ID>|page=<Page>|notext=yes}}
  
  
{{ALO|<ID>|<Seite>|<Linktext>}}
+
{{ALO|<ID>|<Page>|<LinkText>}}
{{ALO|ID=<ID>|Seite=<Seite>|Linktext=<Linktext>}}
+
{{ALO|id=<ID>|page=<Page>|linktext=<LinkText>}}
{{ALO|<ID>|<Seite>|<Linktext>|KeinText=Ja}}
+
{{ALO|<ID>|<Page>|<LinkText>|notext=y}}
{{ALO|ID=<ID>|Seite=<Seite>|Linktext=<Linktext>|KeinText=Ja}}
+
{{ALO|id=<ID>|page=<Page>|linktext=<LinkText>|notext=y}}
  
 
{{ALO|<ID>|C}}
 
{{ALO|<ID>|C}}
{{ALO|ID=<ID>|Kollektion=C}}
+
{{ALO|id=<ID>|collection=C}}
{{ALO|<ID>|C|KeinText=Ja}}
+
{{ALO|<ID>|C|notext=y}}
{{ALO|ID=<ID>|Kollektion=C|KeinText=Ja}}
+
{{ALO|id=<ID>|collection=C|notext=y}}
  
 
{{ALO|<ID>|C|<Linktext>}}
 
{{ALO|<ID>|C|<Linktext>}}
{{ALO|ID=<ID>|Kollektion=C|Linktext=<Linktext>}}
+
{{ALO|id=<ID>|collection=C|linktext=<LinkText>}}
{{ALO|<ID>|C|<Linktext>|KeinText=Ja}}
+
{{ALO|<ID>|C|<LinkText>|notext=y}}
{{ALO|ID=<ID>|Kollektion=C|Linktext=<Linktext>|KeinText=Ja}}
+
{{ALO|id=<ID>|collection=C|linktext=<LinkText>|notext=y}}
 
</pre>
 
</pre>
  
 
== Parameters ==
 
== Parameters ==
  
*'''Parameter 1''' or '''ID= :''' "objid" parameter of the ALO URL, which is the number after "objid=" until the next "&"
+
*'''Parameter 1''' or '''id= :''' "objid" parameter of the ALO URL, which is the number after "objid=" until the next "&"
*'''Parameter 2.1''' or '''Kollektion= :''' With C as the second parameter the entry list of a collektion is displayed.
+
*'''Parameter 2''' or '''collection= :''' With C as the second parameter the entry list of a collection is displayed.
*'''Parameter 2.2''' or '''Seite= :''' enables the entry of a specific page in the work. This entry is found in the URL at "&page=".
+
*'''Parameter 2.2''' or '''page= :''' enables the entry of a specific page in the work. This entry is found in the URL at "&page=".
*'''Parameter 3''' or '''Linktext= :''' text that is intended to appear instead of "Online".
+
*'''Parameter 3''' or '''linktext= :''' text that is intended to appear instead of "Online".
*'''KeinText= :''' if the explanatory attachment is not intended to appear, for example with numbers. The parameter must only have some content in order to work.
+
*'''notext= :''' if the explanatory attachment is not intended to appear, for example with numbers. The parameter must only have some content in order to work.
  
 
== Examples ==
 
== Examples ==
Line 52: Line 52:
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|1272}}
 
{{ALO|1272}}
{{ALO|ID=1272}}
+
{{ALO|id=1272}}
 
</pre>
 
</pre>
 
without entering the page number gives:  
 
without entering the page number gives:  
 
* {{ALO|1272}}
 
* {{ALO|1272}}
* {{ALO|ID=1272}}
+
* {{ALO|id=1272}}
  
 
'''to a specific page in the work:'''
 
'''to a specific page in the work:'''
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|1272|3}}
 
{{ALO|1272|3}}
{{ALO|ID=1272|Seite=3}}
+
{{ALO|id=1272|page=3}}
 
</pre>
 
</pre>
 
entering the page number gives:
 
entering the page number gives:
 
* {{ALO|1272|3}}  
 
* {{ALO|1272|3}}  
* {{ALO|ID=1272|Seite=3}}
+
* {{ALO|id=1272|page=3}}
  
 
'''Alternative link text:'''
 
'''Alternative link text:'''
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|1272|3|My page}}
 
{{ALO|1272|3|My page}}
{{ALO|1272|Linktext=My page}}
+
{{ALO|1272|linktext=My page}}
{{ALO|ID=1272|Seite=3|Linktext=My page}}
+
{{ALO|id=1272|page=3|linktext=My page}}
 
</pre>
 
</pre>
 
with the results:
 
with the results:
 
* {{ALO|1272|3|My page}}
 
* {{ALO|1272|3|My page}}
* {{ALO|1272|Linktext=My document}}
+
* {{ALO|1272|linktext=My document}}
* {{ALO|ID=1272|Seite=3|Linktext=My page}}
+
* {{ALO|id=1272|page=3|Linktext=My page}}
  
 
'''No explanation:'''
 
'''No explanation:'''
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
{{ALO|1272|3|My page|KeinText=Ja}}
+
{{ALO|1272|3|My page|notext=y}}
{{ALO|1272|Linktext=Online-1|KeinText=Ja}}, {{ALO|1272|Linktext=Online-2}}
+
{{ALO|1272|linktext=Online-1|notext=y}}, {{ALO|1272|linktext=Online-2}}
{{ALO|ID=1272|Seite=3|Linktext=My page|KeinText=Ja}}
+
{{ALO|id=1272|page=3|linktext=My page|notext=y}}
 
</pre>
 
</pre>
 
with the results:
 
with the results:
* {{ALO|1272|3|My page|KeinText=Ja}}
+
* {{ALO|1272|3|My page|notext=y}}
* {{ALO|1272|Linktext=Online-1|KeinText=Ja}}, {{ALO|1272|Linktext=Online-2}}
+
* {{ALO|1272|linktext=Online-1|notext=y}}, {{ALO|1272|linktext=Online-2}}
* {{ALO|ID=1272|Seite=3|Linktext=My page|KeinText=Ja}}
+
* {{ALO|id=1272|page=3|linktext=My page|notext=y}}
  
 
=== Collections ===
 
=== Collections ===
Line 98: Line 98:
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|1022|C}}
 
{{ALO|1022|C}}
{{ALO|ID=1022|Kollektion=C}}
+
{{ALO|id=1022|collection=C}}
 
</pre>
 
</pre>
 
* {{ALO|1022|C}}
 
* {{ALO|1022|C}}
* {{ALO|ID=1022|Kollektion=C}}
+
* {{ALO|id=1022|collection=C}}
  
 
'''List of a collection with documents:'''
 
'''List of a collection with documents:'''
 
<pre style="white-space:pre-wrap;">
 
<pre style="white-space:pre-wrap;">
 
{{ALO|1271|C}}
 
{{ALO|1271|C}}
{{ALO|ID=1271|Kollektion=C}}
+
{{ALO|id=1271|collection=C}}
 
</pre>
 
</pre>
 
* {{ALO|1271|C}}
 
* {{ALO|1271|C}}
* {{ALO|ID=1271|Kollektion=C}}
+
* {{ALO|id=1271|collection=C}}
  
  

Revision as of 12:47, 7 September 2016

Template:Underused external link template

This template creates a link to a volume or a collection at Austrian Literature Online (ALO).

Templates for copying

{{ALO|<ID>}}
{{ALO|id=<ID>}}
{{ALO|<ID>|notext=yes}}
{{ALO|id=<ID>|notext=yes}}

{{ALO|<ID>|<Page>}}
{{ALO|id=<ID>|page=<Page>}}
{{ALO|<ID>|<Page>|notext=yes}}
{{ALO|id=<ID>|page=<Page>|notext=yes}}


{{ALO|<ID>|<Page>|<LinkText>}}
{{ALO|id=<ID>|page=<Page>|linktext=<LinkText>}}
{{ALO|<ID>|<Page>|<LinkText>|notext=y}}
{{ALO|id=<ID>|page=<Page>|linktext=<LinkText>|notext=y}}

{{ALO|<ID>|C}}
{{ALO|id=<ID>|collection=C}}
{{ALO|<ID>|C|notext=y}}
{{ALO|id=<ID>|collection=C|notext=y}}

{{ALO|<ID>|C|<Linktext>}}
{{ALO|id=<ID>|collection=C|linktext=<LinkText>}}
{{ALO|<ID>|C|<LinkText>|notext=y}}
{{ALO|id=<ID>|collection=C|linktext=<LinkText>|notext=y}}

Parameters

  • Parameter 1 or id= : "objid" parameter of the ALO URL, which is the number after "objid=" until the next "&"
  • Parameter 2 or collection= : With C as the second parameter the entry list of a collection is displayed.
  • Parameter 2.2 or page= : enables the entry of a specific page in the work. This entry is found in the URL at "&page=".
  • Parameter 3 or linktext= : text that is intended to appear instead of "Online".
  • notext= : if the explanatory attachment is not intended to appear, for example with numbers. The parameter must only have some content in order to work.

Examples

Work:

  • At http://www.literature.at/viewer.alo?objid=1272&viewmode=overview the number representing the ID is: 1272
  • At http://www.literature.at/viewer.alo?objid=1272&viewmode=fullscreen&scale=2&page=3 the number representing the ID is: 1272 and the page number is: 3, it is the same as "Image 3" in the drop-down field

Information page of a work: (if you click the title of the work it links to it)

{{ALO|1272}}
{{ALO|id=1272}}

without entering the page number gives:

to a specific page in the work:

{{ALO|1272|3}}
{{ALO|id=1272|page=3}}

entering the page number gives:

Alternative link text:

{{ALO|1272|3|My page}}
{{ALO|1272|linktext=My page}}
{{ALO|id=1272|page=3|linktext=My page}}

with the results:

No explanation:

{{ALO|1272|3|My page|notext=y}}
{{ALO|1272|linktext=Online-1|notext=y}}, {{ALO|1272|linktext=Online-2}}
{{ALO|id=1272|page=3|linktext=My page|notext=y}}

with the results:

Collections

  • At http://www.literature.at/collection.alo?objid=1022&orderby=author&sortorder=a the number representing the ID is: 1022

The collection may be clicked at "Part of the collection(s)". There will be found either sub-collections or documents. The ID must be entered exactly as stated after "objid=" and before the next "&".

List of a collection with sub-collektions:

{{ALO|1022|C}}
{{ALO|id=1022|collection=C}}

List of a collection with documents:

{{ALO|1271|C}}
{{ALO|id=1271|collection=C}}