Template:Csref/doc

From English Wikipedia @ Freddythechick

Usage

This template is wrapper around {{cite book}} and can take all the parameters that {{cite book}} can.

In addition there are two non-standard parameters

  • <syntaxhighlight lang="text" class="" style="" inline="1">pd=no</syntaxhighlight>—if set means no public domain attribution prescript. This is only to be set if no text is copied from the country code book.
  • <syntaxhighlight lang="text" class="" style="" inline="1">country=</syntaxhighlight><syntaxhighlight lang="text" class="" style="" inline="1">value</syntaxhighlight>—where the value can be any of the following names (all letters in lowercase and with spaces):
albania; algeria; angola; armenia; austria
bahrain; bangladesh; barbados; belarus; belize; bhutan; bolivia; brazil; bulgaria
cambodia; chad; chile; china; colombia; comoros; caribbean; cyprus; czechoslovakia
dominican republic
ecuador; egypt; el salvador; estonia
germany; ghana; guyana
hungary
india; indonesia; ivory coast
japan; jamaica
kazakstan; kyrgyzstan; kuwait
laos; latvia; the leeward islands; lithuania
madagascar; maldives; mauritius; moldova; mongolia
nepal; north korea
oman
pakistan; paraguay; philippines; poland
qatar
romania; russia
seychelles; singapore; soviet union; sri lanka
tajikistan; the leeward islands; the northern islands; the windward islands; thailand; tobago; trinidad; turkmenistan
united arab emirates; uruguay; uzbekistan
vietnam
the windward islands

Examples

Example with <syntaxhighlight lang="text" class="" style="" inline="1">author</syntaxhighlight>:

  • <syntaxhighlight lang="wikitext">Public Domain This article incorporates text from this source, which is in the public domain. Rex A. Hudson (1989). "Labor". In Hanratty, Dennis M. (ed.). Ecuador: A country study. Federal Research Division, Library of Congress. LCCN 91009494.</syntaxhighlight>
  • Public Domain This article incorporates text from this source, which is in the public domain. Rex A. Hudson (1989). "Labor". In Hanratty, Dennis M. (ed.). Ecuador: A country study. Federal Research Division, Library of Congress. LCCN 91009494.


Example with <syntaxhighlight lang="text" class="" style="" inline="1">first</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">last</syntaxhighlight>

Example with <syntaxhighlight lang="text" class="" style="" inline="1">pd</syntaxhighlight> set

Example with<syntaxhighlight lang="text" class="" style="" inline="1">country</syntaxhighlight> parameter that does not match any of the options (including case):


Example without <syntaxhighlight lang="text" class="" style="" inline="1">country</syntaxhighlight> parameter:

  • <syntaxhighlight lang="wikitext">{{Csref|country=Missing or empty}}</syntaxhighlight>
  • {{Csref|country=Missing or empty}}

External links