Difference between revisions of "Template:Quotation"

From EncyclopAtys

Jump to: navigation, search
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 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>
 
<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>
 
{{{2|Quoted text.}}}
 
{{{2|Quoted text.}}}
<p style="text-align: right; font-size: 0.9em;">{{ #switch: {{ lc: {{{1|}}} }}
+
{{ #if: {{{1|}}} | <p style="text-align: right; font-size: 0.9em;">  {{ #switch: {{ lc: {{{1|}}} }}
 
| in-game          | game    = In-game description
 
| in-game          | game    = In-game description
 
| official website | website = Official website
 
| official website | website = Official website
Line 9: Line 9:
 
| game manual      | manual  = [[Gameplay manual|Game manual]]
 
| game manual      | manual  = [[Gameplay manual|Game manual]]
 
| #default                  = {{{1|Quotation source}}}
 
| #default                  = {{{1|Quotation source}}}
}}</p>
+
}}</p> }}
 
</blockquote><noinclude>
 
</blockquote><noinclude>
  
 
__NOTOC__
 
__NOTOC__
 +
{{Trad
 +
|DE=Vorlage:Quotation
 +
|EN=Template:Quotation
 +
|ES=Plantilla:Quotation
 +
|FR=Modèle:Quotation
 +
|RU=Шаблон:Quotation
 +
}}
 +
 
==Description==
 
==Description==
 
===Without optional fields===
 
===Without optional fields===

Latest revision as of 18:01, 21 January 2023

Quoted text.


de:Vorlage:Quotation
en:Template:Quotation
es:Plantilla:Quotation
fr:Modèle:Quotation
ru:Шаблон:Quotation
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Nilstilar, 2023-01-21)


Description

Without optional fields

{{Quotation|<source>|
<text>
}}

With Optional fields

{{Quotation|<source>|icon=<icon>|icon-size=<integer>|
<text>
}}

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:
  • game - In-game description
  • website – Official website
  • kami - Kami Sanctuary
  • karavan – Karavan Temple
  • chronicle - The Chronicles
  • manual – Game manual
unnamed parameter 2
Quoted text.
icon
Optional. Displays an icon to the left.
icon-size
Optional. Modifies the space for the icon.