Шаблон:Quotation — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div><div style="line-height: 1.53846em;"> | <blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div><div style="line-height: 1.53846em;"> | ||
{{{2|Quoted text.}}} | {{{2|Quoted text.}}} | ||
− | </div><p style=" | + | </div>{{#ifeq: {{{1}}} | <!-- blank --> || <p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{1|}}} }} |
| game = Внутриигровое описание | | game = Внутриигровое описание | ||
| website = Официальный сайт | | website = Официальный сайт | ||
| #default = {{{1|Quotation source}}} | | #default = {{{1|Quotation source}}} | ||
− | }}</p> | + | }}</p> }} |
{{#if: {{{3|}}}|<p style="margin-bottom:0;">{{{3|}}}</p>|}} | {{#if: {{{3|}}}|<p style="margin-bottom:0;">{{{3|}}}</p>|}} | ||
</blockquote><noinclude> | </blockquote><noinclude> | ||
Строка 18: | Строка 18: | ||
=== Parameters === | === Parameters === | ||
− | ; ''unnamed parameter'' | + | ;1 ''(unnamed parameter)'' |
− | : Quotation source. Can be a custom value or a predefined value | + | : Quotation source. Can be a custom value or a predefined value. If left blank, hides the source line. |
:* <code>game</code> - In-game description | :* <code>game</code> - In-game description | ||
:* <code>website</code> – Official website | :* <code>website</code> – Official website | ||
:* <code>manual</code> – Game manual | :* <code>manual</code> – Game manual | ||
− | ; ''unnamed parameter'' | + | ;2 ''(unnamed parameter)'' |
: Quoted text. | : Quoted text. | ||
− | ; ''unnamed parameter'' | + | ;3 ''(unnamed parameter)'' |
− | : P.S. | + | : Optional. P.S. |
; icon | ; icon | ||
: Optional. Displays an icon to the left. | : Optional. Displays an icon to the left. |
Текущая версия на 01:10, 11 марта 2022
“Quoted text.
— Quotation source
Description[править]
{{Quotation|<source>| <text> }}
This template is used to mark text passages as quotations from official source.
Parameters[править]
- 1 (unnamed parameter)
- Quotation source. Can be a custom value or a predefined value. If left blank, hides the source line.
-
game
- In-game description -
website
– Official website -
manual
– Game manual
-
- 2 (unnamed parameter)
- Quoted text.
- 3 (unnamed parameter)
- Optional. P.S.
- icon
- Optional. Displays an icon to the left.
- icon-size
- Optional. Modifies the space for the icon.