Difference between revisions of "Template:Cite wikisource/make link"
Jump to navigation
Jump to search
imported>Trappist the monk m (ce;) |
imported>Trappist the monk m (add documentation;) |
||
| Line 1: | Line 1: | ||
{{#if:{{{noicon|}}} | {{#if:{{{noicon|}}} | ||
|[[:s:{{#if:{{{language|}}}|{{{language}}}:}}{{#if:{{{anchor|}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}#{{{anchor}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}}}|{{{label|{{{link|}}}}}}]] | |[[:s:{{#if:{{{language|}}}|{{{language}}}:}}{{#if:{{{anchor|}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}#{{{anchor}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}}}|{{{label|{{{link|}}}}}}]] | ||
| − | |[[s:{{#if:{{{language|}}}|{{{language}}}:}}{{#if:{{{anchor|}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}#{{{anchor}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}}}|{{{label|{{{link|}}}}}}]]}} | + | |[[s:{{#if:{{{language|}}}|{{{language}}}:}}{{#if:{{{anchor|}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}#{{{anchor}}}|{{{link|}}}{{#if:{{{chapter|}}}|/{{{chapter}}}}}}}|{{{label|{{{link|}}}}}}]]}}<noinclude> |
| + | {{documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 14:03, 6 April 2019
[[s:|]]
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 -->
}}
| The above documentation is transcluded from Template:Cite wikisource/make link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |