Vorlage:Quotation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K (Der Seiteninhalt wurde durch einen anderen Text ersetzt: „Kategorie:Formatvorlagen </noinclude>“)
Zeile 1: Zeile 1:
<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid #AAA; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: #AAA;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div>
+
[[Kategorie:Formatvorlagen]]
{{{2|Quoted text.}}}
 
<p style="text-align: right; font-size: 0.9em;">— {{ #switch: {{ lc: {{{1|}}} }}
 
| in-game          | game    = In-game description
 
| official website | website = Official website
 
| kami sancturary  | kami    = Kami Sanctuary
 
| karavan temple  | karavan = Karavan Temple
 
| the chronicles  | chronicle = The Chronicles
 
| game manual      | manual  = [[Gameplay manual|Game manual]]
 
| #default                  = {{{1|Quotation source}}}
 
}}</p>
 
</blockquote><noinclude>
 
 
 
__NOTOC__
 
{{Trad
 
|DE=Vorlage:Quotation
 
|EN=Template:Quotation
 
|ES=Plantilla:Quotation
 
|FR=Modèle:Quotation
 
|RU=Шаблон:Quotation
 
}}
 
==Description==
 
===Without optional fields===
 
<pre>
 
{{Quotation|<source>|
 
<text>
 
}}
 
</pre>
 
 
 
===With Optional fields===
 
<pre>
 
{{Quotation|<source>|icon=<icon>|icon-size=<integer>|
 
<text>
 
}}
 
</pre>
 
 
 
This template is used to mark text passages as quotations from official source.
 
 
 
==Parameters==
 
; ''unnamed parameter'' 1
 
: Quotation source. Can be a custom value or a predefined value:
 
:* <code>game</code> - In-game description
 
:* <code>website</code> – Official website
 
:* <code>kami</code> - Kami Sanctuary
 
:* <code>karavan</code> – Karavan Temple
 
:* <code>chronicle</code> - The Chronicles
 
:* <code>manual</code> – Game manual
 
; ''unnamed parameter'' 2
 
: Quoted text.
 
; icon
 
: Optional. Displays an icon to the left.
 
; icon-size
 
: Optional. Modifies the space for the icon.
 
 
 
[[Category:Formatting templates|Quotation]] [[Category:Formatvorlagen|Quotation]]
 
 
</noinclude>
 
</noinclude>

Version vom 7. November 2021, 16:04 Uhr