Difference between revisions of "Editing"

From Critiques Of Libertarianism
Jump to: navigation, search
(Quotations)
(Quotations)
 
Line 38: Line 38:
 
A major objective is to make lists of quotations from authors, books and other sources and categorize them by author, index (subject), and book (or other publication.)  Quotations are available in lists (with [[Template:Quotes]] or singly (with [[Template:QuoteText]] and [[Template:QuoteCite]].)  
 
A major objective is to make lists of quotations from authors, books and other sources and categorize them by author, index (subject), and book (or other publication.)  Quotations are available in lists (with [[Template:Quotes]] or singly (with [[Template:QuoteText]] and [[Template:QuoteCite]].)  
  
Each quotation should be hidden as a subpage of an author, book or other source.  The subpage would not normally be viewed by readers.  One category, [[:Category:Quotations]], is automatically inserted from the parent page, and the others should be manually inserted.  If there is a choice between the subpage of a source versus the subpage of a person, choose the former.  As many subject categories as wanted can be added.
+
Each quotation should be hidden as a subpage of an author, book or other source.  The subpage would not normally be viewed by readers.  Instead, quotations are normally read either as collections in a category (with [[Template:Quotes]]) or inserted in text (with other templates.)  [[Template:Quote]] automatically places quotes in two categories: [[:Category:Quotations]] and a category for the base page.  Other categories should be manually inserted.  If there is a choice between the subpage of a source versus the subpage of a person, choose the former.  As many subject categories as wanted can be added.
  
Quotations have a text and a citation which are set with a metadata template.  DPL is used to extract this information.
+
Quotations have a text and a citation which are set with a metadata template.  DPL is used to extract this information.  Quotation pages should never be transcluded because that would also transclude the [[Template:Quote]] and its categorizations.
  
To add a quote, Use [[Template:Quote]] to add a quote:
+
To add a quote, use [[Template:Quote]]:
  
 
<code>
 
<code>
 
<nowiki>
 
<nowiki>
{{Quote | text = somebody said something | cite = whoever said it}}.
+
{{Quote | text = something somebody said | cite = whoever said it}}.
 
</nowiki>
 
</nowiki>
 
</code>
 
</code>
Line 66: Line 66:
  
 
To insert a quote on a page, use [[Template:QuoteText]] for the text and [[Template:QuoteCite]] for the citation.  While this isn't the most convenient way, it is the most flexible, since you can put it in quotes, use <nowiki><blockquote></nowiki>, put the citation in a reference, etc.
 
To insert a quote on a page, use [[Template:QuoteText]] for the text and [[Template:QuoteCite]] for the citation.  While this isn't the most convenient way, it is the most flexible, since you can put it in quotes, use <nowiki><blockquote></nowiki>, put the citation in a reference, etc.
 +
 +
For example:
 +
 +
<code>
 +
<nowiki>
 +
Somebody said "{{QuoteText | some quotation}}"<ref>{{QuoteCite | some quotation}}</ref> somewhere.
 +
</nowiki>
 +
</code>
  
 
==Books==
 
==Books==

Latest revision as of 12:56, 8 November 2010