Jump to content

Template:Portal selected quote layout/doc

From Wikipedia, the free encyclopedia

Usage

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

Layout template

[edit]
{{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

[edit]

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
Page namesuggested
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]]
Page namesuggested
Archivearchive

Whether to show the Archive/Nominations link

Default
no
Example
archive=yes
Booleanoptional