Template:Quote/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search

Examples

Code Result
{{Quote|text=Now is the winter of our discontent made glorious summer by this sun of York}}
Now is the winter of our discontent made glorious summer by this sun of York
{{Quote
title=Opening lines of Richard IIItext=Now is the winter of our discontent made glorious summer by this sun of York}}
Opening lines of Richard III
Now is the winter of our discontent made glorious summer by this sun of York
{{Quote
title=Opening lines of Richard IIIauthor=William Shakespearetext=Now is the winter of our discontent made glorious summer by this sun of York}}
Opening lines of Richard III
Now is the winter of our discontent made glorious summer by this sun of York
― William Shakespeare
{{Quote
title=Opening lines of Richard IIIauthor=William Shakespeareauthorpage=wikipedia:William Shakespearetext=Now is the winter of our discontent made glorious summer by this sun of York}}
Opening lines of Richard III
Now is the winter of our discontent made glorious summer by this sun of York
{{Quote
author=William Shakespeareauthorpage=wikipedia:William Shakespearetext=Now is the winter of our discontent made glorious summer by this sun of York}}
Now is the winter of our discontent made glorious summer by this sun of York

Dependencies

For this template to work properly, you need the following:

Template data (for Visual Editor)

{ "params": { "title": { "label": "Title", "description": "If the quote has a title, put it here.", "example": "Richard III's soliloquy", "type": "line" }, "text": { "label": "Quoted Text", "description": "The quoted text to be displayed.", "example": "Now is the winter of our discontent made glorious summer by this sun of York", "type": "string", "required": true }, "author": { "label": "Quote's Author", "description": "The author of the displayed quote.", "example": "William Shakespeare", "type": "line", "suggested": true }, "authorpage": { "label": "Author's Page", "description": "If the quote's author has a page on the Wiki, put the page name here.", "example": "William Shakespeare (playwright)", "type": "wiki-page-name", "suggested": true } }, "description": "This template creates a styled block element for quotes.", "paramOrder": [ "text", "author", "authorpage", "title" ], "format": "block" }