Template:Blockquote/doc: Difference between revisions
Appearance
Created template documentation. |
m Updated documentation for date field. |
||
| Line 6: | Line 6: | ||
:<code><nowiki>color</nowiki></code> - the color of left border, either <code>grey</code> (default), <code>blue</code>, <code>red</code>, or <code>yellow</code> | :<code><nowiki>color</nowiki></code> - the color of left border, either <code>grey</code> (default), <code>blue</code>, <code>red</code>, or <code>yellow</code> | ||
:<code><nowiki>title</nowiki></code> '''(optional)''' - the title of the code block, which will be displayed bolded in a separate line | :<code><nowiki>title</nowiki></code> '''(optional)''' - the title of the code block, which will be displayed bolded in a separate line | ||
:<code><nowiki>date</nowiki></code> '''(optional)''' - the date of the code block, which will be displayed italicized in a separate line | |||
:<code><nowiki>text</nowiki></code> - the contents of the block quote | :<code><nowiki>text</nowiki></code> - the contents of the block quote | ||
| Line 13: | Line 14: | ||
| color = | | color = | ||
| title = | | title = | ||
| text | | date = | ||
| text = | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 38: | Line 40: | ||
| color = yellow | | color = yellow | ||
| title = Template:Blockquote | | title = Template:Blockquote | ||
| date = April 1, 2021 | |||
| text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources. | | text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources. | ||
}} | }} | ||
| Line 45: | Line 48: | ||
| color = yellow | | color = yellow | ||
| title = Template:Blockquote | | title = Template:Blockquote | ||
| date = April 1, 2021 | |||
| text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources. | | text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources. | ||
}} | }} | ||
Latest revision as of 17:38, 1 April 2021
Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources.
Parameters
color- the color of left border, eithergrey(default),blue,red, oryellowtitle(optional) - the title of the code block, which will be displayed bolded in a separate linedate(optional) - the date of the code block, which will be displayed italicized in a separate linetext- the contents of the block quote
Source
{{Blockquote
| color =
| title =
| date =
| text =
}}
Examples
| Code | Result |
|---|---|
{{Blockquote
| text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources.
}}
|
|
{{Blockquote
| color = yellow
| title = Template:Blockquote
| date = April 1, 2021
| text = Creates a block quote, useful for highlighting blocks of text that quote contents (with permission) from other sources.
}}
|
|