Template:Source: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
m (RailML Coord Documentation moved page Template:Ref to Template:Source: Verwechslungsgefahr mit <ref>-Tag) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
</noinclude>{{#if:{{{place|}}}|{{#vardefine:trenner|, }}}}<noinclude> | </noinclude>{{#if:{{{place|}}}|{{#vardefine:trenner|, }}}}<noinclude> | ||
</noinclude>{{#ifeq:{{#var:trenner}}|, |{{#vardefine:semi|; }}}}<noinclude> | </noinclude>{{#ifeq:{{#var:trenner}}|, |{{#vardefine:semi|; }}}}<noinclude> | ||
</noinclude>{{#if:{{{in|}}}|{{#vardefine:in|; in: ''{{{in}}}''}}}}<noinclude> | |||
</noinclude>{{#if:{{{number|}}}|{{#vardefine:number| {{{number}}}''}}}}<noinclude> | |||
</noinclude>{{#if:{{{citation|}}}|{{#vardefine:bracket|1}}}}<noinclude> | </noinclude>{{#if:{{{citation|}}}|{{#vardefine:bracket|1}}}}<noinclude> | ||
</noinclude>{{#if:{{{comment|}}}|{{#vardefine:bracket|1}}}}<noinclude> | </noinclude>{{#if:{{{comment|}}}|{{#vardefine:bracket|1}}}}<noinclude> | ||
</noinclude>{{{author|{{fixme}}}}}: {{{title|{{fixme}}}}}{{{number | </noinclude>{{{author|{{fixme}} [[Template:source]] requires an argument {{enum|author}}. When in doubt state ''author=unknown''}}}: {{{title|{{fixme}}}}}{{#var:in}}{{#var:number}}{{#var:semi}}{{{publisher|}}}{{#var:trenner}}{{{place|}}} {{{date|}}} {{{page|}}} {{#if:{{{lang|}}}|{{lang|{{{lang}}}}}}}{{#ifeq:{{#var:bracket}}|1| (}}{{#if:{{{citation|}}}|<i>{{{citation}}}</i>}} {{{comment|}}}{{#ifeq:{{#var:bracket}}|1|)}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
This template is intended to standardize references to sources without a web link. If it is possible to link to a source, please use another template listed [[Dev:Wiki_Documentation_Guidelines#References_outside_our_wikis|here]] | This template is intended to standardize references to sources without a web link. If it is possible to link to a source, please use another template listed [[Dev:Wiki_Documentation_Guidelines#References_outside_our_wikis|here]] | ||
{{note|An outline on Citations and References within the {{rml}} wikis can be found '''[[Dev:Wiki_Documentation_Guidelines#Citations_and_References|here]]'''.}} | |||
== Arguments == | == Arguments == | ||
*''title'' (required): The (book-) title | *''title'' (required): The (book-) title | ||
*''author'' (required): The author(s) | *''author'' (required): The author(s) – can be ''unknown'', but '''must not''' stay empty | ||
*''date'': the publication date (or simply year) of the source | *''date'': the publication date (or simply year) of the source | ||
*''publisher'': The publisher | *''publisher'': The publisher | ||
*''place'': The publishing place | *''place'': The publishing place | ||
*''type'': the source type, e.g. book, periodical or disc | *''type'': the source type, e.g. book, periodical or disc | ||
*''in'': If part of an edited volume, periodical etc.: The title of the volume or series | |||
*''lang'': the language of the source, e.g. EN | *''lang'': the language of the source, e.g. EN | ||
*''number'': the issue number of a periodical or series | *''number'': the issue number of a periodical or series | ||
Line 22: | Line 27: | ||
*''citation'': here you can cite a short text portion | *''citation'': here you can cite a short text portion | ||
*''comment'': anything that does not fit into the other parameters; a string to be displayed directly | *''comment'': anything that does not fit into the other parameters; a string to be displayed directly | ||
*''inline'': dummyargument. Set inline=1 whenever you employ the template outside <<nowiki />ref> tags to show that this is on purpose not in a footnote. | |||
==Examples== | ==Examples== | ||
<pre>{{ | <pre>{{source|title=Critias|author=Plato}}</pre>delivers: | ||
{{source|title=Critias|author=Plato}} | |||
<pre>{{source|title=Die unendliche Geschichte|author=Michael Ende|publisher=Thienemanns|place=Stuttgart|date=1979|lang=de}}</pre>delivers: | |||
{{ | {{source|title=Die unendliche Geschichte|author=Michael Ende|publisher=Thienemanns|place=Stuttgart|date=1979|lang=de}} | ||
{{interwiki}} | {{interwiki|2=all}} | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:44, 12 June 2024
Usage
This template is intended to standardize references to sources without a web link. If it is possible to link to a source, please use another template listed here
|
Arguments
- title (required): The (book-) title
- author (required): The author(s) – can be unknown, but must not stay empty
- date: the publication date (or simply year) of the source
- publisher: The publisher
- place: The publishing place
- type: the source type, e.g. book, periodical or disc
- in: If part of an edited volume, periodical etc.: The title of the volume or series
- lang: the language of the source, e.g. EN
- number: the issue number of a periodical or series
- page: the page number of the citation
- citation: here you can cite a short text portion
- comment: anything that does not fit into the other parameters; a string to be displayed directly
- inline: dummyargument. Set inline=1 whenever you employ the template outside <ref> tags to show that this is on purpose not in a footnote.
Examples
{{source|title=Critias|author=Plato}}
delivers:
Plato: Critias
{{source|title=Die unendliche Geschichte|author=Michael Ende|publisher=Thienemanns|place=Stuttgart|date=1979|lang=de}}
delivers:
Michael Ende: Die unendliche Geschichte; Thienemanns, Stuttgart 1979 🇩🇪