Difference between revisions of "Template:Infobox dog breed/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Cavalryman (Amending documentation to that of Template:Infobox dog breed 2) |
||
| Line 3: | Line 3: | ||
{{Lua|Module:Infobox3cols|Module:InfoboxImage}} | {{Lua|Module:Infobox3cols|Module:InfoboxImage}} | ||
| − | {{Infobox dog breed | + | {{Template:Infobox dog breed 2 |
| name = {{{name}}} | | name = {{{name}}} | ||
| image = {{{image}}} | | image = {{{image}}} | ||
| Line 21: | Line 21: | ||
| femaleheight = {{{femaleheight}}} | | femaleheight = {{{femaleheight}}} | ||
| coat = {{{coat}}} | | coat = {{{coat}}} | ||
| − | | | + | | colour = {{{colour}}} |
| litter_size = {{{litter_size}}} | | litter_size = {{{litter_size}}} | ||
| life_span = {{{life_span}}} | | life_span = {{{life_span}}} | ||
| extinct = {{{extinct}}} | | extinct = {{{extinct}}} | ||
| − | | | + | | notrecognised = {{{notrecognised}}} |
| landrace = {{{landrace}}} | | landrace = {{{landrace}}} | ||
| + | | kc_name = KC name | ||
| + | | kc_std = {{{kc_std}}} | ||
| + | | kc2_name = 2nd KC name | ||
| + | | kc2_std = {{{kc2_std}}} | ||
| fcistd = {{{fcistd}}} | | fcistd = {{{fcistd}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| note = {{{note}}} | | note = {{{note}}} | ||
}} | }} | ||
| − | |||
== Blank template == | == Blank template == | ||
<pre style="overflow:auto; white-space:pre;"> | <pre style="overflow:auto; white-space:pre;"> | ||
| − | {{Infobox dog breed | + | {{Template:Infobox dog breed 2 |
| − | | name | + | | name = |
| − | | image | + | | image = |
| − | | image_alt = | + | | image_alt = |
| − | | image_caption = | + | | image_caption = |
| − | | image2 | + | | image2 = |
| − | | image_alt2 = | + | | image_alt2 = |
| image_caption2 = | | image_caption2 = | ||
| − | | altname | + | | altname = |
| − | | nickname = | + | | nickname = |
| − | | stock = | + | | stock = |
| − | | country | + | | country = |
| − | |||
<!-----Traits-----> | <!-----Traits-----> | ||
| − | | weight | + | | weight = |
| − | | maleweight | + | | maleweight = |
| − | | femaleweight = | + | | femaleweight = |
| − | | height | + | | height = |
| − | | maleheight | + | | maleheight = |
| − | | femaleheight = | + | | femaleheight = |
| − | | coat | + | | coat = |
| − | | | + | | colour = <!-- or | color = --> |
| − | | litter_size | + | | litter_size = |
| − | | life_span | + | | life_span = |
| − | <!----- | + | <!-----Kennel club standards-----> |
| − | | | + | | kc_name = |
| − | | | + | | kc_std = |
| − | | | + | | kc2_name = <!-- if required for dual-national breeds --> |
| − | + | | kc2_std = | |
| − | + | | fcistd = <!-- if recognised by the FCI --> | |
| − | + | | notrecognised = <!-- or | notrecognized = --> | |
| − | | | + | | extinct = |
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | notrecognized | ||
| − | |||
| − | | extinct | ||
<!-----Notes-----> | <!-----Notes-----> | ||
| − | | note = | + | | note = |
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
| − | * '''<code>name</code>''': Name of the breed (or [[landrace]], [[crossbreed]], [[Canid hybrid|hybrid]], etc.). Should agree with article title (aside from any parenthetical disambiguation | + | * '''<code>name</code>''': Name of the breed (or [[landrace]], [[crossbreed]], [[Canid hybrid|hybrid]], etc.). Should agree with article title (aside from any parenthetical disambiguation). |
| − | * '''<code>image</code>''': The name of the image | + | * '''<code>image</code>''': The name of the image. |
| − | :* Check [[Commons:Category:Dogs|Commons]] for appropriate photos | + | :* Check [[Commons:Category:Dogs|Commons]] for appropriate photos. |
| − | + | :* There is also '''<code>image2</code>''' with corresponding parameters. | |
| − | |||
| − | :* There is also '''<code>image2</code>''' with corresponding parameters | ||
* '''<code>image_alt</code>''': Alternate text to describe an image to those that cannot see it. | * '''<code>image_alt</code>''': Alternate text to describe an image to those that cannot see it. | ||
:* If an image is included, [[alt text]] should be provided using ''image_alt''. Alt text should not repeat the caption; instead, it should describe the image to someone who can't see it (see [[WP:ALT]]). | :* If an image is included, [[alt text]] should be provided using ''image_alt''. Alt text should not repeat the caption; instead, it should describe the image to someone who can't see it (see [[WP:ALT]]). | ||
| − | * '''<code>image_caption</code> | + | * '''<code>image_caption</code>''': A caption that describes the image. |
| − | |||
* '''<code>altname</code>''': Other names by which the breed is known by English speakers. | * '''<code>altname</code>''': Other names by which the breed is known by English speakers. | ||
| − | |||
| − | |||
| − | * '''<code>nickname</code>''': Common nicknames | + | * '''<code>nickname</code>''': Common nicknames. |
| − | |||
| − | |||
| − | *{{anchor|stock}}'''<code>stock</code>''': List of [[foundation stock]] | + | *{{anchor|stock}}'''<code>stock</code>''': List of [[foundation stock]], [[breed]]s, [[landrace]]s, or other populations from which the breed was developed. |
| − | |||
* '''<code>country</code>''': Country of origin, preferably at time of origin to avoid squabbling over current political boundaries. | * '''<code>country</code>''': Country of origin, preferably at time of origin to avoid squabbling over current political boundaries. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | :* ''''' | + | ;Traits |
| − | : | + | * '''<code>weight</code>''': The general weight range |
| − | : | + | * '''<code>maleweight</code>''': The weight range of males |
| − | + | * '''<code>femaleweight</code>''': The weight range of females | |
| + | * '''<code>height</code>''': The general height range | ||
| + | * '''<code>maleheight</code>''': The height range of males | ||
| + | * '''<code>femaleheight</code>''': The height range of females | ||
| + | * '''<code>coat</code>''': The coat type | ||
| + | * '''<code>colour</code>''' or '''<code>color</code>''': Use one only not both. The color/colour as per [[Wikipedia:Manual of Style#National varieties of English]]. | ||
| + | * '''<code>litter_size</code>''': The range in size of a litter | ||
| + | * '''<code>life_span</code>''': The range in life span in years | ||
| − | + | ;Kennel club standards | |
| − | + | * '''<code>kc_name</code>''': The name of the national [[kennel club]] of the breed’s country of origin | |
| − | + | :* Link to a article if it exists then pipe the club’s acronym | |
| − | + | :* There is also a '''<code>kc2_name</code>''' and '''<code>kc3_name</code>''' if more than one country claims the breed. | |
| − | + | * '''<code>kc_std</code>''': The URL to the breed standard from that kennel club(s). | |
| − | + | * '''<code>fcistd</code>''': If the breed is recognised by the [[Fédération Cynologique Internationale|FCI]], add the URL to the FCI breed standard. | |
| − | + | * {{anchor|note}}'''<code>notes</code>''': Free-form {{em|concise}} comments, usually about the breed recognition or standards. | |
| − | + | * '''<code>notrecogni<u>s</u>ed=yes</code>''' or '''<code>notrecogni<u>z</u>ed=yes</code>''': Shows a "Not recognis(z)ed by any major kennel club. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | :* | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
*'''<code>extinct=yes</code>''': Shows an "[[Extinction|Extinct]]" message. This parameter should be removed if not used. | *'''<code>extinct=yes</code>''': Shows an "[[Extinction|Extinct]]" message. This parameter should be removed if not used. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | = | + | ;Special parameter: |
| − | + | *'''<code>trinomial=</code>''': Replaces [[domestic dog]] with custom text. Italics and wikilinks must be done manually in the supplied parameter value. Entirely wild populations like the [[Australian dingo]], use {{tlx|Taxobox}}, not {{tnull|Infobox dog breed}}. This parameter should not be used with {{para|x}}. If in the future we need to indicate a dingo-and-something-else hybrid that is actually treated as a dog breed, we can use {{para|trinomial}} for this, or change the template. | |
== Microformat == | == Microformat == | ||
| Line 292: | Line 123: | ||
* [[Wikipedia:WikiProject Dogs]] | * [[Wikipedia:WikiProject Dogs]] | ||
| − | <includeonly>{{ | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Dog templates| ]] | [[Category:Dog templates| ]] | ||
Revision as of 23:43, 22 June 2020
| This is a documentation subpage for Template:Infobox dog breed. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Blank template
{{Template:Infobox dog breed 2
| name =
| image =
| image_alt =
| image_caption =
| image2 =
| image_alt2 =
| image_caption2 =
| altname =
| nickname =
| stock =
| country =
<!-----Traits----->
| weight =
| maleweight =
| femaleweight =
| height =
| maleheight =
| femaleheight =
| coat =
| colour = <!-- or | color = -->
| litter_size =
| life_span =
<!-----Kennel club standards----->
| kc_name =
| kc_std =
| kc2_name = <!-- if required for dual-national breeds -->
| kc2_std =
| fcistd = <!-- if recognised by the FCI -->
| notrecognised = <!-- or | notrecognized = -->
| extinct =
<!-----Notes----->
| note =
}}
Parameters
name: Name of the breed (or landrace, crossbreed, hybrid, etc.). Should agree with article title (aside from any parenthetical disambiguation).
image: The name of the image.
- Check Commons for appropriate photos.
- There is also
image2with corresponding parameters.
image_alt: Alternate text to describe an image to those that cannot see it.
image_caption: A caption that describes the image.
altname: Other names by which the breed is known by English speakers.
nickname: Common nicknames.
stock: List of foundation stock, breeds, landraces, or other populations from which the breed was developed.
country: Country of origin, preferably at time of origin to avoid squabbling over current political boundaries.
- Traits
weight: The general weight rangemaleweight: The weight range of malesfemaleweight: The weight range of femalesheight: The general height rangemaleheight: The height range of malesfemaleheight: The height range of femalescoat: The coat typecolourorcolor: Use one only not both. The color/colour as per Wikipedia:Manual of Style#National varieties of English.litter_size: The range in size of a litterlife_span: The range in life span in years
- Kennel club standards
kc_name: The name of the national kennel club of the breed’s country of origin
- Link to a article if it exists then pipe the club’s acronym
- There is also a
kc2_nameandkc3_nameif more than one country claims the breed.
kc_std: The URL to the breed standard from that kennel club(s).fcistd: If the breed is recognised by the FCI, add the URL to the FCI breed standard.notes: Free-form concise comments, usually about the breed recognition or standards.notrecognised=yesornotrecognized=yes: Shows a "Not recognis(z)ed by any major kennel club.extinct=yes: Shows an "Extinct" message. This parameter should be removed if not used.
- Special parameter
trinomial=: Replaces domestic dog with custom text. Italics and wikilinks must be done manually in the supplied parameter value. Entirely wild populations like the Australian dingo, use{{Taxobox}}, not{{Infobox dog breed}}. This parameter should not be used with|x=. If in the future we need to indicate a dingo-and-something-else hybrid that is actually treated as a dog breed, we can use|trinomial=for this, or change the template.
Microformat
See also