Difference between revisions of "Template:Portal selected quote layout/doc"
Jump to navigation
Jump to search
test>AfroThundr3007730 (Restoring original content) |
test>AfroThundr3007730 (pre) |
||
| Line 7: | Line 7: | ||
* Additional layouts can be added on request. | * Additional layouts can be added on request. | ||
== Layout template == | == Layout template == | ||
| + | <pre> | ||
{{Portal selected quote layout | {{Portal selected quote layout | ||
|image= | |image= | ||
| Line 27: | Line 28: | ||
|size= <!-- Defaults to 70 --> | |size= <!-- Defaults to 70 --> | ||
}} | }} | ||
| − | + | </pre> | |
===TemplateData=== | ===TemplateData=== | ||
Revision as of 23:02, 3 June 2018
| This is a documentation subpage for Template:Portal selected quote layout. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Version | version | Template version to use
| Unknown | optional |
| Image | image | Image to use
| File | suggested |
| Size | size | Size of image
| String | optional |
| Caption | caption | Caption for image
| String | optional |
| Quote | quote | no description | Unknown | optional |
| Link | link | Wikilink for full text ("Read more...")
| Page | suggested |
| Detail | detail | no description | Unknown | optional |
| Text | text | Text of the quote
| String | suggested |
| Author | author | Author of the quote
| Page | suggested |
| Archive | archive | Whether to show the Archive/Nominations link
| Boolean | optional |