Template:Portal selected quote layout

From blackwiki
Jump to navigation Jump to search
Noflag2.svg

Template:Pull quote

Template documentation[view] [edit] [history] [purge]

Usage

  • Use this template to replace any portal specific quote template.
  • Additional layouts can be added on request.

Layout template

{{Portal selected quote layout
  |image= 
  |text=
  |author=
  |link= <!-- optional -->
  |size= <!-- Defaults to 150 -->
  |archive= <!-- if "yes", then the ...Archive/Nominations link will be shown. leave blank to not show it -->
}}
* Or
{{Portal selected quote layout
  |version= two
  |link= <!-- read more link, only 'needed' if using v2 -->
  |image= 
  |caption=
  |quote=
  |detail=
  |author=
  |link= <!-- optional -->
  |size= <!-- Defaults to 70 -->
}}

TemplateData

Replacement for portal specific quote templates

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Versionversion

Template version to use

Default
2
Example
version=2
Unknownoptional
Imageimage

Image to use

Default
Noflag2.svg
Example
image=Foo.png
Filesuggested
Sizesize

Size of image

Default
150px (v1) 70px (v2)
Example
size=100px
Stringoptional
Captioncaption

Caption for image

Default
(empty)
Example
caption=Loren Ipsum...
Stringoptional
Quotequote

no description

Unknownoptional
Linklink

Wikilink for full text ("Read more...")

Default
(empty)
Example
link=Mark Twain
Pagesuggested
Detaildetail

no description

Unknownoptional
Texttext

Text of the quote

Default
(none)
Example
text=Rumors of my death have been greatly exaggerated.
Stringsuggested
Authorauthor

Author of the quote

Default
(empty)
Example
author=[[Mark Twain]]
Pagesuggested
Archivearchive

Whether to show the Archive/Nominations link

Default
no
Example
archive=yes
Booleanoptional