Template:Quote/doc: Difference between revisions

From AnthroWiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Diese Vorlage dient der vereinfachten Einbindung von Literaturzitaten.
{{Thousandfold}}


== Format ==
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.
{| class="wikitable"
! Parameter-Number !! Parameter-Name !! Kommentar/Beispiel
|-
|style="text-align:center"| 1 || text || Quote
|-
|style="text-align:center"| 2 || author  || Authors (first name surname, ...)
|-
|style="text-align:center"| 3 || source || Details of the source in which the quotation can be found
|-
|style="text-align:center"| — || lang || Code according to RFC 4646 for the language in which the original is written, e.g. "<tt>en</tt>", "<tt>en-US</tt>" or "<tt>ar-Latn-EG</tt>", see also [[Template:Lang]].
|-
|style="text-align:center"| — || before || Placeholder for marks that differ from German inverted commas before the quotation
|-
|style="text-align:center"| — || after || Placeholder for markings deviating from German inverted commas after the quotation
|-
|style="text-align:center"| — || transcription || Transcription of the characters of the original writing system into the characters of the Latin alphabet.
|-
|style="text-align:center"| — || translation || English translation of the quote
|-
|style="text-align:center"| — || ref || Reference
|}
== Copy ==
Long form:
<pre><nowiki>
<pre><nowiki>
{{Quote|Text|Literaturverweis}}
{{Quote
| text=
| author=
| source=
| lang=
| before=
| after=
| transcription=
| translation=
| ref=<ref></ref>}}
</nowiki></pre>
</nowiki></pre>


z.B. ergibt:
Often the following short form is sufficient:
<pre><nowiki>
{{Quote
| text=
| author=
| source=
| ref=<ref></ref>}}
</nowiki></pre>


<code><nowiki>
== See also ==
{{Quote|Tatsächlich liegen einwandfrei beglaubigte Zeugnisse von Transmutationen aus dem 16., 17. und 18. Jahrhundert vor ...|Bernus 1994}}
</nowiki></code>
 
das folgende Zitat:
 
{{Quote|Tatsächlich liegen einwandfrei beglaubigte Zeugnisse von Transmutationen aus dem 16., 17. und 18. Jahrhundert vor ...|Bernus 1994}}
 
<hr>
 
Wird der Text weggelassen, kann diese Vorlage auch analog der [[Template:Lit]] als reiner Literaturlink verwendet werden:
 
<code><nowiki>
Bernus berichtet, dass es aus dem aus dem 16., 17. und 18. Jahrhundert beglaubigte Zeugnisse von Transmutationen gebe {{Quote||Bernus 1994}}.
</nowiki></code>
 
ergibt:
 
Bernus berichtet, dass es aus dem aus dem 16., 17. und 18. Jahrhundert beglaubigte Zeugnisse von Transmutationen gebe {{Quote||Bernus 1994}}.
 
=== Problem: Sonderzeichen in Parameterwerten ===
Wenn Sonderzeichen der Wikisyntax und vor allem der Vorlagensyntax im Text benutzt werden müssen, können Probleme auftreten.
 
Ein Ersatz durch eine entsprechende [[Wikipedia:Entitäten in Auszeichnungssprachen#Zeichen-Entitäten|HTML-Entität]] löst das Problem. In [[Wikipedia:Uniform Resource Locator|URLs]] kann gegebenenfalls auch [[Wikipedia:URL-Encoding|URL-Encoding]] verwendet werden.
 
Leerzeichen zu Beginn und am Ende von Werten benannter Parameter werden „geschluckt“; <code>*</code>&nbsp;und <code>#</code> am Beginn eines Parameterwertes werden als Wikisyntax für Aufzählungszeichen interpretiert, wenn innerhalb der Vorlage der Zeilenumbruch vorgesehen ist. Sind mehrere Zeichen vorhanden, die ersetzt werden müssten, so ist es eine lesbarere Variante, den Text in <code>&lt;nowiki></code>…<code>&lt;/nowiki></code> einzufassen - allerdings nur, wenn nichts darin als Wikisyntax interpretiert werden soll!
 
{| class="wikitable"
! class="hintergrundfarbe8" | Zeichen
| <code>&#123;</code>
| <code>&#124;</code>
| <code>&#125;</code>
| <code>&#61;</code>
| <code>&#91;</code>
| <code>&#93;</code>
| <code>&#42;</code>
| <code>&#35;</code>
| <code>&#58;</code>
| <code>&#59;</code>
| Leerzeichen
| <code>&lt;</code>
| <code>&gt;</code>
|-
! class="hintergrundfarbe8" | Entity
| <code>&amp;#123;</code>
| <code>&amp;#124;</code>
| <code>&amp;#125;</code>
| <code>&amp;#61;</code>
| <code>&amp;#91;</code>
| <code>&amp;#93;</code>
| <code>&amp;#42;</code>
| <code>&amp;#35;</code>
| <code>&amp;#58;</code>
| <code>&amp;#59;</code>
| <code>&amp;#32;</code>
| <code>&amp;lt;</code>
| <code>&amp;gt;</code>
|}


== Literatur ==
* [[Template:G]] - Link to [[GA]] without quoted text.
* [[Alexander von Bernus]]: ''Alchymie und Heilkunst'' 5. Auflage Dornach 1994 ISBN 3-7235-0757-3 (1. Auflage von 1936)
* [[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.


== Siehe auch ==
== References ==


* [[Template:G]] - Literaturlink zur [[GA]] ohne zitiertem Text.
<references />
* [[Template:GZ]] - Literaturlink zur [[GA]] mit zitiertem Text.
* [[Template:GGZ]] - für mehrere aufeinanderfolgende Zitate aus dem selben Band der [[GA]] wird nur mehr die Seitenzahl angegeben.


[[Category:Template:Citation]]
[[Category:Template:Citation]]

Latest revision as of 14:01, 19 February 2021

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