Template: Quote: Difference between revisions
nicer font for quotation marks |
No edit summary |
||
| Line 1: | Line 1: | ||
<blockquote class="templatequote"><p>{{{1|Enter quoted text as first parameter}}}</p>{{#if:{{{2<includeonly>|</includeonly>}}}|<div class="templatequotecite"><cite>—{{{2<noinclude>|Enter source as second parameter</noinclude>}}}</cite></div>}} | |||
</blockquote><noinclude> | |||
{{#if:{{{2<includeonly>|</includeonly>}}}|<div | <!-- | ||
/* Quote template CSS in common.css */ | |||
blockquote.templatequote { display:table; margin:1em 0; padding:0; position:relative; } | |||
blockquote.templatequote:before, blockquote.templatequote:after { position:absolute; top:0; height:1em; color:#DDDDDD; font:normal bold 3.5em 'Times New Roman',Times,serif; line-height:0.75em; } | |||
blockquote.templatequote:before { left:0; content:open-quote; } | |||
blockquote.templatequote:after { right:0; content:close-quote; } | |||
blockquote.templatequote p { display:block; margin:0 3em 0 2.5em; text-align:justify; font-style:italic; } | |||
blockquote.templatequote p i { font-style:normal; } | |||
div.templatequotecite { text-align:left; margin:0.5em 2.5em; } | |||
div.templatequotecite cite { font-style:normal; } | |||
--> | |||
==Usage== | ==Usage== | ||
===Enter=== | |||
<code><nowiki>{{</nowiki>quote| Quoted text | Quote by<nowiki>}}</nowiki></code> | |||
===Example=== | |||
<code><nowiki>{{</nowiki>quote|Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the watcher on the walls. I am the fire that burns against the cold, the light that brings the dawn, the horn that wakes the sleepers, the shield that guards the realms of men. I pledge my life and honor to the <nowiki>[[Night's Watch]]</nowiki>, for this night and all the nights to come. |Oath of the <nowiki>[[Night's Watch]]}}</nowiki></code> | |||
===Results=== | |||
{{quote|Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the watcher on the walls. I am the fire that burns against the cold, the light that brings the dawn, the horn that wakes the sleepers, the shield that guards the realms of men. I pledge my life and honor to the [[Night's Watch]], for this night and all the nights to come. |Oath of the [[Night's Watch]]}} | |||
==See Also== | ==See Also== | ||
| Line 13: | Line 26: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[ru:Шаблон:Цитата]]</noinclude> | [[ru:Шаблон:Цитата]] | ||
</noinclude> | |||
Revision as of 16:16, 15 May 2018
Enter quoted text as first parameter
—Enter source as second parameter
Usage
Enter
{{quote| Quoted text | Quote by}}
Example
{{quote|Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the watcher on the walls. I am the fire that burns against the cold, the light that brings the dawn, the horn that wakes the sleepers, the shield that guards the realms of men. I pledge my life and honor to the [[Night's Watch]], for this night and all the nights to come. |Oath of the [[Night's Watch]]}}
Results
Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the watcher on the walls. I am the fire that burns against the cold, the light that brings the dawn, the horn that wakes the sleepers, the shield that guards the realms of men. I pledge my life and honor to the Night's Watch, for this night and all the nights to come.
—Oath of the Night's Watch