Difference between revisions of "Template:ArchiveLink/doc"

From Erfwiki
Jump to: navigation, search
m
(Update with label parameter)
Line 1: Line 1:
 
<includeonly>{{doc}}</includeonly>
 
<includeonly>{{doc}}</includeonly>
For linking to the Erfworld Archives. Provide the Book and Page as uses by the archives URL scheme, such Book+1/1.
+
For linking to the Erfworld Archives. Provide the Book and Page as uses by the archives URL scheme, such Book+1/1, and a string for the link text.
 
==Usage==
 
==Usage==
<pre>{{ArchiveLink|Book|Page}}</pre>
+
<pre>{{ArchiveLink|Book|Page|Label}}</pre>
 
==Example==
 
==Example==
<pre>{{ArchiveLink|Book+1|1}}</pre>
+
<pre>{{ArchiveLink|Book+1|1|Book 1, 1}}</pre>
{{ArchiveLink|Book+1|1}}
+
{{ArchiveLink|Book+1|1|Book 1 - Page 1}}
  
 
[[Category:Function Templates]]
 
[[Category:Function Templates]]

Revision as of 20:37, 30 May 2015

For linking to the Erfworld Archives. Provide the Book and Page as uses by the archives URL scheme, such Book+1/1, and a string for the link text.

Usage

{{ArchiveLink|Book|Page|Label}}

Example

{{ArchiveLink|Book+1|1|Book 1, 1}}

Book 1 - Page 1