Difference between revisions of "Template:Quote"

From Critiques Of Libertarianism
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly>
+
<includeonly>[[Category:Quotations]][[Category:{{BASEPAGENAME}}]]<blockquote>{{{text|Error: No text for quotation in [[ {{{%TITLE%}}}} ]] }}}<br><cite>{{{cite|Error: No cite for quotation in [[ {{{%TITLE%}}} ]] }}}</cite></blockquote>
[[Category:Quotations]]
+
</includeonly><noinclude>== Usage ==
[[Category:{{SUBPAGENAME}}]]
+
<code><nowiki>
</includeonly>
+
{{Quote | text = something | cite = where it came from}}
<noinclude>== Usage ==
+
</nowiki></code>
<nowiki>{{Quote</nowiki>
+
<nowiki>| text = something</nowiki>
+
<nowiki>| cite = where it came from</nowiki>
+
<nowiki>
+
}}</nowiki>
+
This template is primarily a metadata template for quotations.  It also adds the quotation to <nowiki>[[Category:Quotations]] and [[Category:{{BASEPAGENAME}}]]</nowiki>.
+
  
It should only be used in quotation subpages.
+
All quotations should use this template.  It should only be used in quotation subpages.
  
See: [[Template:Quotes]], [[Template:Quotes.dpl]], [[Template:Quotes.dpl.default]], [[Template:OneQuote]], [[Template:OneQuote.dpl]], and [[Template:OneQuote.dpl.default]].
+
This template is primarily a metadata template.  It adds the transcluding page to [[:Category:Quotations]] and to the category with the name of the base page. Other categories are then added as needed.
 +
 
 +
Warning: transcluding a quotation subpage means transcluding this template and its categorizations, which should not be done.  Display quotations with a safe method based on DPL such as the following:
 +
 
 +
[[Template:Quotes]], [[Template:QuoteText]] and [[Template:QuoteCite]].
 
</noinclude>
 
</noinclude>

Latest revision as of 12:38, 8 November 2010