Difference between revisions of "Template:Cite wikisource/make link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
(create;)
 
imported>WOSlinker
m (change source to syntaxhighlight)
 
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
  
<source lang="moin">{{cite wikisource/make link
+
<syntaxhighlight lang="moin">{{cite wikisource/make link
 
   |language=    <!-- cite wikisource only; language code for non-English wikisources (second-level subdomain name) -->
 
   |language=    <!-- cite wikisource only; language code for non-English wikisources (second-level subdomain name) -->
 
   |link=        <!-- wikisource article name -->
 
   |link=        <!-- wikisource article name -->
Line 12: Line 12:
 
   |label=      <!-- the label portion of a wikilink: [[link|label]] -->
 
   |label=      <!-- the label portion of a wikilink: [[link|label]] -->
 
   |noicon=      <!-- when set to any value uses [[:s:...]] interwiki link style to prevent Module:Citation/CS1 from rendering the wikisource icon -->
 
   |noicon=      <!-- when set to any value uses [[:s:...]] interwiki link style to prevent Module:Citation/CS1 from rendering the wikisource icon -->
}}</source>
+
}}</syntaxhighlight>
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:00, 7 July 2020

This is a service template for {{cite wikisource}} and {{cite DNB}}. Its purpose is to create properly formatted interwiki links into Wikisource.

Usage

{{cite wikisource/make link
  |language=    <!-- cite wikisource only; language code for non-English wikisources (second-level subdomain name) -->
  |link=        <!-- wikisource article name -->
  |anchor=      <!-- modifies {{{link}}}{{{link}}}#{{{anchor}}} -->
  |label=       <!-- the label portion of a wikilink: [[link|label]] -->
  |noicon=      <!-- when set to any value uses [[:s:...]] interwiki link style to prevent Module:Citation/CS1 from rendering the wikisource icon -->
}}