Template:Pullquote/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
mNo edit summary
>TheFrz
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


==Syntax==
==Usage==
<code><nowiki>{{quote|text|source=author}}</nowiki></code>
{{tlx|quote|''text''|''source{{=}}author''}}
 
===Parameters===
The following parameters are available:
{| class="wikitable"
! Parameter !! Description
|-
| {{code|text}}, {{code|t}} || the same as unnamed parameter {{code|<nowiki>{{{1}}}</nowiki>}}, can be used when there are {{code|{{=}}}} symbols inside of a quote
|-
| {{code|source}} ||
|-
| {{code|width}}, {{code|w}} || by default {{code|auto}}
|-
| {{code|text-align}}, {{code|ta}} || by default {{code|left}}
|-
| {{code|qmarkl}} and {{code|qmarkr}} || left and right glyphs of quotation respectively
|}
 
===Basic usage===
<pre>{{quote|What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.|[[Navali]], Hatungo of the Karui}}</pre>
{{quote|What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.|[[Navali]], Hatungo of the Karui}}
 


Additional parameters:
<pre>{{quote|text-align=center|Give a man a fish, and you can feed him for a day.<br>But give a fish a man, and you can feed it for a month.|source={{il|Song of the Sirens}}}}</pre>
* <code>text</code>, <code>t</code>
{{quote|text-align=center|Give a man a fish, and you can feed him for a day.<br>But give a fish a man, and you can feed it for a month.|source=flavour text on {{il|Song of the Sirens}}}}
* <code>source</code>
* <code>width</code>, <code>w</code>
* <code>text-align</code>, <code>ta</code>
* <code>pre</code>, <code>p</code>
* <code>qmarkl</code> and <code>qmarkr</code>


==Usage==
 
<pre>{{quote|What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.|source=Navali, Hatungo of the Karui}}</pre>
<pre>{{quote|width=50%|Wielders of the axe and sword often find themselves beset by multiple foes. Expecting this, a trained armsman will employ the deadly Cleave. With a single practiced stroke, a Cleave sweeps sideways to inflict grievous harm to anyone standing nearby, lopping off heads and limbs with ease. As a player gains skill with Cleave, they strike harder, and hit more enemies with each swing of their blade.|Description on the official Path of Exile website<ref>link</ref>}}</pre>
{{quote|What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.|source=Navali, Hatungo of the Karui}}
{{quote|width=50%|Wielders of the axe and sword often find themselves beset by multiple foes. Expecting this, a trained armsman will employ the deadly Cleave. With a single practiced stroke, a Cleave sweeps sideways to inflict grievous harm to anyone standing nearby, lopping off heads and limbs with ease. As a player gains skill with Cleave, they strike harder, and hit more enemies with each swing of their blade.|Description on the official Path of Exile website<ref>link</ref>}}

Revision as of 17:04, 12 July 2016

This subpage provides documentation for Template:Pullquote.

Usage

{{quote|text|source=author}}

Parameters

The following parameters are available:

Parameter Description
text, t the same as unnamed parameter {{{1}}}, can be used when there are = symbols inside of a quote
source
width, w by default auto
text-align, ta by default left
qmarkl and qmarkr left and right glyphs of quotation respectively

Basic usage

{{quote|What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.|[[Navali]], Hatungo of the Karui}}

What would you do if you knew what lay at the end of your path? If you could glimpse your future? If you could change it? For a small gift of silver, you can. Together we will change the stars. Together we will rewrite your prophecy.

Navali, Hatungo of the Karui


{{quote|text-align=center|Give a man a fish, and you can feed him for a day.<br>But give a fish a man, and you can feed it for a month.|source={{il|Song of the Sirens}}}}

Give a man a fish, and you can feed him for a day.
But give a fish a man, and you can feed it for a month.


{{quote|width=50%|Wielders of the axe and sword often find themselves beset by multiple foes. Expecting this, a trained armsman will employ the deadly Cleave. With a single practiced stroke, a Cleave sweeps sideways to inflict grievous harm to anyone standing nearby, lopping off heads and limbs with ease. As a player gains skill with Cleave, they strike harder, and hit more enemies with each swing of their blade.|Description on the official Path of Exile website<ref>link</ref>}}

Wielders of the axe and sword often find themselves beset by multiple foes. Expecting this, a trained armsman will employ the deadly Cleave. With a single practiced stroke, a Cleave sweeps sideways to inflict grievous harm to anyone standing nearby, lopping off heads and limbs with ease. As a player gains skill with Cleave, they strike harder, and hit more enemies with each swing of their blade.

Description on the official Path of Exile website[1]
  1. link