Template:Quote: Difference between revisions

From AnthroWiki
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="margin-left:20px">
<includeonly><div class="Vorlage_Zitat" style="margin:1em 40px;">
"{{{1}}}"<ref>{{{2}}}</ref>
<div style="margin:1em 0;"><blockquote {{#if: {{{lang|}}} | lang="{{{lang}}}" }} style="margin:0;">
</div></includeonly><noinclude>{{Documentation}}</noinclude>
{{{before|„}}}{{#if:x|{{{1|{{{text|}}}}}}}}<nowiki />{{{after|“}}}{{#if: {{{transcription|}}}{{{translation|}}}{{{2|{{{author|}}}}}}{{{3|{{{source|}}}}}} || {{{ref|}}} }}
</blockquote>
{{#if: {{{transcription|}}}
|<blockquote style="margin:0;">
{{{vor|„}}}{{{transcription}}}<nowiki />{{{nach|“}}}{{#if: {{{translation|}}}{{{2|{{{author|}}}}}}{{{3|{{{source|}}}}}} || {{{ref|}}} }}
</blockquote>
}}{{#if: {{{translation|}}}
|<blockquote style="margin:0;">
„{{{translation}}}<nowiki />“{{#if: {{{2|{{{author|}}}}}}{{{3|{{{source|}}}}}} || {{{ref|}}} }}
</blockquote>
}}</div>{{#if: {{{2|{{{author|}}}}}}
|<div style="margin:-1em 0 1em 1em;">– <span class="Person">{{#if:x|{{{2|{{{author}}}}}}}}</span>{{#if: {{{3|{{{source|}}}}}} | &#58; {{{3|{{{source}}}}}} }}{{{ref|}}}</div>
|{{#if: {{{3|{{{source|}}}}}}
  |<div style="margin:-1em 0 1em 1em;">– {{#if:x|{{{3|{{{source}}}}}}}}{{{ref|}}}</div>
}}
}}</div></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:58, 19 February 2021

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[view] [edit] [history] [purge]
This template is integrated many times. If you know exactly what the effects are, you can edit it. In most cases, however, it makes sense to first vote on change requests on Template Discussion.

This template is used to simplify the integration of literature citations.

Parameters

All parameters except the quote (parameter no. 1) are optional. Parameters 1 to 3 can be addressed by name and the remaining parameters must be addressed by name. For parameters that are addressed by their name, the order in which they are named is optional.

Parameter-Number Parameter-Name Kommentar/Beispiel
1 text Quote
2 author Authors (first name surname, ...)
3 source Details of the source in which the quotation can be found
lang Code according to RFC 4646 for the language in which the original is written, e.g. "en", "en-US" or "ar-Latn-EG", see also Template:Lang.
before Placeholder for marks that differ from German inverted commas before the quotation
after Placeholder for markings deviating from German inverted commas after the quotation
transcription Transcription of the characters of the original writing system into the characters of the Latin alphabet.
translation English translation of the quote
ref Reference

Copy

Long form:

{{Quote
 | text=
 | author=
 | source=
 | lang=
 | before=
 | after=
 | transcription=
 | translation=
 | ref=<ref></ref>}}

Often the following short form is sufficient:

{{Quote
 | text=
 | author=
 | source=
 | ref=<ref></ref>}}

See also

  • Template:G - Link to GA without quoted text.
  • Template:GZ - Link to GA with quoted text.
  • Template:GGZ - for several consecutive quotations from the same volume of the GA, only the page number is given.

References