Difference between revisions of "Template:Bird list header"

From blackwiki
Jump to navigation Jump to search
imported>JerryFriedman
m (experimental (but necessary) changes)
imported>Basar
(update doc, previously stated reference system doesn't work so i changed it)
Line 295: Line 295:
 
'''Family''': [[Passeridae]]
 
'''Family''': [[Passeridae]]
  
Old World sparrows are small passerine birds. In general, sparrows tend to be small plump brownish or greyish birds with short tails and short powerful beaks. Sparrows are seed-eaters, and they also consume small insects.|}}{{ #ifeq: {{{family}}}|references|{{refbegin}}
+
Old World sparrows are small passerine birds. In general, sparrows tend to be small plump brownish or greyish birds with short tails and short powerful beaks. Sparrows are seed-eaters, and they also consume small insects.|}}{{ #ifeq: {{{family}}}|references||}}</includeonly><noinclude>
 
 
{{refend}}|}}</includeonly><noinclude>
 
 
__NOTOC__
 
__NOTOC__
 
{{intricate}}
 
{{intricate}}
Line 309: Line 307:
 
==Use==
 
==Use==
 
Use <nowiki>{{Bird list header|dialect=US|family=Anatidae}}</nowiki> to create a heading for a list of birds. If you would like to add an adendum to show how many birds are in this region, you may type it in after the template normally. Example: <nowiki>{{Bird list header|dialect=US|family=Anatidae}}</nowiki> There are 38 Canadian species. An implemented example may be viewed at [[List of California birds]]. See [[/Code]] for code to copy and paste from and to see a list of currently supported families.
 
Use <nowiki>{{Bird list header|dialect=US|family=Anatidae}}</nowiki> to create a heading for a list of birds. If you would like to add an adendum to show how many birds are in this region, you may type it in after the template normally. Example: <nowiki>{{Bird list header|dialect=US|family=Anatidae}}</nowiki> There are 38 Canadian species. An implemented example may be viewed at [[List of California birds]]. See [[/Code]] for code to copy and paste from and to see a list of currently supported families.
 +
 +
Note: the section edit button has been disabled because of an inherent limitation of using parser functions on headings. The magic word to disable those buttons is a part of the duck family. It is assumed that all pages will include ducks, but if they don't, the magic word can be added to another section too.
  
 
==Dialects==
 
==Dialects==
If you wish to modify some of the text for a particular dialect of English, replace the text with <nowiki>{{ #ifeq: {{{dialect}}}|US|color|{{ #ifeq: {{{dialect}}}|GB|colour|color}}}}</nowiki>. More dialects can be added if necessary by nesting more if statements. The last word "color", in this example, is the default in case the parameter "dialect" is not specified. It will be best to keep the default standardized to one dialect, so US will be used (not that it matters if you specify the dialect).
+
If you wish to modify some of the text for a particular dialect of English, replace the text with <nowiki>{{ #ifeq: {{{dialect}}}|US|color|{{ #ifeq: {{{dialect}}}|GB|colour|color}}}}</nowiki>. More dialects can be added if necessary by nesting more if statements, but this becomes harder as time passes. The last word, "color", in this example is the default in case the parameter "dialect" is not specified. It will be best to keep the default standardized to one dialect, so US will be used (not that it matters if you specify the dialect when using the template).
  
 
==Expansion==
 
==Expansion==
Line 317: Line 317:
  
 
==References==
 
==References==
It is probably a good idea to reference the text now. Since some families will not be transcluded to each page and because references are likely to be duplicated, using the inline Harvard referencing system of [[Hinduism]] is probably best. In text citation can be done with template {{tl|Harvnb}} in the form <nowiki><ref>{{Harvnb|''Last name of author(s)''|''Year''|''Location in the text''}}</ref></nowiki> and the full citation can be given in a references section with template {{tl|Harvard reference}}. The references section can be transcluded like the family headers with <nowiki>{{Bird list header|family=references}}</nowiki>.
+
It is probably a good idea to reference the text now. Since some families will not be transcluded to each page and because references are likely to be duplicated, using the Harvard referencing system is probably best. In-text citation can be done in the form (Hocking 2006) and the full citation can be given in a references section. The references section can be transcluded like the family headers with <nowiki>{{Bird list header|family=references}}</nowiki>.
  
 
==Assistance==
 
==Assistance==
 
You may ask [[User:Basar]] or others for assistance if you would like some part of this template added or expanded and do not know how to yourself.
 
You may ask [[User:Basar]] or others for assistance if you would like some part of this template added or expanded and do not know how to yourself.
 
</noinclude>
 
</noinclude>

Revision as of 05:51, 6 September 2007


Example: {{Bird list header|dialect=US|family=Anatidae}}

Ducks, Geese, and Swans

Order: Anseriformes Family: Anatidae

The family Anatidae includes the ducks and most duck-like waterfowl, such as geese and swans. These are birds that are modified for an aquatic existence with webbed feet, bills which are flattened to a greater or lesser extent, and feathers that are excellent at shedding water due to special oils.

Introduction

This template includes a large amount of heading text that has been throughout hundreds of bird lists. This text has been put in template form for standardization and to make it easier to update.

Use

Use {{Bird list header|dialect=US|family=Anatidae}} to create a heading for a list of birds. If you would like to add an adendum to show how many birds are in this region, you may type it in after the template normally. Example: {{Bird list header|dialect=US|family=Anatidae}} There are 38 Canadian species. An implemented example may be viewed at List of California birds. See /Code for code to copy and paste from and to see a list of currently supported families.

Note: the section edit button has been disabled because of an inherent limitation of using parser functions on headings. The magic word to disable those buttons is a part of the duck family. It is assumed that all pages will include ducks, but if they don't, the magic word can be added to another section too.

Dialects

If you wish to modify some of the text for a particular dialect of English, replace the text with {{ #ifeq: {{{dialect}}}|US|color|{{ #ifeq: {{{dialect}}}|GB|colour|color}}}}. More dialects can be added if necessary by nesting more if statements, but this becomes harder as time passes. The last word, "color", in this example is the default in case the parameter "dialect" is not specified. It will be best to keep the default standardized to one dialect, so US will be used (not that it matters if you specify the dialect when using the template).

Expansion

More families of birds may be added and of course existing entries can be changed and expanded; just carefully follow the format already in place. If a family is added, please add the family to /Code in taxonomic order.

References

It is probably a good idea to reference the text now. Since some families will not be transcluded to each page and because references are likely to be duplicated, using the Harvard referencing system is probably best. In-text citation can be done in the form (Hocking 2006) and the full citation can be given in a references section. The references section can be transcluded like the family headers with {{Bird list header|family=references}}.

Assistance

You may ask User:Basar or others for assistance if you would like some part of this template added or expanded and do not know how to yourself.