Difference between revisions of "Template:Country study/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{t1" --> "{{tl")
imported>Hike395
(fix documentation (per Talk))
Line 8: Line 8:
 
|country=
 
|country=
 
|abbr=
 
|abbr=
 +
|section=
 +
|author=
 
|editor=
 
|editor=
 
|date=
 
|date=
|section=
 
|author=
 
 
|pd=<!-- yes/no - no removes the notice about pd text -->
 
|pd=<!-- yes/no - no removes the notice about pd text -->
 
}}
 
}}
Line 23: Line 23:
 
{{Loccs|country=|abbr=|section=|date=}}
 
{{Loccs|country=|abbr=|section=|date=}}
 
</pre>
 
</pre>
 +
 +
Note that this template accepts the same parameters {{tl|cite web}}, beyond author, editor, and date.
  
 
=== Examples ===
 
=== Examples ===
Line 29: Line 31:
 
</nowiki>
 
</nowiki>
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz}}
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz}}
No <code>editor</code>
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994}}
 
No <code>author</code>
 
:{{Country study|country= Comoros|abbr=km|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz}}
 
 
No <code>section</code>
 
No <code>section</code>
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|date=1994|editor=Helen Chapin Metz}}
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|date=1994|editor=Helen Chapin Metz}}
Line 39: Line 37:
 
Only required parameters <code>country</code> and <code>abbr</code>. <nowiki>{{Country study|country= Comoros|abbr=km}}</nowiki>
 
Only required parameters <code>country</code> and <code>abbr</code>. <nowiki>{{Country study|country= Comoros|abbr=km}}</nowiki>
 
:{{Country study|country= Comoros|abbr=km}}
 
:{{Country study|country= Comoros|abbr=km}}
 +
With extra <code>edition</code> parameter (inherited from {{tl|cite web}}):
 +
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz |edition=6th}}
 
With <code>pd=no</code>
 
With <code>pd=no</code>
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz|pd=no}}
 
:{{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz|pd=no}}

Revision as of 12:52, 10 April 2019

Usage

{{Country study
|country=
|abbr=
|section=
|author=
|editor=
|date=
|pd=<!-- yes/no - no removes the notice about pd text -->
}}

The abbr parameter is usually the country code top-level domain.

The {{Loccs}} template redirect to this.

{{Loccs|country=|abbr=|section=|date=}}

Note that this template accepts the same parameters {{cite web}}, beyond author, editor, and date.

Examples

All parameters {{Country study|country= Comoros|abbr=km|author=Vincent Ercolano|section=Transportation and Telecommunications|date=1994|editor=Helen Chapin Metz}}

Vincent Ercolano (1994). Helen Chapin Metz (ed.). Comoros: A country study. Federal Research Division. Transportation and Telecommunications. Template:PD-notice

No section

Vincent Ercolano (1994). Helen Chapin Metz (ed.). Comoros: A country study. Federal Research Division. Template:PD-notice

No date

Vincent Ercolano. Helen Chapin Metz (ed.). Comoros: A country study. Federal Research Division. Transportation and Telecommunications. Template:PD-notice

Only required parameters country and abbr. {{Country study|country= Comoros|abbr=km}}

Comoros: A country study. Federal Research Division. Template:PD-notice

With extra edition parameter (inherited from {{cite web}}):

Vincent Ercolano (1994). Helen Chapin Metz (ed.). Comoros: A country study (6th ed.). Federal Research Division. Transportation and Telecommunications. Template:PD-notice

With pd=no

Vincent Ercolano (1994). Helen Chapin Metz (ed.). Comoros: A country study. Federal Research Division. Transportation and Telecommunications.


See also